From c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 6 Apr 2020 08:53:29 +0200 Subject: [PATCH] Fix quotation marks in PDF TOC --- src/insets/InsetQuotes.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2