mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +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)
|
||||
&& isRequired("polyglossia")
|
||||
&& isAvailable("polyglossia")
|
||||
&& !params_.documentClass().provides("babel")
|
||||
&& this->hasPolyglossiaLanguages();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user