summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/aomart
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/aomart')
-rw-r--r--Master/texmf-dist/tex/latex/aomart/aomart.cls12
1 files changed, 10 insertions, 2 deletions
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}%