When I export a org file in latex and generate the pdf (recompiling after a modification in the org file), the pdf file loose the references to section and citation. Here is the line in my .emacs
(setq org-latex-pdf-process '("latexmk -pdflatex='pdflatex -interaction nonstopmode' -bibtex -f -pdf %f"))
I have to manually delete the bbl file and compile again so that the pdf shows the right references. How to I do that automatically?