* InsetGraphics.cpp (findTargetFormat):

- consider XeTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29205 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-04-11 13:00:10 +00:00
parent 75f7084fbe
commit 2943f1e880

View File

@ -101,8 +101,9 @@ namespace {
/// Note that \p format may be unknown (i. e. an empty string)
string findTargetFormat(string const & format, OutputParams const & runparams)
{
// Are we using latex or pdflatex?
if (runparams.flavor == OutputParams::PDFLATEX) {
// Are we using latex or XeTeX/pdflatex?
if (runparams.flavor == OutputParams::PDFLATEX
|| runparams.flavor == OutputParams::XETEX) {
LYXERR(Debug::GRAPHICS, "findTargetFormat: PDF mode");
Format const * const f = formats.getFormat(format);
// Convert vector graphics to pdf