diff options
Diffstat (limited to 'macros/latex/contrib/asmeconf/asmeconf.bst')
-rw-r--r-- | macros/latex/contrib/asmeconf/asmeconf.bst | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/macros/latex/contrib/asmeconf/asmeconf.bst b/macros/latex/contrib/asmeconf/asmeconf.bst index 0e378d305d..8884ca5f21 100644 --- a/macros/latex/contrib/asmeconf/asmeconf.bst +++ b/macros/latex/contrib/asmeconf/asmeconf.bst @@ -4,7 +4,7 @@ %%%%% *** https://www.asme.org/publications-submissions/proceedings/author-guidelines/elements-of-a-paper/references *** %%%%% *** The examples given by ASME do *not* cover all possibilities *** %%%%% -%%%%% This file is version 1.13 dated 2021/12/02 (and checked 2022/02/14) +%%%%% This file is version 1.14 dated 2022/09/13 %%%%% %%%%% Author: John H. Lienhard V %%%%% Department of Mechanical Engineering @@ -26,6 +26,9 @@ %%%%% Added: urlprefix = {}, format.web.urldate, bbl.urldate; urltype field changes "accessed" to something else. %%%%% Added: venue and eventdate to @inproceedings %%%%% +%%%%% Edits in version 1.14, 2022/09/13 +%%%%% Add code to format.journal.pages to deal with empty pages +%%%%% %%%%% Edits in version 1.13, 2021/12/02 %%%%% Switched remaining http:// prefixes to https:// %%%%% Replace \href{}{} in \eprint by \url @@ -1036,8 +1039,16 @@ FUNCTION {format.pages} } FUNCTION {format.journal.pages} -{ pages duplicate$ empty$ 'pop$ - { swap$ duplicate$ empty$ +{ pages duplicate$ empty$ + { "empty pages in " cite$ * warning$ } + 'skip$ + if$ + duplicate$ empty$ + { pop$ + " " * + format.year * + } + { swap$ duplicate$ empty$ { pop$ pop$ format.pages } { " " * @@ -1054,7 +1065,7 @@ FUNCTION {format.journal.pages} * } if$ - } + } if$ } FUNCTION {format.journal.eid} |