From mboxrd@z Thu Jan  1 00:00:00 1970
From: "Mikhail Titov" <mlt@gmx.us>
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>	<CAMXnza3bAGzacBmRyusvgBqJbf6GHp+w56PU-43YrpEXwOMXkQ@mail.gmail.com>	<4F759F07.5040903@hafro.is>	<CAF-1L2TqSpt=yKo6-Hz0ffma1mJMsXdzBBfX3jt1E=CUKFQ+-w@mail.gmail.com>
	<87k414kqg2.fsf@ucl.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:55906)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mlt@gmx.us>)
	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 <mlt@gmx.us>) 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 <mlt@gmx.us>)
	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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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' <e.fraga@ucl.ac.uk>, "'Alan E. Davis'" <lngndvs@gmail.com>
Cc: 'Julian Burgos' <julian@hafro.is>, 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" <lngndvs@gmail.com> 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.