]> git.lyx.org Git - features.git/commit
Use the right latex backend when a converter needs aux files.
authorEnrico Forestieri <forenr@lyx.org>
Wed, 11 Apr 2012 16:19:11 +0000 (18:19 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 11 Apr 2012 18:32:27 +0000 (20:32 +0200)
commit99fe8ef2bacbcbeb1508a911a52845cc1b71c486
tree893828b3481e9952222b79a32fbd07904a3b1c98
parent229fa2cd88e155613a928f9a9c3be4be45c77c6c
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.

(cherry picked from commit 3285ce1d5cb9ba79af700d004401115269e97ada)

Conflicts:

src/Converter.cpp
14 files changed:
lib/fonts/cmex10.ttf [changed mode: 0644->0755]
lib/fonts/cmmi10.ttf [changed mode: 0644->0755]
lib/fonts/cmr10.ttf [changed mode: 0644->0755]
lib/fonts/cmsy10.ttf [changed mode: 0644->0755]
lib/fonts/esint10.ttf [changed mode: 0644->0755]
lib/fonts/eufm10.ttf [changed mode: 0644->0755]
lib/fonts/msam10.ttf [changed mode: 0644->0755]
lib/fonts/msbm10.ttf [changed mode: 0644->0755]
lib/fonts/rsfs10.ttf [changed mode: 0644->0755]
lib/fonts/wasy10.ttf [changed mode: 0644->0755]
src/Buffer.cpp
src/Converter.cpp
src/Converter.h
status.20x