File: testurl.tex

package info (click to toggle)
texlive-base 2014.20141024-2
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 521,220 kB
  • sloc: perl: 41,573; sh: 7,129; makefile: 4,077; ruby: 2,686; xml: 2,387; ansic: 2,277; python: 1,231; lisp: 814; cpp: 695; tcl: 685; awk: 603; php: 65; java: 32; sed: 8
file content (14 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (10)
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}