From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: customising org-latex-to-pdf-process for bibtex Date: Mon, 28 Feb 2011 09:23:37 +0000 Message-ID: <878vx0ldgm.fsf@ucl.ac.uk> References: <87aahj7ifg.fsf@ucl.ac.uk> <20110225181839.3840b72b@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37866 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pu0eQ-0000H4-Q1 for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 05:48:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pu0eJ-0007tJ-ED for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 05:48:24 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:58299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pu0eJ-0007tF-80 for emacs-orgmode@gnu.org; Mon, 28 Feb 2011 05:48:19 -0500 In-Reply-To: <20110225181839.3840b72b@bhishma.homelinux.net> (Suvayu Ali's message of "Fri, 25 Feb 2011 18:18:39 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: org-mode mailing list Suvayu Ali writes: > Hi Eric, > > On Sat, 26 Feb 2011 00:23:15 +0000 > Eric S Fraga wrote: > >> suvayu ali writes: >> >> > Hi everyone, >> > >> > I am trying to use bibtex with pdf export for my thesis. So I tried >> > customising =org-latex-to-pdf-process= so that bibtex is run before >> > pdflatex. So from the customise buffer I set it to something like >> > this: >> >> I have >> >> #+begin_src emacs-lisp >> (setq org-latex-to-pdf-process >> '("pdflatex %f" "bibtex %b" "pdflatex %f" "pdflatex %f")) >> #+end_src >> > > I tried that, no luck. It gets stuck at some line and fails. I think > there is some problem with one of the packages I am using for > equations. Putting back "-interactionmode nonstop" makes the pdflatex > process continue to the end and produce the pdf. I think you should try to sort this out first. What happens if you export to latex and then invoke pdflatex directly yourself? Which package is causing the error? In any case, once you have the latex, you can try the individual steps directly. I would recommend using auctex mode within Emacs. You should be able to mimic the behaviour of org's pdf export by repeated use of C-c C-c in auctex mode. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)