Fix quotation marks in PDF TOC

(cherry picked from commit c0adb03a7a)
This commit is contained in:
Juergen Spitzmueller 2020-04-06 08:53:29 +02:00
parent 1bd2e72d5a
commit 97516cf2f4
2 changed files with 6 additions and 0 deletions

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

View File

@ -63,6 +63,8 @@ What's new
- Prevent polyglossia options from being output to PDF TOC (bug 11813).
- Use real typographic quotation marks in PDF TOC (with pdflatex).
* USER INTERFACE