mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Do not force singlebyte encoding for listings with XeTeX/LuaTeX.
Fixes: #11056
This commit is contained in:
parent
4bc379ea67
commit
cbf2a329c9
@ -127,6 +127,7 @@ Encoding const * InsetListings::forcedEncoding(Encoding const * inner_enc,
|
||||
// such as XeTeX or LuaTeX are used, and with pLaTeX.
|
||||
// Minted can deal with all encodings.
|
||||
if (buffer().params().use_minted
|
||||
|| inner_enc->name() == "utf8-plain"
|
||||
|| (buffer().params().encoding().package() == Encoding::japanese
|
||||
&& inner_enc->package() == Encoding::japanese)
|
||||
|| inner_enc->hasFixedWidth())
|
||||
|
Loading…
Reference in New Issue
Block a user