Permalink
Browse files

Added links-as-notes variable to print links as footnotes

  • Loading branch information...
1 parent 0212050 commit 242daf33775832576abb34aebcab320e479dd072 John MacFarlane committed Jun 5, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 default.latex
View
@@ -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:

0 comments on commit 242daf3

Please sign in to comment.