diff options
author | Karl Berry <karl@freefriends.org> | 2016-11-19 22:47:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-11-19 22:47:11 +0000 |
commit | 45d8e3acad728d8fe33cb6087853108ec51c783b (patch) | |
tree | ea7bc3d70512543f172b1a1c59705642d5331870 /Master/texmf-dist/tex/latex/aomart | |
parent | e538025ee4c38ccd1f1ce84ea84fe5278529cad6 (diff) |
aomart (19nov16)
git-svn-id: svn://tug.org/texlive/trunk@42540 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/aomart')
-rw-r--r-- | Master/texmf-dist/tex/latex/aomart/aomart.cls | 17 |
1 files changed, 14 insertions, 3 deletions
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}}} |