mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
* 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:
parent
75f7084fbe
commit
2943f1e880
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user