mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Set the logic straight
This commit is contained in:
parent
d15388ba98
commit
d9626ec6af
@ -2859,7 +2859,7 @@ void BufferParams::writeEncodingPreamble(otexstream & os,
|
|||||||
// do not load inputenc if japanese is used
|
// do not load inputenc if japanese is used
|
||||||
// or if the class provides inputenc
|
// or if the class provides inputenc
|
||||||
if (features.isRequired("japanese")
|
if (features.isRequired("japanese")
|
||||||
&& features.isProvided("inputenc"))
|
|| features.isProvided("inputenc"))
|
||||||
break;
|
break;
|
||||||
os << "\\usepackage[" << from_ascii(encoding().latexName())
|
os << "\\usepackage[" << from_ascii(encoding().latexName())
|
||||||
<< "]{inputenc}\n";
|
<< "]{inputenc}\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user