Help LaTeX with href

I am trying to create a hyperlink using LaTeX. When I use the pdflatex command to compile the file, I get an error.

Corresponding lines of the document:

\documentclass[12pt]{article} \usepackage{hyperref} \begin{document} ... \href{http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html}{gprof} 

pdflatex created a file called missfont.log that contains the following:

 mktextfm pzdr 

What am I doing wrong?

+6
latex
source share
2 answers

Do you have the pzdr font installed? If you are on Debian or Ubuntu, try installing the package recommended by texlive-fonts.

+7
source share

Does the hyperreferencing package offer hyperlinks to arbitrary web pages? I thought it was just for links inside the document (which happens automatically). I would do

 \usepackage{url} 

and

 \url{http://foo.com} 

To format the URL in a document.

ADDED: Thank you, I did not know this about href. But if you are creating a document mainly intended for paper as the intended medium, I think that the URL for formatting the URLs is the way to go. But if you think the href package includes the url package, I would really like it to be installed directly.

+4
source share

All Articles