From 45d8e3acad728d8fe33cb6087853108ec51c783b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 19 Nov 2016 22:47:11 +0000 Subject: aomart (19nov16) git-svn-id: svn://tug.org/texlive/trunk@42540 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/aomart/aomart.cls | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/aomart') diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index 2048e4e86f4..a5824a7ca9d 100644 --- a/Master/texmf-dist/tex/latex/aomart/aomart.cls +++ b/Master/texmf-dist/tex/latex/aomart/aomart.cls @@ -37,7 +37,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} \ProvidesClass{aomart} -[2015/02/18 v1.14a Typesetting articles for the Annals of Mathematics] +[2016/11/18 v1.15 Typesetting articles for the Annals of Mathematics] \long\def\aom@size@warning#1{% \ClassWarning{aomart}{Size-changing option #1 will not be honored}}% @@ -55,6 +55,9 @@ \newif\if@aom@olddoi \@aom@olddoifalse \DeclareOption{olddoi}{\@aom@olddoitrue} +\newif\if@aom@doiMMXVI +\@aom@doiMMXVIfalse +\DeclareOption{doi2016}{\@aom@doiMMXVItrue} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{amsart}} \InputIfFileExists{aomart.cfg}{% \ClassInfo{aomart}{% @@ -456,8 +459,16 @@ \let\bysame@@orig=\bysame \def\bysame{\ClassWarning{aomart}{We no longer omit repeated authors}\bysame@@orig} -\def\doi#1{\if@aom@olddoi\href{http://dx.doi.org/#1}{doi: \path{#1}}% -\else\url{http://dx.doi.org/#1}\fi} +\def\doi#1{% + \if@aom@doiMMXVI + \url{http://dx.doi.org/#1}% + \else + \if@aom@olddoi + \href{http://dx.doi.org/#1}{doi: \path{#1}}% + \else + \url{https://doi.org/#1}% + \fi + \fi} \def\mr#1{\href{http://www.ams.org/mathscinet-getitem?mr=#1}{MR~\path{#1}}} \def\zbl#1{\href{http://www.zentralblatt-math.org/zmath/en/search/?q=an:#1}{Zbl~\path{#1}}} \def\arxiv#1{\href{http://www.arxiv.org/abs/#1}{arXiv~\path{#1}}} -- cgit v1.2.3