]> git.lyx.org Git - lyx.git/commitdiff
Fix tex2lyx -roundtrip for XeTeX documents
authorGeorg Baum <baum@lyx.org>
Sun, 8 Jul 2012 19:33:55 +0000 (21:33 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 8 Jul 2012 19:35:40 +0000 (21:35 +0200)
src/tex2lyx/tex2lyx.cpp

index a7f83c25a34c41c449753b3b080e301cc7ea21f2..a049aab6f5fdb85d280741e2e785cc87a9ffe581 100644 (file)
@@ -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());