File: testurl.tex

package info (click to toggle)
tetex-src 2.0.2a-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 71,124 kB
  • ctags: 1,576
  • sloc: makefile: 1,764; sh: 1,181; perl: 925; lisp: 342; python: 251; sed: 138; ansic: 138; xml: 96; yacc: 52
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}