# URL for “article” (and other) entries of the .bib file?

My .bib file contains the following entry:

@Article{ LM11,
title = "Name of paper",
author = "Author A and Author B",
journal = "Arxiv",
year = "2011",
url = "http://arxiv.org/PS_cache/arxiv/pdf/..."


The problem: when compiling, the title/author/journal shows ok, the URL does not appear at all. Same goes with similar entry types (e.g. book)

The bibliography is included in the following two lines:

\bibliography{bib_filename}
\bibliographystyle{plain}

-
If you would use biblatex, then there is option url controlling whether URL should be shown in non-online entries, which is true by default, so it would work out-of-the-box. –  przemoc Jun 26 '11 at 14:39

The plain bibliography style does not support the url field. Use e.g. the plainurl style instead (and load the url package).

\documentclass{article}

\usepackage{url}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@Article{ LM11,
title = "Name of paper",
author = "Author A and Author B",
journal = "Arxiv",
year = "2011",
url = "http://arxiv.org/PS_cache/arxiv/pdf/..."
}
\end{filecontents}

\begin{document}

Some text \cite{LM11}.

\bibliographystyle{plainurl}
\bibliography{\jobname}

\end{document}


(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)

-
+1 Thanks! Although I first wondered why it didnt work, I realized I had to run BibTex again, then build the PDF one more time :) –  Philip Daubmeier Jun 15 '12 at 15:06