Hi, Sébastien, Sébastien Gendre writes:
> To generate the table of contents, I have to compile my .tex file into > PDF 2 times. The first time, I got no toc. The second time the toc was > here. I would say It's a normal LaTeX thing. Sometimes LaTeX needs more than one compilation to finish processing things like TOC or cross-references, because it writes to auxiliary files if there has been any change in those elements. What I suggest is that you use latexmk as the default 'org-latex-pdf-process'. latexmk is a script that takes care of intelligently compiling everything, as many times as necessary. I have in my init: (setq org-latex-pdf-process '("latexmk -lualatex -output-directory=%o -e '$lualatex=q/lualatex %%O -shell-escape %%S/' %f")) (I use LuaTeX instead of pdfTeX). Best regards, Juan Manuel