
看完之后https://arxiv.org/help/hypertex/bibstyles/我想尝试让 bibtex 字段“eprint”在我的 Latex 文件中工作。所以我下载了 hplain.bst,更改\bibliographystyle{plain}
为\bibliographystyle{hplain}
,将 eprint 字段添加到 bibtex 条目,然后运行pdflatex
。eprint 字段显示在 pdf 文件中,但不是链接。以下是我的 .tex 文件中的一小部分标题:
\documentclass[12pt]{amsart}
\usepackage[hidelinks,pagebackref,pdftex]{hyperref}
我究竟做错了什么?
答案1
根据 egreg 的建议,我查看了kp.bst
(来自 arXiv 页面的链接)。这很有效,因为 arxiv 参考文献现在可以点击;文件会自动根据 arXiv 指定的字段 生成.bst
正确的\href
命令。hyperref
bibtex
由于我更喜欢这种plain.bst
风格(用数字代替名称等),我将相关函数从 中取出kp.bst
,放入 中hplain.bst
,稍加修改,然后将混搭重命名为hyperplain.bst
。如果您感兴趣,我可以通过电子邮件将文件发送给 arXiv 管理员。
答案2
我认为您需要函数 format.eprint ,如utphys.bst
。然后 eprint 字段应该是一个链接。
答案3
utphys.bst 和 kp.bst 确实是支持可点击 URL 的。我也纠结了好久才搞明白。arxiv 页面确实有说明,不过有点模糊。。