Scott Randby <sran...@gmail.com> writes: > (1) Which one of the above suggestions should I use? I don't want > interactions when I'm exporting. I don't want to have to mess with a > configuration file either.
> (2) How many shell commands will org-latex-pdf-process need? Right > now there are three. Replace those three with just one latexmk? I have --8<---------------cut here---------------start------------->8--- (setq org-latex-pdf-process '("latexmk -f -pdf -%latex -outdir=%o %f")) --8<---------------cut here---------------end--------------->8--- in my Emacs configuration. The nice thing with latexmk is, that a single call will suffice. It reads the generated log and checks whether multiple calls to the LaTeX engine are necessary (after each run it check whether another run is need, up-to the configurable maximum of 5 runs). Therefore in some cases (depending on used LaTeX packages and commands) latexmk may even produce the PDF faster, if only one or two passes are necessary. But sometimes LaTeX thinks it may need more passes (e.g. having undefined references, unstable output due to dynamically generated things at page breaks for example with cleveref and varioref where floats/references are put on one page in one run and another page in the following run) - and in these cases creating the PDF may take a bit longer due to the maximum of 5 (instead of only 3) runs. Hope that helps a little bit. -- Until the next mail..., Stefan.