Try to disambibuate the use of "xetex". Here, we actually require polyglossia.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36442 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2010-11-23 11:44:40 +00:00
parent c2f90c6a79
commit fa8dae4201
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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())