From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: customising org-latex-to-pdf-process for bibtex Date: Fri, 25 Feb 2011 18:18:39 -0800 Message-ID: <20110225181839.3840b72b@bhishma.homelinux.net> References: <87aahj7ifg.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=52670 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt9kC-0008Gt-H3 for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt9k7-0001w1-Au for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:18:52 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:62567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt9k7-0001vv-4Z for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 21:18:47 -0500 Received: by gyb13 with SMTP id 13so1190812gyb.0 for ; Fri, 25 Feb 2011 18:18:46 -0800 (PST) In-Reply-To: <87aahj7ifg.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: org-mode mailing list 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. > which seems to work just fine for me. You may wish (for security) to > add the fully qualified paths for these executables, of course. Its my private desktop and laptop, and I can be quite paranoid about security usually so that part is somewhat covered. :) Maybe I'll consider it later. If you are otherwise worried about whether I'm picking up the correct version of pdflatex, I see the following version information in the "*Org PDF LaTeX output*" buffer: > This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) So its as expected. Thank you for your thoughts about my issue, appreciate it. -- Suvayu Open source is the future. It sets us free.