![参考文献未显示 - Bibtex](https://linux22.com/image/421471/%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E6%9C%AA%E6%98%BE%E7%A4%BA%20-%20Bibtex.png)
\documentclass[12pt,a4 paper,title page,]{article}
\usepackage[a4paper, total={6.5in, 8.5in}]{geometry}
\usepackage{amsmath}
\numberwithin{equation}{section}
\usepackage{graphicx}
\graphicspath{ {./Images/} }
\usepackage{tikz}
\usepackage{siunitx}
\DeclareUnicodeCharacter{2009}{\,}
\usepackage[export]{adjustbox}
\usepackage[utf8]{inputenc}
\usepackage{float}
\usepackage{url}
\usepackage[normalem]{ulem}
\usepackage{cite}
\begin{document}
\section{Method}
In the first part of the study, I'll discuss the different Hubble constant measurement techniques...\cite{Riess2009}.
\bibliography{References}
\bibliographystyle{unsrt}
\end{document}
当我这样做时它会打印
[1] Adam G. Riess 等。利用哈勃太空望远镜通过差分距离阶梯重新测定哈勃常数。天体物理杂志,699:539–563,2009 年。
我的参考看起来像
@article{Riess2009,
author = "Riess, Adam G. and others",
title = "{A Redetermination of the Hubble Constant with the Hubble Space Telescope from a Differential Distance Ladder}",
eprint = "0905.0695",
archivePrefix = "arXiv",
primaryClass = "astro-ph.CO",
doi = "10.1088/0004-637X/699/1/539",
journal = "Astrophys. J.",
volume = "699",
pages = "539--563",
year = "2009"
}
如你看到的
eprint = "0905.0695"
archivePrefix = "arXiv"
primaryClass = "astro-ph.CO"
在参考文献中缺失。我怎样才能让它们出现在参考文献中。还有,有没有办法通过链接连接它,这样当我点击这个参考文献时,它会直接把我发送到https://arxiv.org/abs/0905.0695
谢谢
答案1
在回答你的问题之前,让我指出,你获得的 BibTeX 源数据(可能来自某个在线存储库)是一个奇怪的混合体,@article
一方面适合于类型的条目,@misc
另一方面适合于类型的条目。也就是说,如果一个人去https://arxiv.org/abs/0905.0695并点击窗口右侧的“导出引文”链接,可以选择两种完全不同的引文数据格式。一种是已发表的期刊文章格式,即
@article{Riess_2009,
title={A REDETERMINATION OF THE HUBBLE CONSTANT WITH THE HUBBLE SPACE TELESCOPE FROM A DIFFERENTIAL DISTANCE LADDER},
volume={699},
ISSN={1538-4357},
url={http://dx.doi.org/10.1088/0004-637X/699/1/539},
DOI={10.1088/0004-637x/699/1/539},
number={1},
journal={The Astrophysical Journal},
publisher={IOP Publishing},
author={Riess, Adam G. and Macri, Lucas and Casertano, Stefano and Sosey, Megan and Lampeitl, Hubert and Ferguson, Henry C. and Filippenko, Alexei V. and Jha, Saurabh W. and Li, Weidong and Chornock, Ryan and Sarkar, Devdeep},
year={2009},
month={Jun},
pages={539–563}
}
另一种是 Arxiv eprint 形式,即
@misc{riess2009redetermination,
title={A Redetermination of the Hubble Constant with the Hubble Space Telescope from a Differential Distance Ladder},
author={Adam G. Riess and Lucas Macri and Stefano Casertano and Megan Sosey and Hubert Lampeitl and Henry C. Ferguson and Alexei V. Filippenko and Saurabh W. Jha and Weidong Li and Ryan Chornock and Devdeep Sarkar},
year={2009},
eprint={0905.0695},
archivePrefix={arXiv},
primaryClass={astro-ph.CO}
}
我认为你应该选择其中一种出版格式——但是不是两者的混合体。
让我们坚持使用该@article
版本,但同时(a)修复字段的奇怪大写问题title
和(b)根据您在帖子中显示的内容截断作者列表:
@article{Riess_2009,
title={{A Redetermination of the Hubble Constant with the
Hubble Space Telescope from a Differential Distance Ladder}},
volume={699},
ISSN={1538-4357},
url={http://dx.doi.org/10.1088/0004-637X/699/1/539},
DOI={10.1088/0004-637x/699/1/539},
number={1},
journal={The Astrophysical Journal},
publisher={IOP Publishing},
author={Riess, Adam G. and others},
year={2009},
month={Jun},
pages={539-563}
}
请注意,此条目包含名为doi
、url
和 的字段issn
。
附言:重要的是要意识到,unsrt
自 20 世纪 80 年代中期以来,参考书目样式基本上一直没有改变。当时,互联网还只是 Tim Berners-Lee 眼中的一丝曙光,还没有人想到将出版物以电子形式存储在由其 URL 标识的(电子)位置。因此,也许并不奇怪,参考书目样式unsrt
尚未被编程为识别诸如doi
和 之类的字段url
;无法识别的字段将被忽略。
那么该怎么办呢?我建议您从使用cite
引文管理包和unsrt
参考书目样式切换到使用natbib
引文管理包和unsrtnat
参考书目样式。您还应该加载url
(或者更好的是)包——如果您希望 URL 字符串成为可点击的超链接,则xurl
还应该加载包。hyperref
issn
观察、doi
和字段的内容是否url
全部显示。这大概是太多信息了;您可能决定删除issn
和doi
字段。
\documentclass[12pt,a4paper,titlepage]{article}
\usepackage[a4paper, total={6.5in, 8.5in}]{geometry}
\begin{filecontents}[overwrite]{References.bib}
@article{Riess_2009,
title={{A Redetermination of the Hubble Constant with the
Hubble Space Telescope from a Differential Distance Ladder}},
volume={699},
ISSN={1538-4357},
url={http://dx.doi.org/10.1088/0004-637X/699/1/539},
DOI={10.1088/0004-637x/699/1/539},
number={1},
journal={The Astrophysical Journal},
publisher={IOP Publishing},
author={Riess, Adam G. and others},
year={2009},
month={Jun},
pages={539-563}
}
\end{filecontents}
\usepackage[numbers]{natbib}
\bibliographystyle{unsrtnat}
\usepackage{xurl}
\usepackage[colorlinks,allcolors=blue]{hyperref}
\begin{document}
\cite{Riess_2009}
\bibliography{References}
\end{document}