Am 02.09.2016 um 15:12 schrieb Eric S Fraga: > Can you post an actual org test file as an attachment? And also the > resulting LaTeX file on export?
Hey, sorry for the late reply. I tried to reproduce the problem firstly using emacs -Q but it worked like that. After some bisect debugging I found out that setting (setq org-latex-pdf-process '("latexmk -f -pdf %f")) triggered the error. But the usual latex process also causes the error, but gives the error message Processing LaTeX file ./test2.tex... PDF file produced with errors. and continues. You have no errors using that snippet? Can you compile ther resulting tex file using auctex or the latexmk command above? And why does latexmk -f does not continue despite the error? That's what the -f option should do? I want to use latexmk to include also bibtex generation. Ok, after some debugging and bisecting my .emacs, org-export-preserve-breaks t seems to cause the faulty export. Best, Florian