mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
Handle secondary babel languages when main language is CJK
This commit is contained in:
parent
eb314aa5be
commit
b65d5f2012
@ -707,7 +707,8 @@ void Font::validate(LaTeXFeatures & features) const
|
||||
// FIXME: Do something for background and soul package?
|
||||
|
||||
if (((features.usePolyglossia() && lang_->polyglossia() != doc_language->polyglossia())
|
||||
|| (features.useBabel() && lang_->babel() != doc_language->babel()))
|
||||
|| (features.useBabel() && lang_->babel() != doc_language->babel())
|
||||
|| (doc_language->encoding()->package() == Encoding::CJK && lang_ != doc_language))
|
||||
&& lang_ != ignore_language
|
||||
&& lang_ != latex_language)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user