Ihor Radchenko <yanta...@gmail.com> writes: > The attached patch is fixing a rather annoying problem when > org-latex-pdf-process is set to a list. Currently, only output of the > last command in the list is preserved in *Org PDF LaTeX output* buffer, > which sometimes prevents ox-latex from detecting compilation warnings. > > ox-latex relies on *Org PDF LaTeX output* to contain the output of latex > compiler. However, unless the last command in the org-latex-pdf-process > is something like pdflatex, the compiler errors are erased by > `shell-command' called by `org-compile-file'.
Applied onto main via 4d0295b31. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4d0295b315b86d4cc1d85565b3e83ded494a1e67 Best, Ihor