From a836370aa8db0a2890f6188e59a83682cac7f22b Mon Sep 17 00:00:00 2001 From: Karl Berry 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/doc/latex/aomart/README | 9 ++++++- Master/texmf-dist/doc/latex/aomart/aomart.pdf | Bin 388030 -> 388733 bytes Master/texmf-dist/doc/latex/aomart/aomsample.pdf | Bin 487500 -> 487500 bytes Master/texmf-dist/doc/latex/aomart/aomsample1.pdf | Bin 487499 -> 487499 bytes Master/texmf-dist/source/latex/aomart/aomart.dtx | 30 +++++++++++++++++++--- Master/texmf-dist/tex/latex/aomart/aomart.cls | 14 +++++++++- 6 files changed, 47 insertions(+), 6 deletions(-) diff --git a/Master/texmf-dist/doc/latex/aomart/README b/Master/texmf-dist/doc/latex/aomart/README index 0e001cf6594..d237a0bfc9d 100644 --- a/Master/texmf-dist/doc/latex/aomart/README +++ b/Master/texmf-dist/doc/latex/aomart/README @@ -1,12 +1,19 @@ LaTeX Class for The Annals of Mathematics Boris Veytsman - Version 1.11 + Version 1.13 This package provides the class for typesetting articles for The Annals of Mathematics, http://annals.princeton.edu/. Changes: + Version 1.13 + The correction in v1.12 did not work with older hyperref + versions. This release corrects the problem. + + Version 1.12 + Corrected the bug with hyperref and appendix + Version 1.11 Added \copyrightnote Added \fulladdress diff --git a/Master/texmf-dist/doc/latex/aomart/aomart.pdf b/Master/texmf-dist/doc/latex/aomart/aomart.pdf index 0660a3a6557..008b651464d 100644 Binary files a/Master/texmf-dist/doc/latex/aomart/aomart.pdf and b/Master/texmf-dist/doc/latex/aomart/aomart.pdf differ diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample.pdf b/Master/texmf-dist/doc/latex/aomart/aomsample.pdf index 981c4ca3bbc..ed5510038f0 100644 Binary files a/Master/texmf-dist/doc/latex/aomart/aomsample.pdf and b/Master/texmf-dist/doc/latex/aomart/aomsample.pdf differ diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf b/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf index 051364595c5..4cf6aa6300c 100644 Binary files a/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf and b/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf differ 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} % %\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} diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index 73e19dcc7cb..b4212594949 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} -[2012/08/16 v1.11 Typesetting articles for the Annals of Mathematics] +[2012/10/26 v1.13 Typesetting articles for the Annals of Mathematics] \long\def\aom@size@warning#1{% \ClassWarning{aomart}{Size-changing option #1 will not be honored}}% @@ -381,7 +381,19 @@ \def\subsubsection{\@startsection{subsubsection}{3}% {\parindent}{.5\linespacing}{-.5em}% {\normalfont\itshape}} +\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 +}% \def\appendix{\par\c@section\z@ \c@subsection\z@ + \gdef\theHsection{\Hy@AlphNoErr{section}}% \let\sectionname\appendixname \def\thesection{{\upshape\@Alph\c@section}}} \def\@captionheadfont{\normalfont} -- cgit v1.2.3