From c29f8f7a40881911a631e1496c7b650634748d77 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Mar 2011 00:07:45 +0000 Subject: aomart 1.7 (9mar11) git-svn-id: svn://tug.org/texlive/trunk@21666 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/aomart/README | 6 ++++- Master/texmf-dist/doc/latex/aomart/aomart.pdf | Bin 284187 -> 285191 bytes Master/texmf-dist/doc/latex/aomart/aomsample.pdf | Bin 391966 -> 391966 bytes Master/texmf-dist/doc/latex/aomart/aomsample1.pdf | Bin 391979 -> 391979 bytes Master/texmf-dist/source/latex/aomart/aomart.dtx | 28 ++++++++++++++++++---- Master/texmf-dist/tex/latex/aomart/aomart.cls | 12 ++++++++-- 6 files changed, 39 insertions(+), 7 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/aomart/README b/Master/texmf-dist/doc/latex/aomart/README index 78772814c0d..cd4e62f3303 100644 --- a/Master/texmf-dist/doc/latex/aomart/README +++ b/Master/texmf-dist/doc/latex/aomart/README @@ -1,12 +1,16 @@ LaTeX Class for The Annals of Mathematics Boris Veytsman - Version 1.6 + Version 1.7 This package provides the class for typesetting articles for The Annals of Mathematics, http://annals.princeton.edu/. Changes: + Version 1.7 + Suppressed end page number in the header for one-page + documents + Version 1.6 Appendix letter is now upright in the refs, even inside italics diff --git a/Master/texmf-dist/doc/latex/aomart/aomart.pdf b/Master/texmf-dist/doc/latex/aomart/aomart.pdf index 232337188ae..b21ff6c33b4 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 8228e420b59..3eab7012013 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 816fa790a90..96c974dde74 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 0061436bdc6..df1ef074c70 100644 --- a/Master/texmf-dist/source/latex/aomart/aomart.dtx +++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx @@ -1,5 +1,5 @@ % \iffalse -% $Id: aomart.dtx,v 1.50 2011-03-06 20:53:54 boris Exp $ +% $Id: aomart.dtx,v 1.51 2011-03-09 03:42:59 boris Exp $ % % Copyright 2010-2011, Princeton University (Mathematics Department) % This work may be distributed and/or modified under the @@ -23,7 +23,7 @@ % public domain. % % \fi -% \CheckSum{1031} +% \CheckSum{1053} % % %% \CharacterTable @@ -675,7 +675,7 @@ \ProvidesFile{aomart.dtx} % %\ProvidesClass{aomart} -[2011/03/06 v1.6 Typesetting articles for the Annals of Mathematics] +[2011/03/08 v1.7 Typesetting articles for the Annals of Mathematics] % \end{macrocode} % % @@ -1004,7 +1004,27 @@ \chead{\scriptsize% \href{\@annalsurl}{Annals of Mathematics} \textbf{\currentvolume} (\currentyear), - \start@page--\end@page\\ +% \end{macrocode} +% \changes{v1.7}{2011/03/08}{Suppressed page number in the header for +% one-page articles} +% We always print the starting page. However, we print the last page +% only if it does not coincide with the first page. There are two +% cases here: first, the last page may still be +% |\pageref{LastPage}|. In this case we need to extract the numerical +% value of the counter---note that hyperref is in action! +% Second, we could redefine the last page, and it is no +% longer |\pageref{LastPage}|. In this case we need to compare the +% value with the first page. +% \begin{macrocode} + \start@page% + \def\tempa{\pageref{LastPage}}% + \edef\tempb{\start@page}% + \ifx\tempa\end@page + \edef\tempa{\HyPsd@@@pageref{LastPage}}% + \else + \edef\tempa{\end@page}% + \fi + \ifx\tempa\tempb\else--\end@page\fi\\ \ifx\@doinumber\@empty\else \edef\@doinumber{\@doinumber}% \expandafter\doi\expandafter{\@doinumber}\fi}% diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index b3c5a1834b1..44a58100229 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} -[2011/03/06 v1.6 Typesetting articles for the Annals of Mathematics] +[2011/03/08 v1.7 Typesetting articles for the Annals of Mathematics] \long\def\aom@size@warning#1{% \ClassWarning{aomart}{Size-changing option #1 will not be honored}}% @@ -138,7 +138,15 @@ \chead{\scriptsize% \href{\@annalsurl}{Annals of Mathematics} \textbf{\currentvolume} (\currentyear), - \start@page--\end@page\\ + \start@page% + \def\tempa{\pageref{LastPage}}% + \edef\tempb{\start@page}% + \ifx\tempa\end@page + \edef\tempa{\HyPsd@@@pageref{LastPage}}% + \else + \edef\tempa{\end@page}% + \fi + \ifx\tempa\tempb\else--\end@page\fi\\ \ifx\@doinumber\@empty\else \edef\@doinumber{\@doinumber}% \expandafter\doi\expandafter{\@doinumber}\fi}% -- cgit v1.2.3