mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
backport fix for bug #8215
Font.cpp: CJK parts must not have a closing brace because they are within an environment
This commit is contained in:
parent
2eb4a46d0b
commit
2af09e2e0e
@ -539,8 +539,9 @@ int Font::latexWriteEndChanges(otexstream & os, BufferParams const & bparams,
|
||||
open_encoding_ = false;
|
||||
}
|
||||
|
||||
if (closeLanguage &&
|
||||
language() != base.language() && language() != next.language()) {
|
||||
if (closeLanguage
|
||||
&& language() != base.language() && language() != next.language()
|
||||
&& language()->encoding()->package() != Encoding::CJK) {
|
||||
os << '}';
|
||||
++count;
|
||||
}
|
||||
|
@ -63,6 +63,9 @@ What's new
|
||||
|
||||
- Do not ignore polyglossia commands in partial source preview (bug 8209).
|
||||
|
||||
- Export correct language change commands if document coontains different
|
||||
CJK languages (bug 8215).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user