From 9302b1ae6324495c37c1b6ccf0870abb843779a9 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 15 Sep 2017 09:36:16 +0200 Subject: [PATCH] Allow to provide xunicode. --- src/BufferParams.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.2