mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Do not rely on babel quotation macros for encodings other than [O]T1
Babel falls back to OT1 in these cases, which gives wrong output got the guillemots Fixes: #10947
This commit is contained in:
parent
990d6d2ac2
commit
64b94f81be
@ -880,10 +880,12 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
|
||||
// (ligatures not featured)
|
||||
qstr = quoteparams.getLaTeXQuote(quotechar, "int");
|
||||
#ifdef DO_USE_DEFAULT_LANGUAGE
|
||||
} else if (doclang == "default") {
|
||||
} else if ((doclang == "default"
|
||||
#else
|
||||
} else if (!runparams.use_babel || runparams.isFullUnicode()) {
|
||||
} else if ((!runparams.use_babel
|
||||
#endif
|
||||
|| fontenc_ != "T1" || fontenc_ != "OT1")
|
||||
|| runparams.isFullUnicode()) {
|
||||
// Standard quotation mark macros
|
||||
// These are also used by babel
|
||||
// without fontenc (XeTeX/LuaTeX)
|
||||
|
Loading…
Reference in New Issue
Block a user