From c983aa304975a3880942456ed8e92646020bc97b Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Thu, 21 May 2015 00:29:35 -0400 Subject: [PATCH] Set empty pdfborderstyle for hyperref (#7264) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This leads to better compatibility with e.g. arXiv. As Jürgen notes, it is also possible to override this automatic empty pdfborderstyle via the Additional Options. Patch by Julien Rioux. --- src/PDFOptions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PDFOptions.cpp b/src/PDFOptions.cpp index 222be517e8..408fa9cc9d 100644 --- a/src/PDFOptions.cpp +++ b/src/PDFOptions.cpp @@ -121,6 +121,8 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os, opt += "pdfborder={0 0 "; opt += (pdfborder ? '0' : '1'); opt += "},"; + if (pdfborder) + opt += "pdfborderstyle={},"; opt += "backref=" + backref + ','; opt += "colorlinks=" + convert(colorlinks) + ','; if (!pagemode.empty()) -- 2.39.5