From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Lindner Subject: Re: There is no line to end here at LaTeX org-ref export Date: Mon, 5 Sep 2016 22:55:40 +0200 Message-ID: References: <3972cc9c-6ee5-25eb-a460-50e52eeaa490@xgm.de> <877faw88ec.fsf@gmail.com> <97bdf173ef3049a9871038d52cd55df7@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87lgzaigye.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh0vw-0001yW-Cm for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 16:56:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh0vs-0007qG-8K for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 16:55:59 -0400 Received: from [195.159.176.226] (port=35092 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh0vs-0007po-19 for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 16:55:56 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bh0vl-0005YH-Tg for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 22:55:49 +0200 In-Reply-To: <87lgzaigye.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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