diff options
Diffstat (limited to 'Master/texmf-dist/bibtex/bst')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst | 21 |
1 files changed, 16 insertions, 5 deletions
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$ } |