Skip to content

Commit

Permalink
LaTeX template: fix behavior of colorlinks variable
Browse files Browse the repository at this point in the history
Fixes a regression that required the `boxlinks` variable to be set in
addition to the usual link coloring variables. Otherwise links were
never colored in LaTeX PDF output.

Fixes: #8226
  • Loading branch information
tarleb committed Aug 11, 2022
1 parent 7a35e7e commit eb18267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/templates/default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,11 @@ $if(colorlinks)$
filecolor={$if(filecolor)$$filecolor$$else$Maroon$endif$},
citecolor={$if(citecolor)$$citecolor$$else$Blue$endif$},
urlcolor={$if(urlcolor)$$urlcolor$$else$Blue$endif$},
$endif$
$else$
$if(boxlinks)$
$else$
hidelinks,
$endif$
$endif$
pdfcreator={LaTeX via pandoc}}

Expand Down

0 comments on commit eb18267

Please sign in to comment.