diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-15 22:09:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-15 22:09:32 +0000 |
commit | e546ad01a2bf102f02e32ad5117a44644a3aea8b (patch) | |
tree | 3fbff65d907a5fd90038a7dd84c353f10746d457 /Master/texmf-dist/bibtex | |
parent | e213d403148adf7d265cf0c8bc1ddf0e8acd8a87 (diff) |
acmart (15feb17)
git-svn-id: svn://tug.org/texlive/trunk@43232 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/bibtex')
-rw-r--r-- | Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst | 15 |
1 files changed, 13 insertions, 2 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 e3343e72abe..8fdf15305ec 100644 --- a/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst +++ b/Master/texmf-dist/bibtex/bst/acmart/ACM-Reference-Format.bst @@ -25,6 +25,7 @@ % Revised 15-APRIL-2011 (Boris/Gerry) % Revised 27-SEPTEMBER-2011 (Boris) % Revised 10-JULY-2016 (Boris) +% Revised 04-FEB-2017 (Boris) % % % History (by Nelson) @@ -620,12 +621,22 @@ FUNCTION { strip.doi } % UTAH % lists. % The numeric prefix is guaranteed to start with "10.", so we use % that as a test. + % 2017-02-04 Added stripping of https:// (Boris) doi #1 #3 substring$ "10." = { doi } { - doi #1 #7 substring$ "http://" = + doi 't := % get modifiable copy of DOI + + % Change https:// to http:// to strip both prefixes (BV) + + t #1 #8 substring$ "https://" = + { "http://" t #9 t text.length$ #8 - substring$ * 't := } + { } + if$ + + t #1 #7 substring$ "http://" = { - doi #8 doi text.length$ #7 - substring$ 't := % get modifiable copy of rest of DOI + t #8 t text.length$ #7 - substring$ 't := "INTERNAL STYLE-FILE ERROR" 's := |