From 740c247dfe9909e53280ee30fd6abbcd65f638a2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 5 Dec 2013 17:39:16 +0100 Subject: [PATCH] Do not load the xunicode package with TeX fonts --- src/BufferParams.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index cc18ce1e69..0604a99b0e 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -1958,7 +1958,8 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features, // xunicode needs to be loaded at least after amsmath, amssymb, // 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"; // Polyglossia must be loaded last -- 2.39.2