mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix quotation marks in PDF TOC
This commit is contained in:
parent
36a1f365f0
commit
c0adb03a7a
@ -880,6 +880,10 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
|
|||||||
qstr = from_ascii("\\og");
|
qstr = from_ascii("\\og");
|
||||||
else
|
else
|
||||||
qstr = from_ascii("\\fg");
|
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"
|
} else if (fontenc_ == "T1"
|
||||||
&& !runparams.local_font->language()->internalFontEncoding()) {
|
&& !runparams.local_font->language()->internalFontEncoding()) {
|
||||||
// Quotation marks for T1 font encoding
|
// Quotation marks for T1 font encoding
|
||||||
|
Loading…
Reference in New Issue
Block a user