Bruno BEAUFILS <br...@boulgour.com> writes: > On Fri, Feb 17, 2023 at 10:55:34AM +0000, Ihor Radchenko wrote: >> > How so? >> >> latexmk -interaction=nonstopmode > > Still do not get the problem. I though that the exit code of the > underlying process was used but after having try to understand some of > the ox-latel.el I discover that it seems to be done another way > (analysing the output if I am right).
Even if we used exit code, what would it achieve? >> variable, or, like John Kitchin often does, put the following src block >> on the top of your file and use it for exporting: >> >> #+begin_src emacs-lisp :exports none >> (let (<your overrides>) (org-latex-export-to-pdf)) >> #+end_src > > I want to be able to use my file interactively as well as in batch > mode, I thus think that this proposition is not really a good solution > even if I find it elegant. You can do it in batch as well. See `org-sbe'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>