mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Set empty pdfborderstyle for hyperref (#7264)
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.
This commit is contained in:
parent
7c0232e874
commit
c983aa3049
@ -121,6 +121,8 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os,
|
|||||||
opt += "pdfborder={0 0 ";
|
opt += "pdfborder={0 0 ";
|
||||||
opt += (pdfborder ? '0' : '1');
|
opt += (pdfborder ? '0' : '1');
|
||||||
opt += "},";
|
opt += "},";
|
||||||
|
if (pdfborder)
|
||||||
|
opt += "pdfborderstyle={},";
|
||||||
opt += "backref=" + backref + ',';
|
opt += "backref=" + backref + ',';
|
||||||
opt += "colorlinks=" + convert<string>(colorlinks) + ',';
|
opt += "colorlinks=" + convert<string>(colorlinks) + ',';
|
||||||
if (!pagemode.empty())
|
if (!pagemode.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user