From 242daf33775832576abb34aebcab320e479dd072 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 5 Jun 2012 10:04:36 -0700 Subject: [PATCH] Added links-as-notes variable to print links as footnotes --- default.latex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/default.latex b/default.latex index 87d71f567..de56e7bdf 100644 --- a/default.latex +++ b/default.latex @@ -107,8 +107,10 @@ $endif$ urlcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$, pdfborder={0 0 0}} -% Uncomment next line if you want links as footnotes instead of hotlinks: -% \renewcommand{\href}[2]{#2\footnote{\url{#1}}} +$if(links-as-notes)$ +% Make links footnotes instead of hotlinks: +\renewcommand{\href}[2]{#2\footnote{\url{#1}}} +$endif$ $if(strikeout)$ \usepackage[normalem]{ulem} % avoid problems with \sout in headers with hyperref: