LaTeX template: fix behavior of colorlinks variable

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
This commit is contained in:
Albert Krewinkel 2022-08-12 00:05:49 +02:00
parent 7a35e7ee68
commit eb18267407
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -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}}