Enable polyglossia for LuaTeX

This commit is contained in:
Juergen Spitzmueller 2015-05-27 14:40:04 +02:00
parent f3c1a4fbeb
commit edd37de8b4

View File

@ -1356,7 +1356,8 @@ void BufferParams::validate(LaTeXFeatures & features) const
} }
// some languages are only available via polyglossia // 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() && (features.hasPolyglossiaExclusiveLanguages()
|| useNonTeXFonts)) || useNonTeXFonts))
features.require("polyglossia"); features.require("polyglossia");