aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2022-08-12 00:05:49 +0200
committerAlbert Krewinkel <[email protected]>2022-08-12 00:11:10 +0200
commiteb1826740711319eccade8a634c03d747f461930 (patch)
tree30a2adb5c3a0899c043b0caeac28fae0a6c55c04 /data
parent7a35e7ee684ce40b4d3875da17ce74cfcae0475f (diff)
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
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 638eacabf..e3b54ec4a 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -403,11 +403,12 @@ $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}}
$if(title)$