BibTeX, biblatex and biberReferencing websites

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
rms502
Posts: 6
Joined: Thu Aug 26, 2010 7:51 pm

Referencing websites

Post by rms502 »

Hi,
I'm trying to refernce a website and wondered if anyone could help. The website I want is: http://www.biology-online.org/4/2_water_homeostasis.htm and I'm using bibtex with a misc entry so:

@Misc{negativefeedback,
OPTkey = {},
OPTauthor = {},
title = {http://www.biology-online.org/4/2_water_homeostasis.htm},
OPThowpublished = {},
OPTmonth = {},
OPTyear = {},
OPTnote = {},
OPTannote = {}
}

But I keep on getting error messages saying I am missing $. I have an other website refernced which seems to work well so can only think that its because this one uses the character _. Is this an illegal symbol? Am very confussed :?
Thanks for your help.
Last edited by rms502 on Fri Aug 27, 2010 6:08 pm, edited 1 time in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

Re: Referencing websites

Post by frabjous »

Yes, _ is reserved for math mode for creating subscripts.

Easiest solution would be to load either the url or the hyperref package and put it as:

title = {\url{http://www.biology-online.org/4/2_water_homeostasis.htm}}

Better yet, put that under "howpublished =" or "note = ", and put the actual name of the webpage under "title". (Some bib styles even allow a url field.)
rms502
Posts: 6
Joined: Thu Aug 26, 2010 7:51 pm

Re: Referencing websites

Post by rms502 »

Hey, thanks thats great :D
Post Reply