On 10/21/2009 05:18 PM, Paul Sutton wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I am trying to write my assignment for the open university, using lyx
and Jab ref to handle the bibliography and referencing
my jab ref entry looks like this
@INBOOK{Shaw2005,
chapter = {3},
pages = {21-26},
title = {Supporting Human Rights in
Hancock. R, and Collins.J. 'Priamary Teaching Assistants'},
year = {2005},
author = {Shaw, Linda},
owner = {psutton},
timestamp = {2009.10.21}
If I insert a citation on the screen it reads [shaw2005] and then at the
end what I want is listed correctly. But in the pdf it just displays [1].
This almost always means an error in the BibTeX file. I'm a bit
suspicious of the whitespace in the title field. It looks like there is
a return there or something. If you cut-and-pasted this from somewhere,
that may be the issue. So you may want to check that.
Anyway, you shouldn't do this sort of entry using inbook. That's for
chapters of books, where the book has a single author. This one wants
incollection. You should then have:
editor = {R. Hancock and J. Collins},
booktitle = {Primary Teaching Assistants}
which you can add in the Optional fields, I think, in JabRef, and then
LaTeX will format it for you. Or, better yet, add the book as an
independent book entry (make sure to use the booktitle field there, as
well as title), and then use the crossref field to link the item in the
book to the book. This, obviously, is particularly useful when you're
referencing several papers in the same collection.
rh