mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix indentation
This commit is contained in:
parent
79feeb0c03
commit
62085642bc
@ -305,10 +305,11 @@ static TeXEnvironmentData prepareEnvironment(Buffer const & buf,
|
||||
|
||||
// in multilingual environments, the CJK tags have to be nested properly
|
||||
data.cjk_nested = false;
|
||||
if (!bparams.useNonTeXFonts && (bparams.inputenc == "auto-legacy"
|
||||
|| bparams.inputenc == "auto-legacy-plain")
|
||||
&& data.par_language->encoding()->package() == Encoding::CJK
|
||||
&& state->open_encoding_ != CJK && pit->isMultiLingual(bparams)) {
|
||||
if (!bparams.useNonTeXFonts
|
||||
&& (bparams.inputenc == "auto-legacy"
|
||||
|| bparams.inputenc == "auto-legacy-plain")
|
||||
&& data.par_language->encoding()->package() == Encoding::CJK
|
||||
&& state->open_encoding_ != CJK && pit->isMultiLingual(bparams)) {
|
||||
if (prev_par_language->encoding()->package() == Encoding::CJK) {
|
||||
os << "\\begin{CJK}{"
|
||||
<< from_ascii(data.par_language->encoding()->latexName())
|
||||
|
Loading…
Reference in New Issue
Block a user