summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/aomart
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-10 00:07:45 +0000
committerKarl Berry <karl@freefriends.org>2011-03-10 00:07:45 +0000
commitc29f8f7a40881911a631e1496c7b650634748d77 (patch)
tree2b08bceb7538e7041c402c0e549893d7ff8317ed /Master/texmf-dist/tex/latex/aomart
parent97b70b98476329459abbe4fe5b2218aeef0164cf (diff)
aomart 1.7 (9mar11)
git-svn-id: svn://tug.org/texlive/trunk@21666 c570f23f-e606-0410-a88d-b1316a301751
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}%