]> git.lyx.org Git - features.git/commitdiff
Enable polyglossia for LuaTeX
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 27 May 2015 12:40:04 +0000 (14:40 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 27 May 2015 12:40:04 +0000 (14:40 +0200)
src/BufferParams.cpp

index 044c5e32b7e7e18f85f17afb90ab3a9bb04b4507..269c74c45e9d114b1d3de64a581f89a57d13d9a9 100644 (file)
@@ -1356,7 +1356,8 @@ void BufferParams::validate(LaTeXFeatures & features) const
        }
 
        // some languages are only available via polyglossia
-       if (features.runparams().flavor == OutputParams::XETEX
+       if ((features.runparams().flavor == OutputParams::XETEX
+            || features.runparams().flavor == OutputParams::LUATEX)
            && (features.hasPolyglossiaExclusiveLanguages()
                || useNonTeXFonts))
                features.require("polyglossia");