[O] Org-drill edit feature request

2018-12-13 Thread Leu Zhe
Hi, Making drill editing seems be very painful by the current way org-drill offers. I make a lot of notes on most of the drilled entries, as for now, 1). press e (or other key to reveal the collapsed headlines) , e twice to go back to the original buffer. 2) add notes. (Even more keys pressing: if

[O] org-src-window-setup doesn’t show right windows behavior

2018-09-27 Thread Leu Zhe
Dear orgers, When I set the variable to ‘current-window, it still shows in other window, same as the setup to ‘other-window.

[O] No syntax highlight in ledger source block

2017-06-09 Thread Leu Zhe
I cannot make it show syntax highlighting in the org-mode ledger block. It is just shown with plain text. But if I bring it to the edit buffer, it displays the syntax properly. Can anyone help me to trace this problem?

[O] How to make `file+function` to accept an argument in org-capture?

2016-06-17 Thread Leu Zhe
I am starting to write an org-capture template with a `file+function` tag. It works pretty well if I put the function exactly with accordance to the documentation[1]. However, I am trying to make this function to accept an argument to let it find the store place programmably. I did some investigati

[O] Full path figure export to latex

2015-01-28 Thread Leu Zhe
Hi, when I export a full path figure, like: [[file:c:/Users/admin/Desktop/1.png]] to LaTex. Unfortunately I got the result of {//c:/Users/admin/Desktop/1.png}, one more // was generated in front of c:, which is an error in LaTex. How can I solve this problem?

[O] Org-download on windows

2015-01-19 Thread Leu Zhe
Hi, Abo-abo's org-mode is super awesome in my opinion after watching the demo at https://www.youtube.com/watch?v=dAojpHR-6Uo. I can use org-download-yank to yank images from websites, but when i tried to drag and drop the files, it failed. Actually I can drag .el and .org files to emacs to open th

[O] Word under cursor to internal link

2014-12-18 Thread Leu Zhe
You can use the function below to make it. But in order to replace it rightly, you need to put you cursor inside the word or at the beginning of the word. (defun word-to-link () (interactive) (let ((word (thing-at-point 'word))) (forward-word) (kill-word -1) (insert (format "[[%s]]

[O] org-drill bugs?

2014-12-07 Thread Leu Zhe
Dear orgers, Org-drill can set the review time automatically before. However in recent versions, it always popup calendar buffer to set date manually. need help to solve this problem. Thanks

Re: [O] Display image in current section

2014-12-02 Thread Leu Zhe
Dear John, Thanks very much, it works perfect. On Tue, Dec 2, 2014 at 4:19 AM, John Kitchin wrote: > Leu Zhe writes: > > (defun show-images-subtree () > (interactive) > (save-restriction > (org-narrow-to-subtree) > (org-display-inline-images nil t (point-min) (point

[O] Display image in current section

2014-11-30 Thread Leu Zhe
Hi everyone I current use org-mode to organise lots of images in different sections. Sometimes i just would like to display the image in current section, not all the image, because it takes some time to show them all. Any solution? Thanks in advance. llcc

[O] ·Open footnote link definition from reference directly

2014-07-27 Thread Leu Zhe
Hi orgers, I wrote a little snippet below to open footnote link definition directly with a single call. I think it will be very useful when you have a lot of link footnote definitions in you documents. Since I am a newbie to lisp, any advice of improvement will be really appreciate. (defun open-f

[O] org-ref in action

2014-06-24 Thread Leu Zhe
Thanks John, I have been using it for a while. It is a fantastic tool for org-mode to organize the bib. Great thanks again.

[O] org-hidden-keywords not working

2014-06-15 Thread Leu Zhe
I found that by using the org-hidden-keywords can hide the #+titile:, which is a sweet feature. However, since I set the variable to t as '(org-hidden-keywords (quote (author date email title))) in custom file, but it does not work. Did anyone meet this kind of issue? Leu

Re: [O] Preview tikz in org-mode (reduce margins of produced images)

2014-05-20 Thread Leu Zhe
Hi Nick, Thanks you for your help. Finally I found a solution by referring the examples in texample.net. I just replaced the \documentclass{article} to documentclass[varwidth]{standalone}, then it works perfectly. I am not familiar enriched-mode, too. It is also very strange that why i can not

Re: [O] Preview tikz in org-mode (reduce margins of produced images)

2014-05-16 Thread Leu Zhe
Hi ndokos, Thanks for you advice. I added a attachment which matches my problem. Best regards! test.org Description: Binary data

[O] Preview tikz in org-mode (reduce margins of produced images)

2014-05-16 Thread Leu Zhe
Hi, everyone! I always use org-preview-latex-fragment command to preview the LaTeX code, which is awesome. It can effectively crop and suit the size of produced png to the content. However, recently I start to preview some tikz code. I can greatly produce the good results except one problem: The

Re: [O] To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export

2014-04-25 Thread Leu Zhe
Dear Feng Shu, Thanks very much for your help. I am not familiar with R, but I will test it later. Best regards!

Re: [O] To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export

2014-04-25 Thread Leu Zhe
"{\\([^}].*\\)\.\\(png\\)}") > "\\1{\\3}" tex-contents) > > > > > > John > > --- > John Kitchin > Associate Professor > Doherty Hall A207F > Department of Chemical Engi

[O] To interrupt org-latex-pdf-process to regexp-replace some string of the .tex intermediate file and continue to export

2014-04-24 Thread Leu Zhe
I am using org-mode to write some article now. Org-mode is really a great tool to outline a article with great table and image support. Org-mode can display inline .png image but not .pdf file. Because now org-mode can not control the width or height of shown inline image, so i use matplotlib to p

[O] Using font-lock-add-keywords to display caption than various table and images headers

2014-04-23 Thread Leu Zhe
According to the http://stackoverflow.com/questions/22937393/emacs-lisp-prettify-symbols-mode-for-latexby using font-lock-add-keywords, I can display the latin symbols instead of the English word like \alpha without changing the real contents. It is pretty great. Then a good idea came to my brain,