在我的参考书目中(我使用natbib
),我想使用,@inbook
以便我可以引用作者姓名、版本、出版社、出版年份和论文中的页码。我认为 inbook 是最适合我工作的书目索引。条目看起来像这样
@inbook{a,
author = {Anton, H.},
title = {title},
booktitle = {Calculus: A New Horizon, 6th ed.},
date = {1999},
OPTbookauthor = {bookauthor},
OPTeditor = {editor},
OPTeditora = {editora},
OPTeditorb = {editorb},
OPTeditorc = {editorc},
OPTtranslator = {translator},
OPTannotator = {annotator},
OPTcommentator = {commentator},
OPTintroduction = {introduction},
OPTforeword = {foreword},
OPTafterword = {afterword},
OPTsubtitle = {subtitle},
OPTtitleaddon = {titleaddon},
OPTmaintitle = {maintitle},
OPTmainsubtitle = {mainsubtitle},
OPTmaintitleaddon = {maintitleaddon},
OPTbooksubtitle = {booksubtitle},
OPTbooktitleaddon = {booktitleaddon},
OPTlanguage = {language},
OPToriglanguage = {origlanguage},
OPTvolume = {volume},
OPTpart = {part},
OPTedition = {6th ed.},
OPTvolumes = {volumes},
OPTseries = {series},
OPTnumber = {number},
OPTnote = {note},
OPTpublisher = {Wiley},
OPTlocation = {Newyork},
OPTisbn = {isbn},
OPTchapter = {chapter},
OPTpages = {p324-327},
OPTaddendum = {addendum},
OPTpubstate = {pubstate},
OPTdoi = {doi},
OPTeprint = {eprint},
OPTeprintclass = {eprintclass},
OPTeprinttype = {eprinttype},
OPTurl = {url},
OPTurldate = {urldate},
}
但是,输出结果非常有限,如下所示:
我不太明白问题是什么,也不太清楚是否有更好的方法。如能得到任何帮助,我将不胜感激。
答案1
像这样吗?
MWE(该包filecontents
仅用于将 bib 文件和 TeX 文件合并到一个可编译的 MWE 中):
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Book{Goossens,
author = {Goossens, Michel and Mittelbach, Frank and
Samarin, Alexander},
title = {The LaTeX Companion},
edition = {1},
publisher = {Addison-Wesley},
location = {Reading, Mass.},
year = {1994},
}
@Book{adams,
title = {The Restaurant at the End of the Universe},
author = {Douglas Adams},
series = {The Hitchhiker's Guide to the Galaxy},
publisher = {Pan Macmillan},
year = {1980},
}
@inbook{a,
author = {Anton, H.},
title = {Calculus: A New Horizon},
year = {1999},
edition = {6},
series = {series},
publisher = {Wiley},
chapter = {chapter},
pages = {324--327},
}
\end{filecontents*}
\documentclass[10pt,a4paper]{article}
\usepackage{natbib}
\usepackage{hyperref}
\begin{document}
This is text with \cite{Goossens} and \cite{adams}.
\nocite{*} % to test all bib entrys
\bibliographystyle{plain} %
\bibliography{\jobname}
\end{document}
结果如下: