git.iko.soy/typeable/pandoc
on master help sign in
Added links-as-notes variable to print links as footnotes
commit242daf33775832576abb34aebcab320e479dd072 authorJohn MacFarlane <fiddlosopher@gmail.com> dateTue 5 Jun 2012, 10:04 (14 years ago) parent0212050
1 file changed+4−2
default.latex+4−2
default.latex+4−2
@@ -107,8 +107,10 @@ $endif$
107107 urlcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
108108 linkcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
109109 pdfborder={0 0 0}}
110−% Uncomment next line if you want links as footnotes instead of hotlinks:
111−% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
110+$if(links-as-notes)$
111+% Make links footnotes instead of hotlinks:
112+\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
113+$endif$
112114$if(strikeout)$
113115\usepackage[normalem]{ulem}
114116% avoid problems with \sout in headers with hyperref: