summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hyperref/test/testurl.tex
blob: d2a2a6f0b6d4e4c18b4311d649f34d7d9414cef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\documentclass[11pt]{article}
\usepackage[]{color}
\usepackage[letterpaper,colorlinks,breaklinks,backref]{hyperref}
%\usepackage{url} %use as alternative to hyperref for testing
\newcommand{\myurl}[1]{{\url{{#1}}}}

\begin{document}
\url{http://www.wmich.edu/mus-theo/etg/et_guide.html} %ok now with hyperref, ok with url
\myurl{http://www.wmich.edu/mus-theo/etg/et_guide.html} %fails with hyperref, ok with url

\cite{THE}
\bibliographystyle{unsrt}
\bibliography{testurl}%fails with hyperref, ok with url
\end{document}