BibTeX, biblatex and biberBiBTex & Mendeley - How to add a URL reference?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
RiW
Posts: 29
Joined: Wed Sep 01, 2010 12:11 am

BiBTex & Mendeley - How to add a URL reference?

Post by RiW »

Hi,

I've been using Mendeley software to store all my research references and it's able to produce a BibTex library file for integration with Latex. I've got this working but am having a problem with websites.

Mendeley has a webpage type and it produces the following entry in the BibTex file:

Code: Select all

@misc{Telegraph2009,
booktitle = {The Telegraph},
title = {{Golf balls take 1,000 years to decompose}},
url = {http://www.telegraph.co.uk/earth/earthnews/6540852/Golf-balls-take-1000-years-to-decompose.html},
year = {2009}
}
Whilst I can cite this properly in Latex, it doesn't print the URL in the bibliography section, only the title and year. As a workaround I can put the URL as the author, although it then doesn't appear correctly formatted in the references section.

Therefore, I was wondering how the best way to include a Webpage reference was please, so it appears correctly formatted as a reference. I'm using "ieeetr" type bibliography, although this isn't essential.

Any help greatly appreciated!

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

BiBTex & Mendeley - How to add a URL reference?

Post by frabjous »

I think how @misc and other lesser used bibtex categories are handled varies widely between styles. You could look around for one that handled things as is the way you wanted, but if you wanted to stick with ieeetr, I'd personally probably use something like:

Code: Select all

@misc{Telegraph2009,
    howpublished = {\textit{The Telegraph} (online)},
    title = {{Golf balls take 1,000 years to decompose}},
    note = {\url{http://www.telegraph.co.uk/earth/earthnews/6540852/Golf-balls-take-1000-years-to-decompose.html}},
    year = {2009}
}
You'll need to add \usepackage{url} or \usepackage{hyperref} to your document to handle the \url command.
RiW
Posts: 29
Joined: Wed Sep 01, 2010 12:11 am

Re: BiBTex & Mendeley - How to add a URL reference?

Post by RiW »

Thanks, I'll give that a go. If anyone knows a way to integrate this fix into the Mendeley software then please let me know.

Thanks again.
Post Reply