引文来自同一第一作者但不同年份

引文来自同一第一作者但不同年份

我的问题如下,我在 Bibtex 中有两篇文章由同一第一作者在两个不同的年份发表,我想以“作者-年份”格式在文中引用它们。尽管我尝试在 Bibtex 中使用不同的引用键条目反复输入引文,但其中一个参考文献在文中显示为问号 (?),而其余所有参考文献都显示正常。

梅威瑟:

\documentclass[preprint,12pt,authoryear]{elsarticle}

\usepackage{natbib} 

\biboptions{comma,round}
\biboptions{semicolon}


\begin{document}

[….text………. with following commands for in-text citations: \citep and \citet]

\end{document }

参赛作品:

@article{Ratnayake,
    Author = {Ratnayake, W.M.N.,Hansen, StevenL. and Kennedy, MichaelP.},
    Journal = {Journal of the American Oil Chemists' Society},
    Number = {6},
    Pages = {475-488},
    Title = {{Evaluation of the CP-Sil 88 and SP-2560 GC Columns Used in the Recently Aapproved AOCS Official Method Ce 1h-05: Determination of cis-, trans-, saturated, monounsaturated, and polyunsaturated fatty acids in vegetable or non-ruminant Animal Oils and Fats by Capillary GLC Method}},
    Volume = {83},
    Year = {2006}}

在文中引用此参考文献时,该参考文献显示为问号

@inbook{Hernandez,
    Author = {W.M. Nimal Ratnayake and Cristina Cruz-Hernandez},
    Chapter = {Chapter 5},
    Edition = {second edition},
    Editor = {Destaillats, Fr{\'e}d{\'e}ric and S{\'e}b{\'e}dio, Jean-Louis and Dionisi, Fabiola and Chardigny, Jean-Michel},
    Pages = {105 - 146},
    Publisher = {Woodhead Publishing},
    Series = {Oily Press Lipid Library Series},
    Title = {Trans Fatty Acids in Human Nutrition (second edition)},
    Year = {2012}}

非常感谢您的任何反馈!

答案1

第一个 bib-Entry(Ratnayake)在前两个作者之间缺少一个“and”。

您应该看看您的 BibTeX 警告:

BibTeX>  Warning-- can't use both author and editor fields in Hernandez

解释如下这里:这个想法是,一个inbook条目引用一个book条目,因此不应该有一个编辑器。

\documentclass{article}

\usepackage{natbib} 
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}

@article{Ratnayake,
Author = {Ratnayake, W.M.N. and Hansen, Steven L. and Kennedy, Michael P.},
Journal = {Journal of the American Oil Chemists' Society},
Number = {6},
Pages = {475-488},
  Title = {{Evaluation of the CP-Sil 88 and SP-2560 GC Columns Used in the Recently Aapproved AOCS Official Method Ce 1h-05: Determination of cis-, trans-, saturated, monounsaturated, and polyunsaturated fatty acids in vegetable or non-ruminant Animal Oils  and Fats by Capillary GLC Method}},
Volume = {83}, 
Year = {2006}}

@book{HernandezBook,
Editor = {Destaillats, Fr{\'e}d{\'e}ric and S{\'e}b{\'e}dio, Jean-Louis and Dionisi, Fabiola and Chardigny, Jean-Michel},
title = {Trans Fatty Acids in Human Nutrition (second edition)},
Publisher = {Woodhead Publishing},
Series = {Oily Press Lipid Library Series},
Edition = {second edition},
Year = {2012},
volume = {1},
}

@inbook{Hernandez,
Author = {W.M. Nimal Ratnayake and Cristina Cruz-Hernandez},
Chapter = {5},
Pages = {105 - 146},
crossref="HernandezBook",
}

@incollection{RatnayakeCollection,
Author = {Ratnayake, W.M.N. and Cruz-Hernandez, C.},
Booktitle = {Trans Fatty Acids in Human Nutrition},
Pages = {105-146},
Publisher = {Woodhead Publishing},
Title = {Analysis of Trans Fatty Acids of Partially Hydrogenated Vegetable Oils and Dairy Products},
Year = {2009}
}

\end{filecontents*}

\begin{document}
\nocite{*}
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document}

相关内容