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
BibTeX, biblatex and biber ⇒ Citations not working if author consists of only one word
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Citations not working if author consists of only one word
Could you post an example database entry? Also, what packages (if any) do you use for citations (natbib, biblatex, ...)?
--
Joseph Wright
--
Joseph Wright
Joseph Wright
Re: Citations not working if author consists of only one word
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
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
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Citations not working if author consists of only one word
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
author = {{Wikipedia}}
This way it should work better.
--
Joseph Wright
Joseph Wright
Citations not working if author consists of only one word
Hi Joseph
Regards
Jannetta
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.josephwright wrote:I'd suggest you force the author name to be left alone by including a second set of braces:
author = {{Wikipedia}}
Regards
Jannetta