I aim to use the bibstyle h-physrev.bst
together with bibtex on a Linux machine.
The bibstyle file is downloaded from https://arxiv.org/hypertex/bibstyles/
MWE
So far so good but now I have a problem with one of the entries - see the following MWE:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@InProceedings{my_entry,
author = {My Author},
title = {Conribution},
booktitle = {Book title},
year = {2018},
volume = {10547},
pages = {9},
month = feb,
doi = {10.1117/12.2300061},
}
\end{filecontents*}
\documentclass{scrartcl}
\begin{document}
\nocite{*}
\bibliography{\jobname}
\bibliographystyle{h-physrev}
\end{document}
The bibtex error message I see is:
This is BibTeX, Version 0.99d (TeX Live 2018/Arch Linux)
The top-level auxiliary file: test_bibtex_h-physrev.aux
The style file: h-physrev.bst
Database file #1: test_bibtex_h-physrev.bib
You can't pop an empty literal stack for entry my_entry
while executing---line 944 of file h-physrev.bst
(There was 1 error message)
While tracing the error back, I found out that the volume entry leads to the error in the call of function either.or.check
in line 275 of the style file.
Question
After contacting the bibtex style writer manual, I am still not fully understanding the bst-programming commands:
What does the variable 'pop$
do exactly and does it make sense there?
Or what other command should it be (e.g. replacing it with 'skip$
solves the error)?