diff options
author | Karl Berry <karl@freefriends.org> | 2021-01-16 22:24:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-01-16 22:24:32 +0000 |
commit | 8bb8543ef19641038280016321028f3b2db2e7e5 (patch) | |
tree | da0e0036599081d1b34e165bba1480e9524318dd /Master/texmf-dist/bibtex | |
parent | 77ab6ed5ef1f461991eac129796fcfa887c3576e (diff) |
asmeconf (16jan21)
git-svn-id: svn://tug.org/texlive/trunk@57442 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst b/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst index 2882591d68f..1dcbf48a66d 100644 --- a/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst +++ b/Master/texmf-dist/bibtex/bst/asmeconf/asmeconf.bst @@ -1,10 +1,10 @@ %%%%% -%%%%% *** This .bst produces the reference format for ASME conference papers. *** -%%%%% *** Follows the examples given on ASME's conference web pages in early 2020. *** -%%%%% *** https://www.asme.org/shop/proceedings/conference-publications/references *** -%%%%% *** The examples given by ASME do *not* cover all possibilities *** +%%%%% *** This .bst produces the reference format for ASME conference papers. *** +%%%%% *** Follows the examples given on ASME's conference web pages in early 2021. *** +%%%%% *** 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.11 dated 2020/04/14 +%%%%% This file is version 1.12 dated 2021/01/04 %%%%% %%%%% Author: John H. Lienhard V %%%%% Department of Mechanical Engineering @@ -26,6 +26,10 @@ %%%%% Added: urlprefix = {}, format.web.urldate, bbl.urldate; urltype field changes "accessed" to something else. %%%%% Added: venue and eventdate to @inproceedings %%%%% +%%%%% Edits in version 1.12, 2021/01/04: +%%%%% Added fields: version={}, format.version, to @book, @inbook, @online, @manual; +%%%%% versiontype = {}, with bbl.version, changes "Version" to other +%%%%% %%%%% Edits in version 1.11, 2020/04/14: %%%%% correct error in journal eid code. %%%%% remove comma between Vol. and No. in article, per ASME style @@ -136,7 +140,9 @@ ENTRY url urldate urltype - venue + venue + version + versiontype volume year } @@ -389,6 +395,8 @@ FUNCTION {bbl.th} FUNCTION {bbl.urldate} { "Accessed" } +FUNCTION {bbl.version} + { "Version" } MACRO {jan} {"Jan."} @@ -617,6 +625,23 @@ FUNCTION {format.eprint} if$ } +FUNCTION {format.version} +{ version empty$ + {""} +{version "version" bibinfo.check + versiontype duplicate$ empty$ + { pop$ bbl.version } + 'skip$ + if$ + "versiontype" bibinfo.check + swap$ duplicate$ empty$ + { pop$ "t" change.case$ } + { tie.or.space.prefix * * } + if$ +} +if$ +} + FUNCTION {format.url} { url @@ -1303,6 +1328,7 @@ FUNCTION {book} new.block format.btitle "title" output.check format.edition output + format.version output new.block crossref missing$ { format.bvolume output @@ -1359,6 +1385,7 @@ FUNCTION {inbook} new.block format.btitle "title" output.check format.edition output + format.version output new.block crossref missing$ { @@ -1476,6 +1503,7 @@ FUNCTION {manual} new.block format.btitle "title" output.check format.edition output + format.version output new.block author empty$ { organization empty$ @@ -1557,6 +1585,8 @@ FUNCTION {online} format.title "title" output.check new.block + format.version output + new.block organization "organization" bibinfo.warn output address "address" bibinfo.check output format.date "year" output.check |