Set the logic straight

This commit is contained in:
Juergen Spitzmueller 2015-03-15 10:38:37 +01:00
parent 69d10bd4c8
commit e715055373
2 changed files with 3 additions and 1 deletions

View File

@ -2856,7 +2856,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";

View File

@ -30,6 +30,8 @@ What's new
- Add low-resolution PDF export format (needs an installed ghostscript).
- Add possibility via the layout file to prevent LyX from loading inputenc.
* TEX2LYX IMPROVEMENTS