Hi,
I have customized the bibliography style file and running bibtex display the below error
You can't pop an empty literal stack for entry Hirt1974
while executing---line 2291 of file abc.bst
The line indicates in bst file is "ITERATE {call.type$}"
I am unable to identify what the error is and could you please help me to resolve the issue.
Bib file
@article{Hirt1974,
author = "Hirt, C. W. and Amsden, A. A. and Cook, J. L.",
title = "An arbitrary Lagrangian-Eulerian computing method for all flow speeds",
year = "1974",
journal = "J. Comput. Phys.",
volume = "14",
number = "3",
pages = "227--253"
}
bst file for Function{article}
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
author format.key output
crossref missing$
{
" "
journal
duplicate$ empty$
{ pop$ pop$ } {
"journal" bibinfo.check
* "journal" output.check
add.blank
} if$
format.volume bolden output
no.blank.or.punct
format.number output
format.journal.pages output
% format.vol.num.pages output
format.date "year" output.check
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
format.issn output
new.block
format.note output
format.eprint output
format.url output
fin.entry
}
BibTeX, biblatex and biber ⇒ You can't pop an empty literal stack for entry Hirt1974 in bst file error
NEW: TikZ book now 40% off at Amazon.com for a short time.

You can't pop an empty literal stack for entry Hirt1974 in bst file error
Your given information makes it hard to help you. For example: You don't tell us, what exactly you changed in your bst file or from which exact bst file it derived. Also you don't use the code block. Since my following minimal example doesn't throw an error, I'm pretty sure that the error lies within that bst file.
My example:
bibfile.bib being
You should consider trying an original bst file an checking if your code is compilable then.
My example:
Code: Select all
\documentclass[a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{biblatex}
\bibliography{bibfile.bib}
\begin{document}
\cite{Hirt1974}
\printbibliography
\end{document}
Code: Select all
@article{Hirt1974,
author = "Hirt, C. W. and Amsden, A. A. and Cook, J. L.",
title = "An arbitrary Lagrangian-Eulerian computing method for all flow speeds",
year = "1974",
journal = "J. Comput. Phys.",
volume = "14",
number = "3",
pages = "227--253"
}