From d445b303accaf13673fee6c905db3749bfd10c29 Mon Sep 17 00:00:00 2001 From: norangebit Date: Sat, 26 Sep 2020 15:13:16 +0200 Subject: [PATCH] Fix color --- latekiss.tex | 55 +++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/latekiss.tex b/latekiss.tex index 877cd7a..b312533 100644 --- a/latekiss.tex +++ b/latekiss.tex @@ -136,32 +136,6 @@ $endif$ \usepackage{xcolor} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} -\hypersetup{ -$if(title-meta)$ - pdftitle={$title-meta$}, -$endif$ -$if(author-meta)$ - pdfauthor={$author-meta$}, -$endif$ -$if(lang)$ - pdflang={$lang$}, -$endif$ -$if(subject)$ - pdfsubject={$subject$}, -$endif$ -$if(keywords)$ - pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, -$endif$ -$if(colorlinks)$ - colorlinks=true, - linkcolor=$if(linkcolor)$$linkcolor$$else$CTlink$endif$, - filecolor=$if(filecolor)$$filecolor$$else$Black$endif$, - citecolor=$if(citecolor)$$citecolor$$else$CTcitation$endif$, - urlcolor=$if(urlcolor)$$urlcolor$$else$CTurl$endif$, -$else$ - hidelinks, -$endif$ - pdfcreator={LaTeX via pandoc, ClassicThesis and LaTeKiSS}} \urlstyle{same} % disable monospaced font for URLs $if(verbatim-in-note)$ \VerbatimFootnotes % allow verbatim text in footnotes @@ -343,6 +317,35 @@ $endif$ \usepackage{acronym} $endif$ +\hypersetup{ +$if(title-meta)$ + pdftitle={$title-meta$}, +$endif$ +$if(author-meta)$ + pdfauthor={$author-meta$}, +$endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ +$if(subject)$ + pdfsubject={$subject$}, +$endif$ +$if(keywords)$ + pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, +$endif$ +$if(colorlinks)$ + colorlinks=true, + linkcolor=$if(linkcolor)$$linkcolor$$else$CTlink$endif$, + filecolor=$if(filecolor)$$filecolor$$else$Black$endif$, + citecolor=$if(citecolor)$$citecolor$$else$CTcitation$endif$, + urlcolor=$if(urlcolor)$$urlcolor$$else$CTurl$endif$, +$else$ + hidelinks, + colorlinks=false, +$endif$ + pdfcreator={LaTeX via pandoc, ClassicThesis and LaTeKiSS} +} + \begin{document} \pagenumbering{roman}