8 Jul 2012 21:35
[LyX master] Fix tex2lyx -roundtrip for XeTeX documents
Georg Baum <baum <at> lyx.org>
2012-07-08 19:35:48 GMT
2012-07-08 19:35:48 GMT
The branch, master, has been updated.
- Log -----------------------------------------------------------------
commit c3731b25daa9558e12f12e5b04bd1e5688fc6fe2
Author: Georg Baum <baum <at> lyx.org>
Date: Sun Jul 8 21:33:55 2012 +0200
Fix tex2lyx -roundtrip for XeTeX documents
diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp
index a7f83c2..a049aab 100644
--- a/src/tex2lyx/tex2lyx.cpp
+++ b/src/tex2lyx/tex2lyx.cpp
<at> <at> -771,6 +771,8 <at> <at> 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());
-----------------------------------------------------------------------
Summary of changes:
src/tex2lyx/tex2lyx.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
(Continue reading)
RSS Feed