mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 11:52:45 +00:00
99fe8ef2ba
If a converter specifies the needaux flag, latex (or xelatex) is always run to produce the needed auxiliary files. This is wrong because there are documents that can only be compiled with a specific backend and thus the conversion may fail. On the other hand, even if the document specifies the backend to be used, LyX ignores this info. This commit rectifies this behavior by letting LyX run the same flavor of the latex backend that shall be used for previewing the document also for producing the auxiliary files. (cherry picked from commit 3285ce1d5cb9ba79af700d004401115269e97ada) Conflicts: src/Converter.cpp