mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Set the logic straight
This commit is contained in:
parent
69d10bd4c8
commit
e715055373
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user