From 2b7111ddec1d031581a1008d661d6131fe9f0937 Mon Sep 17 00:00:00 2001 From: Hugo Roy Date: Thu, 20 Aug 2015 15:26:11 +0200 Subject: Enable to hide links as plain text (hyperref option) Add a variable "hidelinks" to allow to hide links as plain text in LaTeX. It removes any color and borer. The variable does not need any particular argument (see https://www.tug.org/applications/hyperref/manual.html) --- default.latex | 1 + 1 file changed, 1 insertion(+) diff --git a/default.latex b/default.latex index 26684135d..bc0f34352 100644 --- a/default.latex +++ b/default.latex @@ -69,6 +69,7 @@ $endif$ citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, + $if(hidelinks)$hidelinks=$hidelinks$,$endif$ pdfborder={0 0 0}} \urlstyle{same} % don't use monospace font for urls $if(lang)$ -- cgit v1.2.3 From fbc42d0bbcafd53f8e43070e2f3448241b7b332b Mon Sep 17 00:00:00 2001 From: Hugo Roy Date: Thu, 20 Aug 2015 20:11:34 +0200 Subject: hidelinks take no argument --- default.latex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.latex b/default.latex index bc0f34352..9ca1298ea 100644 --- a/default.latex +++ b/default.latex @@ -69,8 +69,8 @@ $endif$ citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, - $if(hidelinks)$hidelinks=$hidelinks$,$endif$ - pdfborder={0 0 0}} + pdfborder={0 0 0} + $if(hidelinks)$,hidelinks,$endif$} \urlstyle{same} % don't use monospace font for urls $if(lang)$ \ifxetex -- cgit v1.2.3