Hello, I am trying my hand at Org Babel as I am very excited about its potential. Particularly, I am interested in generating LaTeX (and HTML, XML, etc.) from an .org file which contains R code (and Python, SQL, etc.). Though I typically use Sweave for the purpose of incorporating R with LaTeX, the export and multiple language options with Org Mode intrigue me.
My problem occurs while using foo.org from: http://orgmode.org/worg/org-contrib/babel/uses.php#foo I am able to generate foo.tex, however it will not compile to PDF given: !pdfTeX error: pdflatex (file ./fig2.pdf): PDF inclusion: required page does not exist <0> ==> Fatal error occurred, no output PDF file produced! Looking further into this by running a prompt for every code block, I discovered that fig2.pdf is indeed generated correctly. However, before the completion of the export to foo.tex, file2.pdf is again changed rendering it unusable by LaTeX. This change occurs after line 171; that is, after figure two is generated, but before the next example in foo.org occurs: #+begin_src R :exports none options(scipen=10) #+end_src Removing everything after line 171 results in a correct PDF (sans the remaining examples, naturally). I cannot seem to pin it to one particular R chunk. I would like to generate the example PDF in its entirety. Any suggestions or thoughts? Thank you, G. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode