为小型区域期刊创建 bst

为小型区域期刊创建 bst

我正在为一家小型地区性杂志撰写出版物,但我找不到符合其指南的现有 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.pymain.texmybst.bst和放在ref.bib同一文件夹中。

运行以下命令:

pdflatex -synctex=-1 main.tex
python bibulous.py main.aux
pdflatex -synctex=-1 main.tex
pdflatex -synctex=-1 main.tex

在此处输入图片描述

相关内容