Re: [O] org-review-schedule

2014-04-25 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: I changed the date. As I signed the FSF paper, do I need to change the name as well and put mine? For contrib/ directory, you can assign copyright to your name. I attach the new version. Thanks. A few minor comments follow. I

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-25 Thread Bastien
Hi Leonard, I just fixed this in maint -- please let me know if it works back as expected. Thanks, -- Bastien

Re: [O] org-review-schedule

2014-04-25 Thread Alan Schmitt
Hi Nicolas, Thanks a lot for these very helpful comments. I'll take them into account. I have a couple questions of my own now. On 2014-04-25 08:51, Nicolas Goaziou n.goaz...@gmail.com writes: I would like to propose to add this to the contrib directory, but I don't know the procedure to

Re: [O] [RFC] Org Minor Mode?

2014-04-25 Thread Thorsten Jolitz
Ilya Shlyakhter ilya_...@alum.mit.edu writes: Hi Ilya, On 4/10/2014 3:19 PM, Nicolas Goaziou wrote: I don't see why you would need the full power of Org-mode (whatever that means) in mere comments. There are actually many uses, especially if it becomes possible to treat language elements

Re: [O] Exporting to LaTeX Beamer

2014-04-25 Thread Eric S Fraga
On Friday, 25 Apr 2014 at 04:38, Uwe Ziegenhagen wrote: Hi, I am trying to export an org file to individual Beamer frames but fail as Org mode exports the sections, but not the frames. Use H:2 option instead of H:3 (in the #+OPTIONS line). This setting tells the exporter which level of

Re: [O] [RFC] Org Minor Mode?

2014-04-25 Thread Thorsten Jolitz
Ilya Shlyakhter ilya_...@alum.mit.edu writes: On 4/19/2014 8:57 AM, Bastien wrote: Hi Thorsten, Thorsten Jolitz tjol...@gmail.com writes: In summary, its about: 1. generalize the regexp constants and vars (allow for comment-syntax, when org-minor-mode) 2. deal with hardcoded

Re: [O] org-review-schedule

2014-04-25 Thread Nicolas Goaziou
Alan Schmitt alan.schm...@polytechnique.org writes: I guess I should have asked: who decides what goes in contrib? The Org maintainer. Another option is to turn it into an ELPA package. Is this mature/useful enough to be included? If so, I'll edit these as you suggest. It seems useful.

Re: [O] [babel] Setting python interpreter version on per-block or per-subtree basis

2014-04-25 Thread Ian Barton
Is there an easy way to specify the python version to use for a particular block or sub-tree? My use case is that I have mainly migrated to python 3, but there is still the occasional library that has not been updated yet, so I need to fall back to python 2.7 for some tasks. I can work around

Re: [O] Exporting to LaTeX Beamer

2014-04-25 Thread Uwe Ziegenhagen
Eric S Fraga e.fraga at ucl.ac.uk writes: On Friday, 25 Apr 2014 at 04:38, Uwe Ziegenhagen wrote: Hi, I am trying to export an org file to individual Beamer frames but fail as Org mode exports the sections, but not the frames. Use H:2 option instead of H:3 (in the #+OPTIONS line).

Re: [O] Exporting to LaTeX Beamer

2014-04-25 Thread Eric S Fraga
On Friday, 25 Apr 2014 at 09:37, Uwe Ziegenhagen wrote: Eric S Fraga e.fraga at ucl.ac.uk writes: On Friday, 25 Apr 2014 at 04:38, Uwe Ziegenhagen wrote: Hi, I am trying to export an org file to individual Beamer frames but fail as Org mode exports the sections, but not the frames.

[O] image attributes in ODT export for wrapped text possible?

2014-04-25 Thread Eric S Fraga
Hello, I (for my sins) am needing to export an org document to ODT unlike my usual target of PDF via LaTeX. One of my figures is ideally placed by having text wrap (flow) around it. Having looked at ox-odt.el, I can see that I can specify values for :anchor, :style and :attributes but I have no

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-25 Thread Leonard Randall
Hi Bastien, On 25 April 2014 08:29, Bastien b...@gnu.org wrote: I just fixed this in maint -- please let me know if it works back as expected. Yes, now C-RET and the speedkey `i' now function as described in the documentation. The only place where the function differs from the documentation

[O] [PATCH] org.el (org-offer-links-in-entry): Remove code duplication

2014-04-25 Thread Albert Krewinkel
* org.el (org-offer-links-in-entry): Use `org-any-link-re' to avoid code duplication. The `re' variable defined in function `org-offer-links-in-entry' is string-equal to `org-any-link-re' and is hence replaced by the latter. This is a TINYCHANGE. --- lisp/org.el | 7 ++- 1 file changed, 2

[O] [PATCH] org.el: Use `org-any-link-re' to avoid duplication

2014-04-25 Thread Albert Krewinkel
The `re' variable defined in function `org-offer-links-in-entry' is string-equal to `org-any-link-re' and is hence replaced by the latter. --- lisp/org.el | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index ad76e67..741529b 100644 ---

Re: [O] Exporting to LaTeX Beamer

2014-04-25 Thread Uwe Ziegenhagen
How exactly are you trying to export? Your output looks like a plain latex export (M-x org-export-dispatch RET l p), not beamer (... l P)? Note difference in case (p versus P) and similar for export to latex code alone (l or b) and for opening the PDF automatically (o versus O). Got it!

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 Feng Shu
Leu Zhe lzhe...@gmail.com writes: 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

[O] State of the art in citations

2014-04-25 Thread Julian M. Burgos
Dear list, I use org-mode to write scientific papers, exporting mostly to LaTex/pdf (and sometimes to Word via ODT when I have to collaborate with less enlightened colleagues). I keep my references in a .bib file, and so far I have been using bibtex in a more or less standard way, using reftex

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 John Kitchin
This is how I do what I think you are describing. I just take off the extension, and let (pdf)latex pick the extension it wants. (defun ox-manuscript-remove-image-extensions () Removes .png extensions from \includegraphics directives in an exported latex file. Run this from an org-buffer after

[O] What happened to clocktable in pdf export?

2014-04-25 Thread Buddy Butterfly
Hi, what happened to the pdf export of clocktables? After the upgrade to Ubuntu 13.10 (emacs 24.3.1), the clocktable export looks ugly as hell. With the latex headers aligne=l|r etc. and the indentation in the clocktable I got a very nice export before. The lines where also indented and I had

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 John, Thanks very much for your help. I have tried your code but nothing happened. However, I think it is close to my remand. I have some questions about your code: 1. When should this command be called? Don't I need to call it before the org-latex-pdf-process? 2. I use xelatex to

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] python babel not running startup file

2014-04-25 Thread Eric Schulte
Yes, customize the org-babel-python-command variable. Best, Ken Mankoff mank...@gmail.com writes: I have the PYTHONSTARTUP environment variable set to ~/.pythonrc. That file is not run by Org babel. Can anyone recommend how to execute that file, or some other method for customizing all Org

Re: [O] [babel] Setting python interpreter version on per-block or per-subtree basis

2014-04-25 Thread Eric Schulte
The attached patch should allow the specification of the python command through a new :python header argument. E.g., #+begin_src python :python /path/to/python2 return 1 + 2 #+end_src If someone who actually uses python could confirm that it works as expected then I'll be happy to apply it.

Re: [O] python babel not running startup file

2014-04-25 Thread Ken Mankoff
On 2014-04-25 at 11:28, Eric Schulte wrote: Yes, customize the org-babel-python-command variable. Right. I had tried that and it didn't work before I sent the email. This does work: (setq org-babel-python-command python -i /Users/mankoff/.pythonrc) Perhaps I had a typo or other bug with my

Re: [O] State of the art in citations

2014-04-25 Thread Grant Rettke
Is there a sub-group dedicated to this? It is on my TODO list to catch up on the state of the art, too. Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi gret...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become

Re: [O] [babel] Setting python interpreter version on per-block or per-subtree basis

2014-04-25 Thread William Henney
Dear Sacha, Ian, and Eric Thanks very much for your replies. Sacha's way is a clever idea and works fine, but I think Eric's patch is the best solution in the long term. Please see attached test file - the patch works perfectly. Although I did have to study the manual carefully to work out how

Re: [O] run R code block in the background (currently emacs freezes when running code)

2014-04-25 Thread John Hendy
On Thu, Apr 24, 2014 at 12:09 PM, Xebar Saram zelt...@gmail.com wrote: Hi all. how does one send the eval commands to the when running R code blocks to RSS to the background? currently when i evaluate a long code block it freezes Emacs until the process is done. here is an example code block

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 John Kitchin
You first export your org-file to latex. the function I sent assumes the tex file has the same basename as the org-file, and ends in .tex. Then, with your org-file as the current buffer, call that function. It will modify the latex file by replacing your \includegraphics lines with the equivalent

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 Nick Dokos
Leu Zhe lzhe...@gmail.com writes: Dear John, Thanks very much for your help. I have tried your code but nothing happened. However, I think it is close to my remand.  I have some questions about your code: 1. When should this command be called?  Don't I need to call it before the

Re: [O] [babel] Setting python interpreter version on per-block or per-subtree basis

2014-04-25 Thread Eric Schulte
I've just applied this patch. Thanks for the very attached nice test and demonstration file. Best, William Henney when...@gmail.com writes: Dear Sacha, Ian, and Eric Thanks very much for your replies. Sacha's way is a clever idea and works fine, but I think Eric's patch is the best

Re: [O] setting left margin in PDF output of ORG file

2014-04-25 Thread John Hendy
On Thu, Apr 24, 2014 at 5:29 AM, Michael Strey mst...@strey.biz wrote: Hi Dave, Please read http://en.wikipedia.org/wiki/Canons_of_page_construction before changing anything in the layout of margins. The typical LaTeX classes are made thorougly with those classic rules of page construction

Re: [O] setting left margin in PDF output of ORG file

2014-04-25 Thread Martin Schöön
Recommended reading if your are interested in typography: Robert Bringhurst: The Elements of Typographical Style ISBN 0-88179-205-5 Victoria Squire: Getting it Right with Type ISBN-13: 978-1-85669-474-2 Ellen Lupton: thinking with type ISBN 1-56898-448-0 Derek Birdsall: notes on book design ISBN

Re: [O] setting left margin in PDF output of ORG file

2014-04-25 Thread Thomas S. Dye
Bringhurst is very good. Also, good discussions from a LaTeX point of view in Chapters 2 of the Koma-Script and Memoir manuals. On my system, I get these with `texdoc memoir' and `texdoc koma'. hth, Tom Martin Schöön martin.sch...@gmail.com writes: Recommended reading if your are interested

Re: [O] setting left margin in PDF output of ORG file

2014-04-25 Thread Martin Schöön
On 25 April 2014 21:51, Thomas S. Dye t...@tsdye.com wrote: Bringhurst is very good. Also, good discussions from a LaTeX point of view in Chapters 2 of the Koma-Script and Memoir manuals. On my system, I get these with `texdoc memoir' and `texdoc koma'. hth, Tom Both Koma and Memoir

Re: [O] setting left margin in PDF output of ORG file

2014-04-25 Thread Achim Gratz
J. David Boyd writes: However, how do I get rid of the huge left and right and top and bottom margins? I like my PDFs to have no more than .75 top, bottom, left and right. I've looked through all the latex, org-latex, org-beamer variables I can find with customize-apropos, but not having

Re: [O] beamer options on frame

2014-04-25 Thread Sebastien Vauban
Hello Bastien, Bastien wrote: Neal Becker ndbeck...@gmail.com writes: How can I put options that would apply to a frame (e.g., \allowframebreaks)? #+BIND: org-beamer-frame-default-options [allowframebreaks] for allowing frame breaks for the whole document, *** A very long slide

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 John Kitchin
Thanks Nick, for the more helpful explanation than mine ;) The function I provided is part of this file: https://github.com/jkitchin/jmax/blob/master/ox-manuscript.el which I have been working on for publishing scientific manuscripts. This file provides a new export menu option that not only

[O] [PATCH] Fix: Capture abort: (error: The mark is not set now, so there is no region)

2014-04-25 Thread Alex Kosorukoff
I noticed a regression in the capture functionality after upgrading org. Capture fails with error in subj Here is a simple config to reproduce the problem and a patch that fixes it. emacs -q -l capfail.el Best, Alex From ac50a5300e35d7abd5f50317069b2a795fde4ad8 Mon Sep 17 00:00:00 2001 From: