|
From: | Max Nikulin |
Subject: | Re: [PATCH] Avoid ignoring LaTeX export output errors when org-latex-pdf-process is a list |
Date: | Tue, 24 May 2022 22:16:17 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 22/05/2022 10:51, Ihor Radchenko wrote:
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.
I may be wrong, but I believed that some code might check buffer content for specific messages to determine if additional pass is required to resolve or adjust cross-reference links. If it is done by external tools working with log files than there is no problem, otherwise lisp code analyzing whole buffer may be confusing by first pass messages when there was no e.g. .aux file.
Erasing messages from previous commands making debugging of problems harder, so having complete logs should be an improvement.
[Prev in Thread] | Current Thread | [Next in Thread] |