Generalrefrencing website in bib file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
ma501th
Posts: 50
Joined: Tue Apr 08, 2008 7:31 pm

refrencing website in bib file

Post by ma501th »

hi, everytime i compile the bib file i get an error, this is the bib file contents

Code: Select all

@misc{ kidsvids ,
	title = {Kids Vids},
	note = {{\tt http://kidsvid.altec.org}; Last accessed: 09/10/2007},
	year = {2007}
	}

@misc{ kidsspace,
	title = { KidsSpace Toronto Public Library Home},
	note = {{\tt http://www.kidsspace.torontopubliclibrary.ca/story.html}; Last accessed: 12/10/107},
	year = {2007}
	}
the compiler keeps asking for or author or a key for these.
These website dont really have an author but what is a key?

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

refrencing website in bib file

Post by Stefan Kottwitz »

Hi,

why not just add a key for sorting:

Code: Select all

@misc{ kidsvids ,
   key = {kidsvids},
   title = {Kids Vids},
   note = {{\tt http://kidsvid.altec.org}; Last accessed: 09/10/2007},
   year = {2007}
   }
Stefan
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

refrencing website in bib file

Post by Juanjo »

I would also suggest to include the URL in the \url command and load either the url or the hyperref package:

Code: Select all

@misc{ kidsvids ,
   key = {kidsvids},
   title = {Kids Vids},
   note = {\url{http://kidsvid.altec.org}; Last accessed: 09/10/2007},
   year = {2007}
   }
In any case, don't use the obsolete command \tt; at least replace it by \ttfamily or write something like \texttt{th corresponding text here}
Post Reply