On 04/11/2012 12:39 PM, for...@lyx.org wrote:
Author: Enrico Forestieri<for...@lyx.org>
Date: Wed, 11 Apr 2012 18:19:11 +0200
New Commit: 3285ce1d5cb9ba79af700d004401115269e97ada
URL: 
http://git.lyx.org/?p=lyx.git;a=commit;h=3285ce1d5cb9ba79af700d004401115269e97ada

Log:
Use the right latex backend when a converter needs aux files.

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.

I assume this is also needed for branch. If so, it looks good.

Richard

Reply via email to