summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart/ACM-Reference-Format.bst
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-20 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2019-12-20 03:00:48 +0000
commit18d9ec0eba21e6b8c55cdd50afb91c56e02ce7bf (patch)
tree56de5f55a6575a68557d5a384f57e3e8566c536d /macros/latex/contrib/acmart/ACM-Reference-Format.bst
parent3b24b0599bb35e1a3338fa33bfb24044a6125ba4 (diff)
CTAN sync 201912200300
Diffstat (limited to 'macros/latex/contrib/acmart/ACM-Reference-Format.bst')
-rw-r--r--macros/latex/contrib/acmart/ACM-Reference-Format.bst21
1 files changed, 16 insertions, 5 deletions
diff --git a/macros/latex/contrib/acmart/ACM-Reference-Format.bst b/macros/latex/contrib/acmart/ACM-Reference-Format.bst
index 78bf7924ce..554a604985 100644
--- a/macros/latex/contrib/acmart/ACM-Reference-Format.bst
+++ b/macros/latex/contrib/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$
}