From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: There is no line to end here at LaTeX org-ref export Date: Mon, 05 Sep 2016 17:34:01 -0400 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 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh1Ws-0003lv-80 for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 17:34:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh1Wn-0005r0-1h for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 17:34:09 -0400 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:35199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh1Wm-0005qc-TQ for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 17:34:04 -0400 Received: by mail-qk0-x236.google.com with SMTP id v123so200256306qkh.2 for ; Mon, 05 Sep 2016 14:34:04 -0700 (PDT) In-reply-to: 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: Florian Lindner Cc: emacs-orgmode@gnu.org that does explain why I couldn't reproduce what you see. I have org-export-preserve-breaks set to nil. I didn't even know about that one! Glad to hear you figured it out. Florian Lindner writes: > 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 -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu