]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
Remove enumitem example file from attic.
[lyx.git] / src / LaTeXFeatures.cpp
index feab83769981c4c9416dafbb7d6a9e70c5cd9132..a69fd5971df16cd526488e71a5c160e80777b9fe 100644 (file)
@@ -382,14 +382,14 @@ LaTeXFeatures::LangPackage LaTeXFeatures::langPackage() const
        if (local_lp == "none")
                return LANG_PACK_NONE;
 
-       /* If "auto" is selected, we load polyglossia if required,
+       /* If "auto" is selected, we load polyglossia with non-TeX fonts,
         * else we select babel.
         * If babel is selected (either directly or via the "auto"
         * mechanism), we really do only require it if we have
         * a language that needs it.
         */
        bool const polyglossia_required =
-               isRequired("polyglossia")
+               params_.useNonTeXFonts
                && isAvailable("polyglossia")
                && !isProvided("babel")
                && this->hasOnlyPolyglossiaLanguages();