diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-05 10:04:36 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-06-05 10:04:36 -0700 |
commit | 242daf33775832576abb34aebcab320e479dd072 (patch) | |
tree | 0684d49476f272a994b615b1fd13c3b91a6ba4ac | |
parent | 02120505d69d4f98dd3a670ac8df62af8a553a27 (diff) | |
download | pandoc-242daf33775832576abb34aebcab320e479dd072.tar.gz |
Added links-as-notes variable to print links as footnotes
-rw-r--r-- | default.latex | 6 |
1 files 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: |