mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
* LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36787 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a978795215
commit
b88a8d1427
@ -299,6 +299,7 @@ bool LaTeXFeatures::usePolyglossia() const
|
|||||||
return (lyxrc.language_package_selection == LyXRC::LP_AUTO)
|
return (lyxrc.language_package_selection == LyXRC::LP_AUTO)
|
||||||
&& isRequired("polyglossia")
|
&& isRequired("polyglossia")
|
||||||
&& isAvailable("polyglossia")
|
&& isAvailable("polyglossia")
|
||||||
|
&& !params_.documentClass().provides("babel")
|
||||||
&& this->hasPolyglossiaLanguages();
|
&& this->hasPolyglossiaLanguages();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user