mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
LaTeXFeatures.cpp: polyglossia is only required if a language is not supported by babel _and_ also no other special package; patch by Jürgen, to fix the regression mentioned in bug #8026
This commit is contained in:
parent
dda1bfc949
commit
8afad998ed
@ -496,7 +496,7 @@ bool LaTeXFeatures::hasPolyglossiaExclusiveLanguages() const
|
|||||||
for (LanguageList::const_iterator cit = begin;
|
for (LanguageList::const_iterator cit = begin;
|
||||||
cit != UsedLanguages_.end();
|
cit != UsedLanguages_.end();
|
||||||
++cit) {
|
++cit) {
|
||||||
if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty())
|
if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty() && (*cit)->requires().empty())
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user