From: Juergen Spitzmueller Date: Fri, 15 Sep 2017 07:36:16 +0000 (+0200) Subject: Allow to provide xunicode. X-Git-Tag: 2.3.0rc1~97 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7309ae50b4c40bdbd5c4e45962f132ec0e1a4249;p=features.git Allow to provide xunicode. --- diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 060d9e411c..2f7058a9e4 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -2286,7 +2286,8 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features, // (the rest is obsoleted by the new TU encoding). // It needs to be loaded at least after amsmath, amssymb, // esint and the other packages that provide special glyphs - if (features.mustProvide("tipa") && useNonTeXFonts) { + if (features.mustProvide("tipa") && useNonTeXFonts + && !features.isProvided("xunicode")) { // The package officially only supports XeTeX, but also works // with LuaTeX. Thus we work around its XeTeX test. if (features.runparams().flavor != OutputParams::XETEX) {