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/tex/latex/aomart/aomart.cls | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 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 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