From f722eae3dedfe72b7b59aa68ab29ac0b14a45268 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 19 Dec 2019 22:12:28 +0000 Subject: acmart (19dec19) git-svn-id: svn://tug.org/texlive/trunk@53188 c570f23f-e606-0410-a88d-b1316a301751 --- .../bibtex/bst/acmart/ACM-Reference-Format.bst | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/bibtex/bst/acmart') diff --git a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst index 78bf7924ce0..554a604985b 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -34,6 +34,7 @@ ENTRY institution journal key + location month note number @@ -1232,6 +1233,8 @@ FUNCTION { format.btitle } FUNCTION { format.emphasize.booktitle } { booktitle format.a.title.with.edition } + + FUNCTION { format.city } { % jtb: if the preceding string (the title of the conference) is non-empty, @@ -1241,7 +1244,7 @@ FUNCTION { format.city } duplicate$ empty.or.unknown { } { - city empty.or.unknown + city empty.or.unknown location empty.or.unknown and { date empty.or.unknown { } @@ -1249,10 +1252,18 @@ FUNCTION { format.city } if$ } { - date empty.or.unknown - { " (" * city * ")" * } - { " (" * city * ", " * date * ")" * } - if$ + location empty.or.unknown + { + date empty.or.unknown + { " (" * city * ")" * } + { " (" * city * ", " * date * ")" * } + } + { + date empty.or.unknown + { " (" * location * ")" * } + { " (" * location * ", " * date * ")" * } + } + if$ } if$ } -- cgit v1.2.3