[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to get BibTeX to work with Org mode LaTeX export?
From: |
Nick Dokos |
Subject: |
Re: [O] How to get BibTeX to work with Org mode LaTeX export? |
Date: |
Sat, 18 May 2013 10:37:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Jay Kerns <address@hidden> writes:
>> - The question is about how to get Org mode to do the whole job, as there is
>> a command for it which is supposed to do exactly that but it doesn't.
>>
>
> Have you tried (something like) the following in your init file?
>
> (setq org-latex-pdf-process (quote ("texi2dvi --pdf --clean --verbose
> --batch %f" "bibtex %b" "texi2dvi --pdf --clean --verbose --batch %f"
> "texi2dvi --pdf --clean --verbose --batch %f")))
>
> You can read more about this variable (and customize it) with
>
> C-h v org-latex-pdf-process RET
>
> I hope this helps,
If texi2dvi works, then there is no need for a three-element list: just
the first invocation of texi2dvi should be enough to do the job.
If texi2dvi does *not* work, then a three-element list is necessary (but
not necessarily sufficient): an invocation of pdflatex, followed by
bibtex, followed by (at least) another invocation of pdflatex (followed
by more invocations of pdflatex if there are still complaints).
--
Nick