From eb1826740711319eccade8a634c03d747f461930 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel <albert@zeitkraut.de> Date: Fri, 12 Aug 2022 00:05:49 +0200 Subject: [PATCH] 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 --- data/templates/default.latex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,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}}