Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For some reason my bibliography is not showing the title of the book for my INBOOK entry. I am trying to use crossref to cross reference the book, but the bibliography only shows the chapter title.

I've also tried using title for the chapter title and booktitle for the book's title, but not no avail.

The referenced book entry is also after the inbook entry (an apparent requirement)

This is my bibtex source:

@INBOOK{sweetser04,
  pages = {627-637},
  title = {How to Build Evolutionary Algorithms for Games},
  author = {Sweetser, Penny},
  crossref = {aigpw2}
}

@BOOK{aigpw2,
  title = {AI Game Programming Wisdom 2},
  publisher = {Charles River Media},
  year = {2004},
  editor = {Rabin, Steve},
  address = {Hingham, Massachusetts},
  edition = {1}
}

The cross reference seems to work but inbook is missing the book title and editor:

Sweetser, Penny, How to Build Evolutionary Algorithms for Games, 1st ed. Hingham, Massachusetts: Charles River Media, 2004, pp. 627-637.

and incollection is missing the edition and book title:

Sweetser, Penny, "How to Build Evolutionary Algorithms for Games", S.Rabin, Ed. Hing- ham, Massachusetts: Charles River Media, 2004, pp. 627-637.

I was expecting:

Sweetser, Penny, "How to Build Evolutionary Algorithms for Games" in AI Game Programming Wisdom 2, 1st ed. Hingham, Massachusetts: Charles River Media, 2004, pp. 627-637.

Has anyone else run into this issue using IEEEtran?

I am using BibTex v0.99d with pdfTeX v3.1415926-2.4-1.40.13 (MikTex 2.9 64bit) with the newest IEEEtran.bst from http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/bibtex/

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The crossref feature retrieves missing fields from the referenced item. Therefore, the book should have a booktitle field, which can be used in incollection. More details can be found in the bibtex manual.

Here's some code that gives what you're looking for:

\documentclass{article}
\usepackage{filecontents}

\begin{filecontents}{refs.bib}
@incollection{sweetser04,
  pages = {627-637},
  title = {How to Build Evolutionary Algorithms for Games},
  author = {Sweetser, Penny},
  crossref = {aigpw2}
}
@book{aigpw2,
  title = {AI Game Programming Wisdom 2},
  booktitle = {AI Game Programming Wisdom 2},
  publisher = {Charles River Media},
  year = {2004},
  editor = {Rabin, Steve},
  address = {Hingham, Massachusetts},
  edition = {1}
}
\end{filecontents}

\begin{document}

Let's cite something~\cite{sweetser04}.

\bibliography{refs}
\bibliographystyle{IEEEtran}

\end{document}

enter image description here

share|improve this answer
    
that worked, thank you! –  gordonk Jan 16 at 9:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.