BibTeX, biblatex and biberCitations not working if author consists of only one word

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
jannetta
Posts: 46
Joined: Mon Dec 22, 2008 12:59 pm

Citations not working if author consists of only one word

Post by jannetta »

Hi Folks

After trying all kinds of things for hours, because some of my citations weren't generated properly in my pdf document, I discovered that the problems was the author entry. I have quite a few references to web pages, including sites such as Wikipedia. So for author, I just entered Wikipedia. I have for instance a reference to the W3C glossary which also wouldn't show up at all in the pdf document. When I changed it to WWW Consortium, it included the Reference as (Consortium, 2004). Is there any way around this or what would be the correct way of doing this.

I don't know whether I have explained the problem well. Please just ask if you need a better explanation or more information.

Regards
Jannetta

Recommended reading 2024:

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

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

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Citations not working if author consists of only one word

Post by josephwright »

Could you post an example database entry? Also, what packages (if any) do you use for citations (natbib, biblatex, ...)?
--
Joseph Wright
Joseph Wright
jannetta
Posts: 46
Joined: Mon Dec 22, 2008 12:59 pm

Re: Citations not working if author consists of only one word

Post by jannetta »

Hi Joseph

I was just about to post two entries from my BibTex file. The following entry does NOT want to work at all:

@WEBPAGE{Wikipedia2008,
url = {http://en.wikipedia.org/wiki/Code\_smell},
title = {(accessed 2008.03.24) Code Smell},
publisher = {Wikipedia},
author = {W Wikipedia},
year = {2008},
month = {March},
editor = {Wikipedia},
howpublished = {Web site},
owner = {jannetta},
timestamp = {2008.03.24}
}


The next one now works after I changed the author from W3C to WWW Consortium:
@WEBPAGE{Consortium2002,
url = {http://www.w3.org/TR/wsci/},
title = {(accessed 2008.07.22) Web Service Choreography Interface (WSCI) 1.0},
publisher = {WWW Consortium},
author = {WWW Consortium},
year = {2002},
month = {August},
owner = {jannetta},
timestamp = {2008.07.22}
}

I use natbib. Don't know whether it matters, but I use JabRef to maintain my references and generate the BibTex file. In case you wonder about the (accessed ?????) bit. We have to have that in our reference section if it refers to a website because websites can change.

Regards
Jannetta
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Citations not working if author consists of only one word

Post by josephwright »

I'd suggest you force the author name to be left alone by including a second set of braces:

author = {{Wikipedia}}

This way it should work better.
--
Joseph Wright
Joseph Wright
jannetta
Posts: 46
Joined: Mon Dec 22, 2008 12:59 pm

Citations not working if author consists of only one word

Post by jannetta »

Hi Joseph
josephwright wrote:I'd suggest you force the author name to be left alone by including a second set of braces:
author = {{Wikipedia}}
I tried this, but it didn't work. It didn't make a difference to the Wikipedia entry which didn't want to work before either and it broke the Consortium entry which did work before (Well it didn't really work if it was wrong did it? But it was cited and it did show up in the references). Now both only show as (?) in the text and are not included in the references.

Regards
Jannetta
Post Reply