引用一本書的章節

引用一本書的章節

我試圖在.bib文件中引用一本書中的一些章節,但是當我編譯文件時.tex,我得到了一些沒有作者姓名的章節。我不知道原因以及如何解決這個問題。有什麼建議麼?

代碼:

  @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}
  }

輸出:

輸出

答案1

您似乎誤用了該chapter欄位。我建議你將chapter字段重命名為title,更改titlebooktitle,在字段中提供數字chapter,並且還提供pages字段。

正如 @moewe 在評論中指出的那樣,為本書的四章中的每一章提供單獨的條目實際上沒有什麼意義。您可能希望為整本書提供一個條目,並更具體地說明您在引文標註中引用的章節。

完整的 MWE,保留四個單獨的條目(每一章一個):

在此輸入影像描述

\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}

相關內容