我正在为一家小型地区性杂志撰写出版物,但我找不到符合其指南的现有 natbib 书目样式。我并不是 LaTeX 专家,事实上,我正在摸索着使用它。我尝试makebst
在终端中使用命令,但在几个多项选择题中,提供的答案都不符合杂志对其格式的要求。我是否应该尽可能接近,makebst
然后进入并进行必要的编辑?或者对于不擅长使用 LaTeX 的人来说,是否有更好的选择?
答案1
你可以试试https://github.com/nzhagen/bibulous。
我认为语法比bst更简单。
main.tex
\documentclass{article}
\begin{document}
\cite{Baumann23}
\cite{RungsirisilpCTM23}
\cite{BernalC23}
\bibliographystyle{mybst}
\bibliography{ref}
\end{document}
ref.bib
@book{Baumann23,
author = {Franziska Baumann},
title = {Embodied Human-Computer Interaction in Vocal Music Performance},
publisher = {Springer},
year = {2023}
}
@article{RungsirisilpCTM23,
author = {Nuttawat Rungsirisilp and Pakaratee Chaiyawat and Sakaowrat Techataweesub and Aungsunee Meesrisuk and Yodchanan Wongsawat},
title = {Applying Action Observation During a Brain-Computer Interface on Upper Limb Recovery in Chronic Stroke Patients},
journal = {{IEEE} Access},
volume = {11},
pages = {4931--4943},
year = {2023}
}
@inproceedings{BernalC23,
author = {Arturo Miguel Russell Bernal and Jane Cleland{-}Huang},
title = {Hierarchically Organized Computer Vision in Support of Multi-Faceted Search for Missing Persons},
booktitle = {{FG}},
pages = {1--7},
publisher = {{IEEE}},
year = {2023}
}
mybst.bst
TEMPLATES:
article = <au>. <title>. <journal>, <year>[, <volume>(<issue>):<startpage>--<endpage>|, <volume>:<startpage>--<endpage>|, <startpage>--<endpage>].
book = <au>. <title>. <publisher>, <year>[, <volume>(<issue>):<startpage>--<endpage>|, <volume>:<startpage>--<endpage>|, <startpage>--<endpage>].
inproceedings = <au>. <title>. <booktitle>, <year>[, <volume>:<startpage>--<endpage>|, <startpage>--<endpage>].
SPECIAL-TEMPLATES:
authorlist = <author.to_namelist()>
authorname.n = [<authorlist.n.first> ]<authorlist.n.last>
au = <authorname.0>, ..., <authorname.N>
并从bibulous.py
下载https://raw.githubusercontent.com/nzhagen/bibulous/master/bibulous.py
将bibulous.py
、main.tex
、mybst.bst
和放在ref.bib
同一文件夹中。
运行以下命令:
pdflatex -synctex=-1 main.tex
python bibulous.py main.aux
pdflatex -synctex=-1 main.tex
pdflatex -synctex=-1 main.tex