mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
c2f90c6a79
commit
fa8dae4201
@ -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");
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user