David Masterson <dsmaster...@icloud.com> writes: > org-publish publishes a lot of files for me via multiple backends. The > problem is that, in ox-latex's post scan of Latex output for warnings to > add to the *Warnings* buffer, it doesn't print out the filename > associated with the warning which makes it difficult to backtrack. > > My wish: > > I can (mostly) read Elisp, but ox-latex is somewhat more than I can > figure out. I'm hoping someone with more Lisp knowledge than me could > take a look. Is the starting place org-latex-compile--postprocess ? > I'm not sure if outfile would be the filename.
The starting place is `org-compile-file'. Its LOG-BUF argument defines where the compilation output is dumped. You can augment that output with some information about which file is being compiled and using which commands. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>