DOI 未出现在参考书目条目中

DOI 未出现在参考书目条目中

我在使用 elsarticle 时遇到了这个问题。当我编译文件时,doi 没有出现在参考书目条目中。

\documentclass[review, authoryear]{elsarticle}
\usepackage{etex}
\usepackage{lineno, hyperref, chngcntr, array, booktabs, enumitem, multirow, tabu, subcaption, nicefrac}
\usepackage{amsfonts, amsmath, amsthm, amssymb, cleveref, thmtools, thm-restate, lmodern, natbib}
\usepackage{wrapfig, graphicx, framed, ragged2e, mathtools, epsfig, adjustbox, parskip, doi}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\begin{filecontents}{mybib.bib}
@article{Be05,
author  = "Fernando Bernstein and Awi Federgruen",
title   = "Decentralized Supply Chains with Competing Retailers Under Demand Uncertainty",
journal = "Management Science",
volume  = "51",
number  = "1",
pages   = "18--29",
year    =  "2005",
doi     = "10.1287/mnsc.1040.0218"
}
\end{filecontents}

\begin{document}
\begin{frontmatter}\title{Some Title}\end{frontmatter}
\cite{Be05}
\section*{References}
\bibliographystyle{elsarticle-harv}
\bibliography{mybib}
\end{document}

我使用 TexWorks 编译它,使用选项 pdfLaTeX+MakeIndex+BibTex 或选项 PdfLaTeX/ 然后 bibtex/ 然后 2 次 PdfLaTeX。其他一切都正常。当我使用选项时,问题出现了

authoryear

如果我省略它,它可以正常工作,但是引用会被编号(应该如此),这不是我想要的。

有人能向我解释一下我的代码有什么问题并修复它吗?谢谢。

相关内容