Do not load the xunicode package with TeX fonts

This commit is contained in:
Juergen Spitzmueller 2013-12-05 17:39:16 +01:00
parent 66c7759e67
commit 740c247dfe

View File

@ -1958,7 +1958,8 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
// xunicode needs to be loaded at least after amsmath, amssymb, // xunicode needs to be loaded at least after amsmath, amssymb,
// esint and the other packages that provide special glyphs // esint and the other packages that provide special glyphs
if (features.runparams().flavor == OutputParams::XETEX) if (features.runparams().flavor == OutputParams::XETEX
&& useNonTeXFonts)
lyxpreamble += "\\usepackage{xunicode}\n"; lyxpreamble += "\\usepackage{xunicode}\n";
// Polyglossia must be loaded last // Polyglossia must be loaded last