I'm a new LaTeX user... I'm running the TeXShop program on Mac OSX, and I use the BibDesk program to compile .bib files for use in LaTeX.
I am having a problem with getting the @inbook references in .bib files to properly extract editor/book title information from the cross referenced @book reference. For example, I have a .bib file that has the following references:
Code: Select all
@inbook{Frew1997,
Author = {Frew, N.M.},
Crossref = {Liss1997},
Date-Added = {2008-04-09 12:46:14 -0600},
Date-Modified = {2008-04-09 14:00:39 -0600},
Pages = {121--173},
Title = {The role of organic films in air-sea gas exchange}}
@book{Liss1997,
Booktitle = {The Sea Surface and Global Change},
Date-Added = {2008-04-09 12:43:55 -0600},
Date-Modified = {2008-04-09 14:00:23 -0600},
Editor = {Liss, P.S. and Duce, R.A.},
Publisher = {Cambridge University Press},
Year = {1997}}
If I run bibtex to compile this (citing Frew1997 with \nocite{Frew1997}), and then run LaTeX to typeset it, I get the following error in the console:
"Warning--can't use both author and editor fields in Frew1997"
This results in a citation that looks like this:
Frew, N. (1997). The role of organic ï¬lms in air-sea gas exchange, pages 121–173. Cambridge University Press.
So it's pulling some information, but I want the editor and book title in there too.
By contrast, I can make the @inproceedings cross reference work fine, for example if I use this .bib file:
Code: Select all
@inproceedings{Frew1997,
Author = {Frew, N.M.},
Crossref = {Liss1997},
Date-Added = {2008-04-09 12:46:14 -0600},
Date-Modified = {2008-04-09 14:02:15 -0600},
Pages = {121--173},
Title = {The role of organic films in air-sea gas exchange}}
@proceedings{Liss1997,
Booktitle = {The Sea Surface and Global Change},
Date-Added = {2008-04-09 12:43:55 -0600},
Date-Modified = {2008-04-09 14:01:28 -0600},
Editor = {Liss, P.S. and Duce, R.A.},
Publisher = {Cambridge University Press},
Year = {1997}}
Frew, N. (1997). The role of organic ï¬lms in air-sea gas exchange. In Liss, P. and Duce, R., editors, The Sea Surface and Global Change, pages 121–173. Cambridge University Press.
Which is what I want.
So does anybody have any idea why the "In proceedings" crossref works fine, while the "in book" doesn't? I know that the "in book" is extracting information from the referenced entry, because it pulls the date from there. Any ideas?
Thanks,
Brent.