I am using a custom .bst file for thesis write up and getting the following error: You can't pop an empty literal stack for entry.
\documentclass[a4paper,12pt]{book}
\usepackage[sort,round]{natbib}
\usepackage{bibunits}
\begin{document}
This is a citation \cite{Chen1976}.
\bibliographyunit
\bibliographystyle{bibstyle/noon}
\bibliography{bib/mybib}
\end{document}
These is the entry:
@Article{Chen1976,
author = {Peter P. Chen},
title = {The Entity-Relationship Model - Toward a Unified View of Data},
journal = {{ACM} Trans. Database Syst.},
year = {1976},
volume = {1},
number = {1},
pages = {9--36},
bibsource = {dblp computer science bibliography, https://dblp.org},
biburl = {https://dblp.org/rec/journals/tods/Chen76.bib},
doi = {10.1145/320434.320440}
}
The problem is that each entry is rendered in the output PDF like this:
[CHEN (1976), ]
As you can see, after the date there is always a comma followed by a white space.
I believe this is related to the following warning I receive when compiling:
Process started: bibtex.exe "thesis"
This is BibTeX, Version 0.99d (MiKTeX 2.9.7250 64-bit)
The top-level auxiliary file: thesis.aux
The style file: bibstyle/noon.bst
A level-1 auxiliary file: bu.aux
Database file #1: bib/mybib.bib
You can't pop an empty literal stack for entry Chen1976
while executing---line 1558 of file bibstyle/noon.bst
You can't pop an empty literal stack for entry everyentry
while executing---line 1558 of file bibstyle/noon.bst
The .bst file is this one.
Am I missing something?
EDIT: I noticed that only a subset of entries receive the warning. Here a couple:
@inproceedings{TomanW09,
Author = {David Toman and Grant E. Weddell},
Booktitle = {{IJCAI} 2009, Proceedings of the 21st International Joint Conference on Artificial Intelligence},
Date-Added = {2017-02-05 16:40:40 +0000},
Date-Modified = {2017-02-05 16:41:30 +0000},
Optbdsk-Url-1 = {http://ijcai.org/Proceedings/09/Papers/161.pdf},
Optbibsource = {dblp computer science bibliography, http://dblp.org},
Optbiburl = {http://dblp.uni-trier.de/rec/bib/conf/ijcai/TomanW09},
Opturl = {http://ijcai.org/Proceedings/09/Papers/161.pdf},
Pages = {948--954},
Timestamp = {Wed, 20 Jul 2016 14:20:40 +0200},
Title = {Applications and Extensions of {PTIME} Description Logics with Functional Constraints},
Year = {2009}}
@InProceedings{racer-a,
author = {Volker Haarslev and Ralf M{\"{o}}ller},
title = {Description of the {RACER} System and its Applications},
booktitle = {Working Notes of the 2001 International Description Logics Workshop (DL-2001), Stanford, CA, USA, August 1-3, 2001},
year = {2001},
editor = {Carole A. Goble and Deborah L. McGuinness and Ralf M{\"{o}}ller and Peter F. Patel{-}Schneider},
volume = {49},
series = {{CEUR} Workshop Proceedings},
publisher = {CEUR-WS.org},
bibsource = {dblp computer science bibliography, https://dblp.org},
biburl = {https://dblp.org/rec/bib/conf/dlog/HaarslevM01},
url = {http://ceur-ws.org/Vol-49/HaarslevMoeller-132start.ps},
}
.bst
is 404, and that is undoubtedly where the problem lies..bst
.