]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Hack to display section symbol
[lyx.git] / src / PDFOptions.cpp
index 1a15b0b217c395217621efbb5b002501d3e9cf8d..dc638f544dafb3638f6ad020fd7cff93c3414fd2 100644 (file)
@@ -108,7 +108,7 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os,
        // Since LyX uses unicode, also set the PDF strings to unicode strings
        // with the hyperref option "unicode". This is only needed with pdflatex.
        // As of 2021/02/04, unicode=true is default.
-       if (!LaTeXFeatures::isAvailable("hyperref-2021/02/04")
+       if (!LaTeXFeatures::isAvailableAtLeastFrom("hyperref", 2021, 2, 4)
             && !runparams.isFullUnicode() && !runparams.use_japanese)
                opt += "unicode=true,";