]> git.lyx.org Git - features.git/commitdiff
Allow to provide xunicode.
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 15 Sep 2017 07:36:16 +0000 (09:36 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 15 Sep 2017 07:39:22 +0000 (09:39 +0200)
src/BufferParams.cpp

index 060d9e411c1ae79a9d1972a3f2d75eeb6aa4a825..2f7058a9e4403faf3cbcd0341381f6760ad69671 100644 (file)
@@ -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) {