Jay Kerns <gjkerns...@gmail.com> 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