Skip to content

Commit

Permalink
templates/latex: in-document links should not be black
Browse files Browse the repository at this point in the history
Turns out internal links in PDFs work fine, they were just invisible.
This change sets the default pandoc colors to all types of links so
that we can override them in the preamble if needed.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Sep 26, 2023
1 parent 2bba471 commit 4334de7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/addiva.latex
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,10 @@ $endif$
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
urlcolor=blue,
linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$,
urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$,
filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$,
citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$,
bookmarks=true,
bookmarksnumbered=true
}
Expand Down

0 comments on commit 4334de7

Please sign in to comment.