summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/aomart/aomart.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/aomart/aomart.dtx')
-rw-r--r--Master/texmf-dist/source/latex/aomart/aomart.dtx65
1 files changed, 61 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx
index e6e4396b32e..035d9b39f64 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.61 2012-10-26 16:52:19 boris Exp $
+% $Id: aomart.dtx,v 1.63 2015-02-18 18:01:50 boris Exp $
%
% Copyright 2010-2012, Princeton University (Mathematics Department)
% This work may be distributed and/or modified under the
@@ -23,7 +23,7 @@
% public domain.
%
% \fi
-% \CheckSum{1154}
+% \CheckSum{1217}
%
%
%% \CharacterTable
@@ -723,7 +723,7 @@
\ProvidesFile{aomart.dtx}
%</gobble>
%<class>\ProvidesClass{aomart}
-[2012/10/26 v1.13 Typesetting articles for the Annals of Mathematics]
+[2015/02/18 v1.14a Typesetting articles for the Annals of Mathematics]
% \end{macrocode}
%
%
@@ -1127,10 +1127,11 @@
% \end{macrocode}
%
% \begin{macro}{\annalsurl}
+% \changes{v1.14a}{2015/02/18}{New url}
% The command to set up the URL of the journal
% \begin{macrocode}
\def\annalsurl#1{\gdef\@annalsurl{#1}}
-\annalsurl{http://annals.math.princeton.edu/annals/about/cover/cover.html}
+\annalsurl{http://annals.math.princeton.edu/about}
% \end{macrocode}
%
% \end{macro}
@@ -1431,6 +1432,62 @@
%\label{sec:maketitle}
%
%
+% \begin{macro}{\@mainrpi}
+% \changes{v1.14}{2014/03/03}{Added macro}
+% We write the information about the paper into file.rpi (the
+% The stream for the rpi file:
+% \begin{macrocode}
+\newwrite\@mainrpi
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\aom@write@paper@info}
+% \changes{v1.14}{2014/03/04}{Added macro}
+% This writes the information about the paper into the file
+% |jobname.rpi|. Note that hyperref makes our life a little bit
+% more complex
+% \begin{macrocode}
+\def\aom@write@paper@info{%
+ \bgroup
+ \if@filesw
+ \openout\@mainrpi\jobname.rpi%
+ \def\and{\string\and\space}%
+ \def\pkg##1{ ##1 }%
+ \protected@write\@mainrpi{}%
+ {\@percentchar authors=\authors}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar title=\@title}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar year=\currentyear}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar volume=\currentvolume}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar issue=\currentissue}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar paper=\currentpaper}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar startpage=\start@page}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar endpage=\@tempa}%
+ \protected@write\@mainrpi{}%
+ {\@percentchar doi=\@doinumber}%
+ \closeout\@mainrpi
+ \fi
+\egroup}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\@maketitle@hook}
+% \changes{v1.14}{2014/03/04}{Added macro}
+% We add writing the information to the hook:
+% \begin{macrocode}
+\def\@maketitle@hook{\aom@write@paper@info\global\let\@maketitle@hook\@empty}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\@settitle}
% We do not uppercase title. Also, we use this occasion to set PDF
% information: