I have the following function in a file myIEEEtran.bst
FUNCTION {book}
{ std.status.using.comma
start.entry
if.url.alt.interword.spacing
author empty$
{ format.editors "author and editor" output.warn }
{ format.authors output.nonnull }
if$
name.or.dash
format.book.title.edition "Book" output
format.series output
author empty$
{ skip$ }
{ format.editors output }
if$
format.address.publisher.date output
format.volume output
format.number output
format.pages output
format.isbn output %% GQMJr
%format.url output
fin.entry
if.url.std.interword.spacing
}
And the following entry in a library.bib file
@book{Dresch2015,
title = {Design Science Research: A Method for Science and Technology Advancement},
author = {Aline Dresch and Daniel Pacheco Lacerda and José Antônio Valle Antunes},
doi = {10.1007/978-3-319-07374-3},
isbn = {9783319073743},
pages = {1-161},
edition = {1st},
publisher = {Springer},
year = {2015},
}
When I try to compile my latex document using latexmk (that calls bibtex to build references) I get the following error:
ptr=1, stack=
Springer, 2015
---the literal stack isn't empty for entry Dresch2015
while executing---line 2478 of file template-ubi/myIEEEtran.bst
I searched and tried everything that I could but without success.