From c3731b25daa9558e12f12e5b04bd1e5688fc6fe2 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 8 Jul 2012 21:33:55 +0200 Subject: [PATCH] Fix tex2lyx -roundtrip for XeTeX documents --- src/tex2lyx/tex2lyx.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()); -- 2.39.2