Ken Mankoff writes: > On 2014-05-05 at 19:39, John Hendy wrote: >> If this works, someone can chime in regarding how to modify Org so >> that it will run the necessary biber/biblatex commands so you don't >> have to jump to a command line every time. Or perhaps that's a one >> time thing -- maybe as long as biber generates the .bbl file, you can >> refer to anything you want in that file from then on? > > I've found "latexmk" to be the best tool for compiling LaTeX > documents. It runs all necessary commands as many times as needed, > including pdflatex, bibtex, biblatex, etc.. It is fairly smart and will > run the command to make the index if you load the index, for example. > > It can run in daemon mode and monitor the included files (and graphics) > so if one of those changes, the PDF is regenerated. > > I prefer daemon mode, so I bring up a terminal and run latexmk file.tex > in the folder where I'm working on file.org. This also speeds things up, > since exporting to latex is fast, but compiling is slow. I can export > and still use emacs, rather than waiting for the compile to finish. This sounds very interesting. Could you please provide some details on how you use latexmk? Do you use any special options? Rainer > > But if you want to run latexmk from Org, that works too. The "-pvc-" > turns off the "preview continuous" mode (daemon). > > (setq org-latex-pdf-process (list "/usr/texbin/latexmk -f -gg -pvc- %f")) > > -k. > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982