1

This question already has an answer here:

I'm trying to cite some chapters in a book in a .bib file however when I compile the .tex file, I got some of the chapters without the authors names. I don't know the reason and how to fix this. Any suggestions?

Code:

  @inbook{bitam2014bio1,
  title={Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks},
  author={Bitam, Salim and Mellouk, Abdelhamid},
  chapter = {Vehicular Ad Hoc Networks},
  year={2014},
  publisher={John Wiley \& Sons}
  }

  @inbook{bitam2014bio2,
  title={Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks},
  author={Bitam, Salim and Mellouk, Abdelhamid},
  chapter = {Routing for Vehicular Ad Hoc Networks},
  year={2014},
  publisher={John Wiley \& Sons}
  }

  @inbook{bitam2014bio3,
  title={Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks},
  author={Bitam, Salim and Mellouk, Abdelhamid},
  chapter = {Conventional Routing Protocols for VANETs},
  year={2014},
  publisher={John Wiley \& Sons}
  }

  @inbook{bitam2014bio4,
  title={Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks},
  author={Bitam, Salim and Mellouk, Abdelhamid},
  chapter = {Bio-inspired Routing Protocols for VANETs},
  year={2014},
  publisher={John Wiley \& Sons}
  }

Output:

Output

marked as duplicate by TeXnician, Moriambar, moewe biblatex May 2 '17 at 8:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What do you mean "without the author name"? You obviously use a bibstyle which suppresses the author (and uses a line). – TeXnician May 2 '17 at 5:52
  • @TeXnician In the output, [12] doesn't have the authors names like [11]. I'm using ieee style. – F 505 May 2 '17 at 5:59
  • Yeah and obviously this suppresses the repetition of authors. That's a style decision! – TeXnician May 2 '17 at 6:10
  • 3
    If the OP uses biblatex as tagged (the biblatex-ieee) style, they will need the option dashed=false. – moewe May 2 '17 at 6:18
  • @moewe man it worked!! Thanks a lot. I suggest you to post this as an answer – F 505 May 2 '17 at 6:22
3

You appear to be mis-using the chapter field. I suggest you rename the chapter field to title, change title to booktitle, provide numbers in the chapter field, and also provide pages fields.

As @moewe has pointed out in a comment, it actually makes little sense to provide separate entries for each of the book's four chapters. You may want to provide a single entry for entire book and be more specific as to which chapter you're citing in the citation call-outs.

A full MWE that keeps the four separate entries (one for each chapter):

enter image description here

\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@inbook{bitam2014bio1,
  title        = "Vehicular Ad~Hoc Networks",
  booktitle    = "Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks",
  author       = "Bitam, Salim and Mellouk, Abdelhamid",
  chapter      = 1,
  pages        = "1-27",
  year         = 2014,
  publisher    = "John Wiley~\& Sons",
}
@inbook{bitam2014bio2,
  title        = "Routing for Vehicular Ad~Hoc Networks",
  booktitle    = "Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks",
  author       = "Bitam, Salim and Mellouk, Abdelhamid",
  chapter      = 2,
  pages        = "29-48",
  year         = 2014,
  publisher    = "John Wiley~\& Sons",
}
@inbook{bitam2014bio3,
  title        = "Conventional Routing Protocols for {VANETs}",
  booktitle    = "Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks",
  author       = "Bitam, Salim and Mellouk, Abdelhamid",
  chapter      = 3,
  pages        = "49-78",
  year         = 2014,
  publisher    = "John Wiley~\& Sons",
}
@inbook{bitam2014bio4,
  title        = "Bio-inspired Routing Protocols for {VANETs}",
  booktitle    = "Bio-inspired Routing Protocols for Vehicular Ad-Hoc Networks",
  author       = "Bitam, Salim and Mellouk, Abdelhamid",
  chapter      = 4,
  pages        = "79-119",
  year         = 2014,
  publisher    = "John Wiley~\& Sons",
}
\end{filecontents}

\documentclass{IEEEtran}
\usepackage[backend=biber,style=ieee,dashed=false]{biblatex}
\addbibresource{mybib.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}
  • 3
    I don't think this is actually a @incollection eu.wiley.com/WileyCDA/WileyTitle/productCd-1848216637.html seems to suggest to me that we are indeed talking about a monograph by the two authors here, so @inbook fits the bill perfectly. Your other points about title etc. are of course valid. I would argue, however, that there is little point in creating a separate @inbook entry for all chapters of a @book one cites: Just cite the book and give the page. – moewe May 2 '17 at 8:04
  • 1
    @moewe - You're right about the @incollection versus @inbook thing. (I think I was guided by my bibtex-related experience, where it it indeed necessary to use @incollection.) I'll change my answer accordingly. – Mico May 2 '17 at 8:14

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