summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/asmejour/asmejour.bst
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/asmejour/asmejour.bst')
-rw-r--r--macros/latex/contrib/asmejour/asmejour.bst36
1 files changed, 22 insertions, 14 deletions
diff --git a/macros/latex/contrib/asmejour/asmejour.bst b/macros/latex/contrib/asmejour/asmejour.bst
index babfdabbaa..d3cb99b2e1 100644
--- a/macros/latex/contrib/asmejour/asmejour.bst
+++ b/macros/latex/contrib/asmejour/asmejour.bst
@@ -4,13 +4,13 @@
%% *** This bibtex style follows ASME journals ***
%%
%%
- %% This file is asmejour.bst, fourth 1.04 dated 2020/04/15.
+ %% This file is asmejour.bst, version 1.05 dated 2021/12/23.
%%
%% This file was generated and edited by John Lienhard.
%% This file is a derivative work under Clause 6 of the LPPL license.
%%
%% The generated file and the modifications are based on the formats that ASME is using in
- %% published journal papers in early 2020. Details of the modifications follow.
+ %% published journal papers in early 2022. Details of the modifications follow.
%%
%% Created entry: @online{...} for web publications (and aliased it to @www and @electronic)
%% Created fields: eventdate, urldate, urltype, venue, fourth, fourthtype
@@ -64,12 +64,18 @@
%% provide format.alt.link to print the hyperlink if the report number is empty.
%% provide institution.address function
%%
- %% Modifications in v1.04 ( )
+ %% Modifications in v1.04 (2020/04/15)
%% add hdl macro as a synonym for hndl
%% separate format.serial.volume from format.bvolume;
%% arrange format.bvolume to order vol and series as ", Vol. X of Series Title", which affects
%% @book, @inbook, @incollection, and @proceedings.
%%
+ %% Modifications in v1.05 (2021/12/23)
+ %% convert remaining http:// prefixes to https://
+ %% replace \href{}{} in \eprint by \url
+ %% provide \hrefurl for compatibility with LaTeX3 pdfmanagement
+ %% use \hrefurl in doilink, rather than \href
+ %% add macro text for "ASME J. Heat Transfer-Trans. ASME"
%%
%% Author: John H. Lienhard V
%% Department of Mechanical Engineering
@@ -487,16 +493,16 @@ FUNCTION {eng.ord}
MACRO {arxiv} {"https://arxiv.org/abs/"}
-MACRO {googlebooks} {"http://books.google.com/books?id="}
+MACRO {googlebooks} {"https://books.google.com/books?id="}
-MACRO {hdl} {"http://hdl.handle.net/"}
-MACRO {hndl} {"http://hdl.handle.net/"}
+MACRO {hdl} {"https://hdl.handle.net/"}
+MACRO {hndl} {"https://hdl.handle.net/"}
-MACRO {jstor} {"http://www.jstor.org/stable/"}
+MACRO {jstor} {"https://www.jstor.org/stable/"}
-MACRO {oclc} {"http://www.worldcat.org/oclc/"}
+MACRO {oclc} {"https://www.worldcat.org/oclc/"}
-MACRO {pubmed} {"http://www.ncbi.nlm.nih.gov/pubmed/"}
+MACRO {pubmed} {"https://www.ncbi.nlm.nih.gov/pubmed/"}
MACRO {amr} {"Appl. Mech. Rev."}
@@ -529,7 +535,7 @@ MACRO {jfe} {"ASME J. Fluids Eng."}
MACRO {jfcst} {"ASME J. Fuel Cell Sci. Tech."}
-MACRO {jht} {"ASME J. Heat Transfer"}
+MACRO {jht} {"ASME J. Heat Transfer-Trans. ASME"}
MACRO {jmse} {"ASME J. Manuf. Sci. E."}
@@ -835,13 +841,13 @@ FUNCTION {doilink}
{ url empty$
{ eprint empty$
{ skip$ }
- { "\href{" archive eprint * * "}{" * swap$ * "}" * }
+ { "\hrefurl{" archive eprint * * "}{" * swap$ * "}" * }
if$
}
- { "\href{" url * "}{" * swap$ * "}" * }
+ { "\hrefurl{" url * "}{" * swap$ * "}" * }
if$
}
- { "\href{https://doi.org/" doi * "}{" * swap$ * "}" * }
+ { "\hrefurl{https://doi.org/" doi * "}{" * swap$ * "}" * }
if$
}
if$
@@ -1912,7 +1918,9 @@ FUNCTION {begin.bib}
write$ newline$
" \providecommand{\doi}{doi:\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
write$ newline$
- "\providecommand{\eprint}[2][]{\href{#1#2}{#1#2}}"
+ "\providecommand{\eprint}[2][]{\urlprefix\url{#1#2}}"
+ write$ newline$
+ "\providecommand{\hrefurl}[2][]{\href{#1}{#2}}"
write$ newline$
}
EXECUTE {begin.bib}