summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-18 20:12:20 +0000
committerKarl Berry <karl@freefriends.org>2022-09-18 20:12:20 +0000
commit404a949ca90543a6ac8830d4f2273700066109dd (patch)
tree50c8df5152d3daaee3783755ed994c39fcc07bb2 /Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
parent4edfb6788d8ab59568e86c853149d6eacd7f2ef2 (diff)
asmeconf
git-svn-id: svn://tug.org/texlive/trunk@64435 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst')
-rw-r--r--Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst19
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst b/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
index 0e378d305d0..8884ca5f21c 100644
--- a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst
+++ b/Master/texmf-dist/bibtex/bst/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}