elsarticle 的 model3-num-names.bst 中的参考文献中存在杂散标点符号

elsarticle 的 model3-num-names.bst 中的参考文献中存在杂散标点符号

我正在使用model3-num-names.bst来格式化我的引文和参考文献。在一些参考文献中,特别是那些缺少页码的参考文献,我看到条目末尾有多余的分号和逗号。我猜这是因为model3-num-names.bst没有设置处理缺少页码。

在此处输入图片描述

.tex这是重现该问题的最低要求:

\documentclass[review]{elsarticle}
\usepackage{lineno,hyperref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{numcompress}
\bibliographystyle{model3-num-names}
\begin{document}
Citations that are not correct: \cite{Weber2018}, \cite{Miller2015}

Citations that are correct: \cite{Tomlinson2018b}, \cite{Corrigan2016}

\bibliography{mybibfile}
\end{document}

以下是相关的mybibfile.bib

@techreport{Corrigan2016,
    author={Corrigan, Steve},
    title={Introduction to the Controller Area Network ({CAN})},
    institution={Texas Instruments},
    year={2016},
    type={Application Report}
}

@inproceedings{Weber2018,
    author  = {Marc Weber and Simon Klug and Eric Sax and Bastian Zimmer},
    title   = {Embedded Hybrid Anomaly Detection for Automotive {CAN} Communication},
    booktitle   ={9th European Congress on Embedded Real Time Software and Systems (ERTS 2018)},
    year    = {2018},
    month   = {jan}
}

@article{Miller2015,
    title={Remote Exploitation of an Unaltered Passenger Vehicle},
    author={Miller, Charlie and Valasek, Chris},
    journal={Black Hat USA},
    year={2015}
}

@inproceedings{Tomlinson2018b,
    title = "Using A One-Class Compound Classifier To Detect In-Vehicle Network Attacks",
    author = "Tomlinson, {Andrew John} and Jeremy Bryans and Siraj Shaikh",
    year = "2018",
    month = jul,
    day = "6",
    doi = "10.1145/3205651.3208223",
    language = "English",
    isbn = "978-1-4503-5764-7",
    pages = "1926--1929",
    booktitle = "Proceedings of the Genetic and Evolutionary Computation Conference Companion",
    publisher = "Association for Computing Machinery",
    address = "United States",
    url = {https://doi.org/10.1145/3205651.3208223}
}

我对 LaTeX 还比较陌生,不太清楚如何编辑model3-num-names.bst才能修复此问题。如有任何建议或技巧,我将不胜感激!

相关内容