From: Juergen Spitzmueller Date: Mon, 6 Apr 2020 06:53:29 +0000 (+0200) Subject: Fix quotation marks in PDF TOC X-Git-Tag: 2.3.5~68 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=97516cf2f456df1aa0a6526d68251fdd252ad7ea;p=features.git Fix quotation marks in PDF TOC (cherry picked from commit c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e) --- diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index 8b1645945d..568232af23 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -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 diff --git a/status.23x b/status.23x index 3b688195a3..22a4f6d72f 100644 --- a/status.23x +++ b/status.23x @@ -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