Fix quotation marks in PDF TOC

This commit is contained in:
Juergen Spitzmueller 2020-04-06 08:53:29 +02:00
parent 36a1f365f0
commit c0adb03a7a

View File

@ -880,6 +880,10 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
qstr = from_ascii("\\og");
else
qstr = from_ascii("\\fg");
} else if (runparams.use_hyperref && runparams.moving_arg) {
// Use internal commands in headings with hyperref
// (ligatures not featured in PDF strings)
qstr = quoteparams.getLaTeXQuote(quotechar, "int", rtl_);
} else if (fontenc_ == "T1"
&& !runparams.local_font->language()->internalFontEncoding()) {
// Quotation marks for T1 font encoding