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:
Jürgen Spitzmüller 2008-08-19 07:51:40 +00:00
parent db9885f882
commit 9bfc1c9d46

View File

@ -918,9 +918,11 @@ pair<bool, int> switchEncoding(odocstream & os, BufferParams const & bparams,
open_encoding_ = none; open_encoding_ = none;
count += 7; count += 7;
} }
if (runparams.local_font != 0 && oldEnc.package() == Encoding::CJK) { if (runparams.local_font != 0
// within insets, \inputenc switches need to be && oldEnc.package() == Encoding::CJK) {
// embraced within \bgroup ... \egroup; else CJK fails. // within insets, \inputenc switches need
// to be embraced within \bgroup...\egroup;
// else CJK fails.
os << "\\bgroup"; os << "\\bgroup";
count += 7; count += 7;
open_encoding_ = inputenc; open_encoding_ = inputenc;