From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: customising org-latex-to-pdf-process for bibtex Date: Fri, 25 Feb 2011 15:30:55 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=36487 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt787-0006rz-6q for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 18:31:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt781-0003Uf-0B for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 18:31:21 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:48820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt780-0003UR-PG for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 18:31:16 -0500 Received: by bwz17 with SMTP id 17so2832513bwz.0 for ; Fri, 25 Feb 2011 15:31:15 -0800 (PST) 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: org-mode mailing list 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: pdflatex -interaction nonstopmode -output-directory %o %f bibtex %b pdflatex -interaction nonstopmode -output-directory %o %f pdflatex -interaction nonstopmode -output-directory %o %f I also tried these, pdflatex -interaction nonstopmode -output-directory %o %b bibtex %b pdflatex -interaction nonstopmode -output-directory %o %b pdflatex -interaction nonstopmode -output-directory %o %b But none of these run bibtex properly. For now I am exporting to latex everytime I change the bibliography and run bibtex from the terminal. For subsequent pdf exports the default values then give me a proper pdf with all the citations displayed correctly. Any thoughts on what I am doing wrong? -- Suvayu Open source is the future. It sets us free.