# URL of cited web site in bibliography

I am using natbib und the chicago style as bibliography style. I am trying to cite a web site, but in the bibliography the URL (given in the BibTeX entry) is not printed.

Is there a simple solution to this matter? What am I doing wrong?

ok, as a little example (the entries are generated via Mendeley)

@misc{Carlson2011,
author = {Carlson, Nicholas},
title = {{How Many Users Does Twitter REALLY  Have?}},
year = {2011}
}


and the output in chicago-style looks like this:

Carlson, N. (2011). How Many Users Does Twitter REALLY Have?

-
Welcome to TeX Stack Exchange! In order for the participants of this group to be in a better position to provide advice, it would be helpful if you provided a minimum working example (MWE). In the present case, it would be especially helfpul if you provided a specific example of a bib entry that has a URL you're trying to get typeset but (as of now) is not. –  Mico Nov 26 '11 at 15:40
Hi! It's hard to provide a example, since it just doen't include the url field of the respective BibTex entry. Maybe that is a general issue with the bibstyle chicago? –  Thomas Nov 26 '11 at 15:57
@Thomas: No there is no general issue. –  Marco Daniel Nov 26 '11 at 16:56
Can you place one of the entries in your BibTeX file that you know has a URL? Perhaps there's an issue with the way it is formatted. –  qubyte Nov 26 '11 at 17:17
ok, i edited my question. –  Thomas Nov 26 '11 at 17:22

The style chicago provides the following entries:

address    author    booktitle      chapter
edition    editor    howpublished   institution
journal    key       month          note
number     organization             pages
publisher  school    series         title
type       volume    year


You see there is no entry url. To use one you can use the entry note:

note={\url{www.businessinsider.com/chart-of-the-day-how-many-users-does-twitter-really-have-2011-31/3}}


EDIT

To find which entries will be supported by a bibliography style you can open the relevant bibliography file. The extension of such a file is bst. To find the file on your computer use the command kpsewhich:

marco@marco-linux:~\$ kpsewhich chicago.bst
/usr/local/texlive/2011/texmf-dist/bibtex/bst/chicago/chicago.bst


To open the file via the terminal you can use in Ubuntu:

gedit kpsewhich chicago.bst


on a Mac:

open kpsewhich chicago.bst


In the file you find all provided entries in the following structure at the beginning of the file:

ENTRY
author
...
}
{}


An example:

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{Carlson2011,
author = {Carlson, Nicholas},
title = {{How Many Users Does Twitter REALLY  Have?}},
year = {2011}
}
\end{filecontents}
\usepackage{natbib}
\usepackage{hyperref}
\begin{document}
\cite{Carlson2011}
\bibliography{\jobname}
\bibliographystyle{chicago}
\end{document}


The example uses the package hyperref to provide the command \url. Instead you can use the package url.

-

I checked the file chicago.bst on my TeX system (MacTeX 2011): its file date is "28 August 1992" and its abstract notes that it is a "BibTeX bibliography style that follows the 'B' reference style of the 13th Edition of the Chicago Manual of Style". Given that this style file was created in 1992, it's probably not surprising that it does not recognize (let alone process) the "URL" field of a bib entry. Hence, even if your bib entries have url fields, they are not going to be printed out if you use this style file.

A real solution would be to find a (much more!) recent style file that implements the recommendations of the current, i.e., 16th edition of "Chicago". Off the top of my head, I'm not aware of such a file, but hopefully other participants in this group can chime in and provide advice. A temporary workaround (i.e., until you manage to find such a .bst file) is to change the field type from "url" to "note" of your bib entries. If you choose to pursue this route, you will also need to encase the URLs in the command \url{...} and load the url package with the hyphens option, i.e., \usepackage[hyphens]{url}. Taking your example, you'd rewrite it as:

@misc{Carlson2011,
author = {Carlson, Nicholas},
title = {{How Many Users Does Twitter REALLY Have?}},
year = {2011}
}


Alternatively, you could consider switching from bibtex/natbib to biblatex and loading the package biblatex-chicago. See the question bibtex vs. biber and biblatex vs. natbib for some guidance on how to achieve the (not too onerous) transition from bibtex/natbib to biblatex.

-

If you are willing to switch to biblatex (see bibtex vs. biber and biblatex vs. natbib for the many advantages of biblatex), you could use its very complete implementation of the chicago style, biblatex-chicago. It provides an online entry type, which is specifically tailored for online publications / websites (url, date accessed, etc.).

-

I've managed to produce a new chicago.bst file with url included thanks to this script that adds url support for any bst file.

If you prefer you can download my chicago.bst file here

-