使用 bibliographystyle{naturemag} 编译的 LaTeX 文档末尾的参考列表中没有出现出版年份

Year of publication not appearing in the list of references at the end of a compiled LaTeX document using bibliographystyle{naturemag}

我是 LaTex 新手,所以我使用 overleaf 创建我的引文。我的书目风格是 naturemag。

我的参考文献不包括参考文献列表中的出版年份。

这是我看到的输出示例。

Cite these [1, 2]

References

[1] Claw, K. et al. A framework for enhancing ethical genomic research with indigenous communities. Nature Communications 9, 2957. URL https://doi.org/10.1038/s41467-018-05188-3.

[2] Tsosie, K., Yracheta, J., Kolopenuk, J. & Smith, R. Indigenous data sovereignties and data sharing in biological anthropology. American Journal of Physical Anthropology 174, 183–186. URL https://doi.org/10.1002/ajpa2484. 1

下面是我的 bib.bib 参考书目文件的示例

@article{claw2018a,
  author = {Claw, K.G. and Anderson, M.Z. and Begay, R.L. and Tsosie, K.S. and Fox, K. and Garrison, N.A. and Consortium, S.internship for In peoples in G.},
  title = {A framework for enhancing ethical genomic research with Indigenous communities},
  volume = {9},
  pages = {2957},
  url = {https://doi.org/10.1038/s41467-018-05188-3},
  doi = {10.1038/s41467-018-05188-3},
  language = {en},
  journal = {Nature Communications},
  number = {1},
  date = {2018}
}
@article{tsosie2021b,
  author = {Tsosie, K.S. and Yracheta, J.M. and Kolopenuk, J.A. and Smith, R.W.},
  date = {2021},
  title = {Indigenous data sovereignties and data sharing in biological anthropology},
  volume = {174},
  pages = {183–186},
  url = {https://doi.org/10.1002/ajpa2484},
  doi = {10.1002/ajpa2484},
  language = {en},
  journal = {American Journal of Physical Anthropology},
  number = {2}
}

下面是我运行.

的LaTeX命令
\documentclass{article}
\usepackage[utf8]{inputenc}

\title{paper}
\author{author}
\date{February 2022}

\begin{document}

\maketitle


Cite these \cite{claw2018a,tsosie2021b} 

\bibliographystyle{naturemag}
\bibliography{bib.bib}
\end{document}

您使用的是 bibtex 而不是 biblatex,因此您需要使用不太灵活的 year 字段而不是 date 字段:

@article{claw2018a,
  author = {Claw, K.G. and Anderson, M.Z. and Begay, R.L. and Tsosie, K.S. and Fox, K. and Garrison, N.A. and Consortium, S.internship for In peoples in G.},
  title = {A framework for enhancing ethical genomic research with Indigenous communities},
  volume = {9},
  pages = {2957},
  url = {https://doi.org/10.1038/s41467-018-05188-3},
  doi = {10.1038/s41467-018-05188-3},
  language = {en},
  journal = {Nature Communications},
  number = {1},
  year = {2018}
}
@article{tsosie2021b,
  author = {Tsosie, K.S. and Yracheta, J.M. and Kolopenuk, J.A. and Smith, R.W.},
  year = {2021},
  title = {Indigenous data sovereignties and data sharing in biological anthropology},
  volume = {174},
  pages = {183–186},
  url = {https://doi.org/10.1002/ajpa2484},
  doi = {10.1002/ajpa2484},
  language = {en},
  journal = {American Journal of Physical Anthropology},
  number = {2}
}