zepinglee / gbt7714-bibtex-style

GB/T 7714-2015 BibTeX Style
LaTeX Project Public License v1.3c
1.15k stars 196 forks source link

arXiv 文献的 `doi` 没有被输出 #134

Closed sikouhjw closed 1 year ago

sikouhjw commented 1 year ago

编译环境

宏包版本:gbt7714 v2.1.5 标注样式:super

描述问题

我习惯用谷歌学术导出 bib,再去文献官网找 doi 补上。我发现 arXiv 文献的 doi 没有被输出,如果是 url, eprint, archivePrefix 就能正确输出,这是 bug 吗?

MWE 代码:

\begin{filecontents}{xampl-zh.bib}
@article{yang2023sensing,
  title={Sensing Aided Uplink Transmission in {OTFS} ISAC with Joint Parameter Association, Channel Estimation and Signal Detection},
  author={Yang, Xi and Li, Hang and Guo, Qinghua and Zhang, J Andrew and Huang, Xiaojing and Cheng, Zhiqun},
  journal={arXiv preprint arXiv:2305.11548},
  year={2023},
  doi={10.48550/arXiv.2305.11548},
}
\end{filecontents}

\documentclass{article}
\usepackage{gbt7714}
\bibliographystyle{gbt7714-numerical}
\begin{document}
\cite{yang2023sensing}
\bibliography{xampl-zh.bib}
\end{document}

截图: 图片

zepinglee commented 1 year ago

确实是 bug。

zepinglee commented 1 year ago

https://github.com/zepinglee/gbt7714-bibtex-style/commit/25db3b6714ae9cd05068ef7330bfda900e1188e5 中解决。

Screenshot 2023-06-09 at 22 46 42