diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 640f3544d6..fab62fb9ec 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -1188,7 +1188,7 @@ void BufferParams::validate(LaTeXFeatures & features) const } if (useXetex) - features.require("xetex"); + features.require("polyglossia"); if (language->lang() == "vietnamese") features.require("vietnamese"); diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 530275860b..f694e53797 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -296,7 +296,7 @@ bool LaTeXFeatures::useBabel() const bool LaTeXFeatures::usePolyglossia() const { return (lyxrc.language_package_selection == LyXRC::LP_AUTO) - && isRequired("xetex") + && isRequired("polyglossia") && isAvailable("polyglossia") && ((bufferParams().language->lang() != lyxrc.default_language && !bufferParams().language->polyglossia().empty())