Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-15 Thread William Henney
Hi Eric On Mon, Jun 14, 2010 at 4:46 PM, Eric Schulte schulte.e...@gmail.com wrote: Great, thanks for hunting this down, I've changed org-babel-latex.el to call the function you mentioned above and everything appears to be working. I confirm that org-babel export of latex snippets to pdf now

[Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread William Henney
Hi all If I have a snippet like so: #+begin_src latex :file foo.png Hello from org-babel! #+end_src then I can execute the source block with no problems, producing the image foo.png. However, if I change the filename to foo.pdf then it no longer works. An intermediate .tex file is produced

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread Eric Schulte
typo in my previous mail -- see below Eric Schulte schulte.e...@gmail.com writes: [...] (setq org-export-latex-default-packages-alist '(( inputenc) (T1 fontenc t) ( fixltx2e nil) ( graphicx t) ( longtable nil) ( float nil) ( wrapfig

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread William Henney
Hi Eric Thanks for your response On Mon, Jun 14, 2010 at 1:17 PM, Eric Schulte schulte.e...@gmail.com wrote: Your code snippet exports as expected for me using the latest version of Org-mode. What values do you have set for the  `org-export-latex-default-packages-alist' and  

Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-14 Thread Eric Schulte
William Henney when...@gmail.com writes: Hi Eric Thanks for your response On Mon, Jun 14, 2010 at 1:17 PM, Eric Schulte schulte.e...@gmail.com wrote: Your code snippet exports as expected for me using the latest version of Org-mode. What values do you have set for the  

Re: [Orgmode] Org Babel Bug

2010-02-11 Thread Ian Barton
Hi Eric, I have been away from my own computer for a while. I have just applied the patch and it works for me. Thanks! Ian. Since the patch below greatly simplifies the code, and it has worked in all my tests, I'm going to apply it now. Please do let me know if the export problems persist.

[Orgmode] Org Babel Bug

2010-02-09 Thread Ian Barton
I am using Babel to maintein my .emacs file. When I try to publish I am getting a Babel error from one of my org files. The offending section of the org file seems to be: #+BEGIN_SRC emacs-shell 127.0.0.1 mail.wilkesley.org localhost # The following lines are desirable for IPv6 capable

Re: [Orgmode] Org Babel Bug

2010-02-09 Thread Dan Davison
Ian Barton li...@manor-farm.org writes: I am using Babel to maintein my .emacs file. When I try to publish I am getting a Babel error from one of my org files. The offending section of the org file seems to be: #+BEGIN_SRC emacs-shell Hi Ian, I don't think org-babel supports a language

Re: [Orgmode] Org Babel Bug

2010-02-09 Thread Eric Schulte
Hi Ian, The implementation of our block exportation has been bothering me for some time now. The attached patch *greatly* simplifies the exportation code. Could you please give it a try and let me know if it fixes your bug? If so I will apply it to the main repository. Thanks -- Eric diff

Re: [Orgmode] Org Babel Bug

2010-02-09 Thread Dan Davison
Dan Davison davi...@stats.ox.ac.uk writes: Ian Barton li...@manor-farm.org writes: I am using Babel to maintein my .emacs file. When I try to publish I am getting a Babel error from one of my org files. The offending section of the org file seems to be: #+BEGIN_SRC emacs-shell Hi Ian,

Re: [Orgmode] Org Babel Bug

2010-02-09 Thread Eric Schulte
Hi, Since the patch below greatly simplifies the code, and it has worked in all my tests, I'm going to apply it now. Please do let me know if the export problems persist. Best -- Eric Eric Schulte schulte.e...@gmail.com writes: Hi Ian, The implementation of our block exportation has been