Skip to content

Commit

Permalink
leave pdfborder with colorlinks=false, issue #69
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed May 11, 2024
1 parent 5ac4950 commit d06581f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions hyperref-generic.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,8 @@
% would arise it would possible to change this.
% \subsection{Changed behaviour}
% \begin{description}
% \item[colorlinks] |colorlinks| will as before disable the |pdfborder|, but it is possible
% \item[colorlinks] |colorlinks| or |colorlinks=true| will as before disable the |pdfborder|
% (|colorlinks=false| will leave the pdfborder untouched), but it is possible
% to use the key in the document at any time, or to reenable the border if wanted.
% Internally |colorlinks| \& friends will no longer define/undefine
% |\Hy@colorlink|, but instead use the hooks provided by the \pkg{l3pdfannot} package.
Expand Down Expand Up @@ -2652,7 +2653,8 @@
% \begin{macrocode}
\keys_define:nn { hyp }
{
,colorlinks .meta:n =
,colorlinks .choice:
,colorlinks / true .meta:n =
{
,pdfborder={0~0~0}
,pdfborderstyle=
Expand All @@ -2662,6 +2664,14 @@
,colormenu =#1
,colorfile =#1
}
,colorlinks / false .meta:n =
{
,colorurl =#1
,colorlink =#1
,colorrun =#1
,colormenu =#1
,colorfile =#1
}
,colorlinks .default:n = {true}
}
% \end{macrocode}
Expand Down

0 comments on commit d06581f

Please sign in to comment.