summaryrefslogtreecommitdiff
path: root/Master
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
parent97b70b98476329459abbe4fe5b2218aeef0164cf (diff)
aomart 1.7 (9mar11)
git-svn-id: svn://tug.org/texlive/trunk@21666 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/aomart/README6
-rw-r--r--Master/texmf-dist/doc/latex/aomart/aomart.pdfbin284187 -> 285191 bytes
-rw-r--r--Master/texmf-dist/doc/latex/aomart/aomsample.pdfbin391966 -> 391966 bytes
-rw-r--r--Master/texmf-dist/doc/latex/aomart/aomsample1.pdfbin391979 -> 391979 bytes
-rw-r--r--Master/texmf-dist/source/latex/aomart/aomart.dtx28
-rw-r--r--Master/texmf-dist/tex/latex/aomart/aomart.cls12
6 files changed, 39 insertions, 7 deletions
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
--- a/Master/texmf-dist/doc/latex/aomart/aomart.pdf
+++ b/Master/texmf-dist/doc/latex/aomart/aomart.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/aomart/aomsample.pdf
+++ b/Master/texmf-dist/doc/latex/aomart/aomsample.pdf
Binary files 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
--- a/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf
+++ b/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf
Binary files 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}
%</gobble>
%<class>\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}%