git.iko.soy/typeable/pandoc
on master help sign in
Added links-as-notes variable to print links as footnotes
242daf3John MacFarlane
default.latex+4−2
@@ -107,8 +107,10 @@ $endif$
107 urlcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
107 urlcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
108 linkcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
108 linkcolor=$if(linkcolor)$$linkcolor$$else$blue$endif$,
109 pdfborder={0 0 0}}
109 pdfborder={0 0 0}}
110+$if(links-as-notes)$
110−% Uncomment next line if you want links as footnotes instead of hotlinks:
111+% Make links footnotes instead of hotlinks:
111−% \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
112+\renewcommand{\href}[2]{#2\footnote{\url{#1}}}
113+$endif$
112$if(strikeout)$
114$if(strikeout)$
113\usepackage[normalem]{ulem}
115\usepackage[normalem]{ulem}
114% avoid problems with \sout in headers with hyperref:
116% avoid problems with \sout in headers with hyperref: