From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mikhail Titov" Subject: Re: problems with LaTex/BibTex Date: Wed, 25 Apr 2012 10:59:14 -0500 Message-ID: <002d01cd22fc$5e18f7d0$1a4ae770$@us> References: <15186.85.197.227.93.1333071675.squirrel@www.hafro.is> <4F759F07.5040903@hafro.is> <87k414kqg2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4cl-0005mj-Og for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 11:59:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN4ci-0005mn-Id for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 11:59:23 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:59270) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SN4ci-0005fH-Ah for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 11:59:20 -0400 In-Reply-To: <87k414kqg2.fsf@ucl.ac.uk> Content-Language: en-us 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Eric Fraga' , "'Alan E. Davis'" Cc: 'Julian Burgos' , emacs-orgmode@gnu.org > -----Original Message----- > From: emacs-orgmode-bounces+mlt=gmx.us@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx.us@gnu.org] On Behalf Of Eric Fraga > Sent: Wednesday, April 25, 2012 6:21 AM > To: Alan E. Davis > Cc: Julian Burgos; emacs-orgmode@gnu.org > Subject: Re: [O] problems with LaTex/BibTex > > "Alan E. Davis" writes: > > > I would have a use for this. I am curious, though... > > > > Suppose I use this as a standard init-file declaration for > > org-latex-to-pdf-process . Does that mean that bibtex will always be run, > > every time, during the generation of PDFs via LaTex export? > > Yes but you can easily customise this variable on a per file basis. If > you seldom use bibtex, have the default be to run pdflatex just > once. Then, for any org file that needs bibtex, simply put in the > following line (or a variation thereof): > > #+BIND: org-latex-to-pdf-process ("pdflatex %b" "bibtex %b" "pdflatex %b" > "pdflatex %b") Also, if you are on Windows with MikTeX, you can use texify, otherwise latexmk can save you some time when it is not necessary to rebuild index and/or bibliography. M.