From a836370aa8db0a2890f6188e59a83682cac7f22b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 26 Oct 2012 21:36:41 +0000
Subject: aomart (26oct12)

git-svn-id: svn://tug.org/texlive/trunk@28096 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/aomart/aomart.dtx | 30 ++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/source/latex/aomart/aomart.dtx')

diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx
index acf42d2b551..e6e4396b32e 100644
--- a/Master/texmf-dist/source/latex/aomart/aomart.dtx
+++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx
@@ -1,7 +1,7 @@
 % \iffalse
-% $Id: aomart.dtx,v 1.59 2012-08-16 22:58:28 boris Exp $
+% $Id: aomart.dtx,v 1.61 2012-10-26 16:52:19 boris Exp $
 %
-% Copyright 2010-2011, Princeton University (Mathematics Department)
+% Copyright 2010-2012, Princeton University (Mathematics Department)
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
 % version 1.3 of this license or (at your option) any 
@@ -23,7 +23,7 @@
 % public domain.
 %
 % \fi 
-% \CheckSum{1136}
+% \CheckSum{1154}
 %
 %
 %% \CharacterTable
@@ -723,7 +723,7 @@
 \ProvidesFile{aomart.dtx}
 %</gobble>
 %<class>\ProvidesClass{aomart}
-[2012/08/16 v1.11 Typesetting articles for the Annals of Mathematics]
+[2012/10/26 v1.13 Typesetting articles for the Annals of Mathematics]
 %    \end{macrocode}
 %
 %
@@ -1687,12 +1687,34 @@
 % \end{macro}
 %
 %
+% \begin{macro}{\Hy@AlphNoErr}
+% \changes{v1.13}{2012/10/26}{Added macro for older installations} 
+%   The newer (circa 2012) hyperref defines this command.  However,
+%   older versions do not.  Here we provide it:
+%    \begin{macrocode}
+\providecommand\Hy@AlphNoErr[1]{%
+  \ifnum\value{#1}>26 %
+    Alph\number\value{#1}%
+  \else
+    \ifnum\value{#1}<1 %
+      Alph\number\value{#1}%
+    \else
+      \Alph{#1}%
+    \fi
+  \fi
+}%
+%    \end{macrocode}
+%   
+% \end{macro}
+%
 % \begin{macro}{\appendix}
 % \changes{v1.6}{2011/03/06}{Redefined the macro} 
+% \changes{v1.12}{2012/10/25}{Added hyperref definition} 
 %   We redefine appendix to ensure the letter in section number is
 %   always upright:
 %    \begin{macrocode}
 \def\appendix{\par\c@section\z@ \c@subsection\z@
+  \gdef\theHsection{\Hy@AlphNoErr{section}}%
    \let\sectionname\appendixname
    \def\thesection{{\upshape\@Alph\c@section}}}
 %    \end{macrocode}
-- 
cgit v1.2.3

