summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart/ACM-Reference-Format.bbx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-07 03:03:44 +0000
committerNorbert Preining <norbert@preining.info>2022-02-07 03:03:44 +0000
commitf689c91581665257602a841d03f73078c3495e14 (patch)
tree09c55c606b43f4f53c4c8f9e09625813e19fb2b0 /macros/latex/contrib/acmart/ACM-Reference-Format.bbx
parent350b3e35109171f0edd6fe9d697b91d5e76561f9 (diff)
CTAN sync 202202070303
Diffstat (limited to 'macros/latex/contrib/acmart/ACM-Reference-Format.bbx')
-rw-r--r--macros/latex/contrib/acmart/ACM-Reference-Format.bbx13
1 files changed, 12 insertions, 1 deletions
diff --git a/macros/latex/contrib/acmart/ACM-Reference-Format.bbx b/macros/latex/contrib/acmart/ACM-Reference-Format.bbx
index b3ae500389..e9cb545300 100644
--- a/macros/latex/contrib/acmart/ACM-Reference-Format.bbx
+++ b/macros/latex/contrib/acmart/ACM-Reference-Format.bbx
@@ -263,7 +263,18 @@
\usebibmacro{issue}%
\newunit}
-
+\renewbibmacro*{doi+eprint+url}{%
+ \iftoggle{bbx:url}
+ {\iffieldundef{doi}{\usebibmacro{url+urldate}}{}}
+ {}%
+ \newunit\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit\newblock
+ \iftoggle{bbx:doi}
+ {\printfield{doi}}
+ {}}
%%% Definitions for drivers (alphabetical)