summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hyperref/test/testurl.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/hyperref/test/testurl.tex')
-rw-r--r--Master/texmf-dist/doc/latex/hyperref/test/testurl.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/hyperref/test/testurl.tex b/Master/texmf-dist/doc/latex/hyperref/test/testurl.tex
new file mode 100644
index 00000000000..d2a2a6f0b6d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hyperref/test/testurl.tex
@@ -0,0 +1,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}