mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +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
|
||||
// or if the class provides inputenc
|
||||
if (features.isRequired("japanese")
|
||||
&& features.isProvided("inputenc"))
|
||||
|| features.isProvided("inputenc"))
|
||||
break;
|
||||
os << "\\usepackage[" << from_ascii(encoding().latexName())
|
||||
<< "]{inputenc}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user