On Fri, May 13, 2022 at 6:54 AM Eric S Fraga <e.fr...@ucl.ac.uk> wrote: > > On Friday, 13 May 2022 at 11:55, Alessandro Bertulli wrote: > >> Check out org-latex-pdf-process maybe? > > > > I don't know the library so in depth, but I'll try, thank you! > > I have the following in my init file: > > (setq org-latex-pdf-process '("pdflatex -output-directory %o %f" > "bibtex %b" > "pdflatex -output-directory %o %f" > "pdflatex -output-directory %o %f")) > > which tells org to run pdflatex, then bibtex, and then pdflatex twice > more to ensure that all references are satisfied.
I thought org now by default, if available, uses latexmk, which should take care of all this? At least, it does for me. Bruce