
Я пытаюсь процитировать некоторые главы в книге в .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
, изменить title
на booktitle
, предоставить номера в 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}