From: Juergen Spitzmueller Date: Mon, 6 Apr 2020 06:53:29 +0000 (+0200) Subject: Fix quotation marks in PDF TOC X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a28d20016b3551f066f478601916ccc319edcb0b;p=features.git Fix quotation marks in PDF TOC --- diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index f7045c8131..2f70f87222 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