mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
final final touch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26208 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
db9885f882
commit
9bfc1c9d46
@ -918,9 +918,11 @@ pair<bool, int> switchEncoding(odocstream & os, BufferParams const & bparams,
|
||||
open_encoding_ = none;
|
||||
count += 7;
|
||||
}
|
||||
if (runparams.local_font != 0 && oldEnc.package() == Encoding::CJK) {
|
||||
// within insets, \inputenc switches need to be
|
||||
// embraced within \bgroup ... \egroup; else CJK fails.
|
||||
if (runparams.local_font != 0
|
||||
&& oldEnc.package() == Encoding::CJK) {
|
||||
// within insets, \inputenc switches need
|
||||
// to be embraced within \bgroup...\egroup;
|
||||
// else CJK fails.
|
||||
os << "\\bgroup";
|
||||
count += 7;
|
||||
open_encoding_ = inputenc;
|
||||
|
Loading…
Reference in New Issue
Block a user