From: Georg Baum Date: Sun, 8 Jul 2012 19:33:55 +0000 (+0200) Subject: Fix tex2lyx -roundtrip for XeTeX documents X-Git-Tag: 2.1.0beta1~1664 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c3731b25daa9558e12f12e5b04bd1e5688fc6fe2;p=features.git Fix tex2lyx -roundtrip for XeTeX documents --- diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index a7f83c25a3..a049aab6f5 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -771,6 +771,8 @@ bool tex2tex(string const & infilename, FileName const & outfilename, command += " -f none"; if (pdflatex) command += " -e pdflatex "; + else if (xetex) + command += " -e xetex "; else command += " -e latex "; command += quoteName(outfilename.toFilesystemEncoding());