texlive[43002] Master/texmf-dist: aomart (20jan17)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 21 02:59:03 CET 2017


Revision: 43002
          http://tug.org/svn/texlive?view=revision&revision=43002
Author:   karl
Date:     2017-01-21 02:59:03 +0100 (Sat, 21 Jan 2017)
Log Message:
-----------
aomart (20jan17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/aomart/README
    trunk/Master/texmf-dist/doc/latex/aomart/aomart.pdf
    trunk/Master/texmf-dist/doc/latex/aomart/aomsample.pdf
    trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex
    trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf
    trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex
    trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx
    trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib

Modified: trunk/Master/texmf-dist/doc/latex/aomart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/README	2017-01-21 01:58:44 UTC (rev 43001)
+++ trunk/Master/texmf-dist/doc/latex/aomart/README	2017-01-21 01:59:03 UTC (rev 43002)
@@ -1,6 +1,6 @@
 	      LaTeX Class for The Annals of Mathematics
 			    Boris Veytsman
-			     Version 1.15
+			     Version 1.16
 
 This package provides the class for typesetting articles for The Annals
 of Mathematics, http://annals.princeton.edu/.  
@@ -7,6 +7,9 @@
 
 Changes:
 
+    Version 1.16
+          Metadata handling changes. 
+
     Version 1.15
           New doi formatting
 

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomart.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex	2017-01-21 01:58:44 UTC (rev 43001)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex	2017-01-21 01:59:03 UTC (rev 43002)
@@ -104,7 +104,7 @@
 
 %\setcounter{tocdepth}{5}
 
-\title[Sample Paper]{Sample Paper for the \pkg{aomart}
+\title[Sample Paper]{Sample Paper for the \texttt{aomart}
   Class}
 \author[AMS]{American Mathematical Society}
 \address{AMS\\
@@ -150,7 +150,7 @@
 %\doinumber{10.1215/S0012-7094-92-06520-3}
 \mrnumber{MR1154181}
 \zblnumber{0774.14039}
-
+\arxivnumber{1234.567890}
 %\oldsubsections
 
 

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex	2017-01-21 01:58:44 UTC (rev 43001)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex	2017-01-21 01:59:03 UTC (rev 43002)
@@ -104,7 +104,7 @@
 
 %\setcounter{tocdepth}{5}
 
-\title[Sample Paper]{Sample Paper for the \pkg{aomart}
+\title[Sample Paper]{Sample Paper for the \texttt{aomart}
   Class}
 \author[AMS]{American Mathematical Society}
 \address{AMS\\
@@ -150,7 +150,7 @@
 %\doinumber{10.1215/S0012-7094-92-06520-3}
 \mrnumber{MR1154181}
 \zblnumber{0774.14039}
-
+\arxivnumber{1234.567890}
 %\oldsubsections
 
 

Added: trunk/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib	2017-01-21 01:59:03 UTC (rev 43002)
@@ -0,0 +1,226 @@
+ at article{dihe:newdir,
+  author = {W. Diffie and E. Hellman},
+  title = {New directions in Cryptography},
+  journal = {IEEE Transactions on Information Theory},
+  year = {1976},
+  volume = {22},
+  number = {5},
+  pages = {644--654},
+  doi = {10.1109/TIT.1976.1055638}
+}
+
+ at misc{fre:cichon,
+  author = {D. H. Fremlin},
+  title = {Cichon's Diagram},
+  howpublished = {presented at the S{\'e}minaire Initiation {\`a} l'Analyse, G. Choquet, M. Rogalski, J. Saint Raymond, at the Universit{\'e} Pierre et Marie Curie, Paris, 23e ann{\'e}e.},
+  year = {1983/194}
+}
+
+ at book{fre:riesz,
+  author = {D. H. Fremlin},
+  title = {Topological {R}iesz Spaces and Measure Theory},
+  publisher = {Cambridge University Press},
+  year = {2008}
+}
+
+ at article{gouja:lagrmeth,
+  author = {I. P. Goulden and D. M. Jackson},
+  title = {The Enumeration of Directed Closed {E}uler Trails and Directed {H}amiltonian Circuits by {L}angrangian Methods},
+  journal = {European Journal of Combinatorics},
+  year = {1981},
+  volume = {2},
+  pages = {131--212},
+  doi = {10.1016/S0195-6698(81)80004-2}
+}
+
+ at book{hapa:graphenum,
+  author = {F. Harary and E. M. Palmer},
+  title = {Graphical Enumeration},
+  publisher = {Academic Press},
+  year = {1973}
+}
+
+ at inproceedings{imlelu:oneway,
+  author = {R. Impagliazzo and L. Levin and M. Luby},
+  title = {Pseudo-random Generation from One-Way Functions},
+  booktitle = {Proc. 21st STOC},
+  pages = {12--24},
+  year = {1989},
+  venue = {Seattle, WA, USA},
+  address = {New York},
+  publisher = {ACM}
+}
+
+ at techreport{komiyo:unipfunc,
+  author = {M. Kojima and S. Mizuno and A. Yoshise},
+  title = {A New Continuation Method for Complementarity Problems With Uniform $p$-Functions},
+  institution = {Tokyo Inst. of Technology, Dept. of Information Sciences},
+  year = {1987},
+  number = {B-194},
+  address = {Tokyo}
+}
+
+ at techreport{komiyo:lincomp,
+  author = {M. Kojima and S. Mizuno and A. Yoshise},
+  title = {A Polynomial-Time Algorithm For a Class of Linear Complementarity Problems},
+  institution = {Tokyo Inst. of Technology, Dept. of Information Sciences},
+  year = {1987},
+  number = {B-193},
+  address = {Tokyo}
+}
+
+ at article{liuchow:formalsum,
+  author = {C. J. Liu and Yutze Chow},
+  title = {On Operator and Formal Sum Methods for Graph Enumeration Problems},
+  journal = {SIAM Journal of Algorithms and Discrete Methods},
+  year = {1984},
+  volume = {5},
+  pages = {384--438},
+  doi = {10.1137/0605038}
+}
+
+ at article{mami:matrixth,
+  author = {M. Marcus and H. Minc},
+  title = {A Survey of Matrix Theory and Matrix Inequalities},
+  journal = {Complementary Series in Mathematics},
+  year = {1964},
+  volume = {14},
+  pages = {21--48}
+}
+
+ at techreport{miyoki:lincomp,
+  author = {S. Mizuno and A. Yoshise and T. Kikuchi},
+  title = {Practical Polynomial Time Algorithms for Linear Complementarity Problems},
+  institution = {Tokyo Inst. of Technology, Dept. of Industrial Engineering and Management},
+  year = {1988},
+  number = {13},
+  address = {Tokyo},
+  month = {April}
+}
+
+ at techreport{moad:quadpro,
+  author = {R. D. Monteiro and I. Adler},
+  title = {Interior Path Following Primal-Dual Algorithms, Part {II}: Quadratic Programming},
+  institution = {Dept. of Industrial Engineering and Operations Research},
+  year = {1987},
+  type = {Working Paper},
+  month = {August}
+}
+
+ at book{ste:sint,
+  author = {E. M. Stein},
+  title = {Singular Integrals and Differentiability Properties of Functions},
+  publisher = {Princeton Univ. Press},
+  year = {1970},
+  address = {Princeton, NJ}
+}
+
+ at phdthesis{ye:intalg,
+  author = {Y. Ye},
+  title = {Interior Algorithms for Linear, Quadratic and Linearly Constrained Convex Programming},
+  school = {Stanford Univ., Dept. of Engineering--Economic Systems},
+  year = {1987},
+  address = {Palo Alto, CA},
+  month = {July}
+}
+
+ at article{Lenstra74,
+  author = {Lenstra, Jr., Hendrik W. and Oort, Frans},
+  title = {Simple abelian varieties having a prescribed formal isogeny type.},
+  journal = {J. Pure Appl. Algebra},
+  volume = {4},
+  pages = {47--53},
+  year = {1974},
+  doi = {10.1016/0022-4049(74)90029-2},
+  zblnumber = {50:7163},
+  mrnumber = {0279.14009},
+  url = {http://www.math.leidenuniv.nl/~hwl/PUBLICATIONS/1973a/art.pdf}
+}
+
+ at unpublished{Minasyan08,
+  author = {A. Minasyan and D. Osin},
+  title = {Normal Automorphisms of Relatively Hyperbolic Groups},
+  arxiv = {0809.2408},
+  year = {2008}
+}
+
+ at article{Zarhin92,
+  key = {Zarh92},
+  author = {Zarhin, {\relax Yu}ri G.},
+  title = {Abelian Varieties Having a Reduction of {K3} Type},
+  journal = {Duke Math J.},
+  year = {1992},
+  volume = {65},
+  number = {3},
+  pages = {511--527},
+  mrnumber = {1154181},
+  zblnumber = {0774.14039},
+  doi = {10.1215/S0012-7094-92-06520-3}
+}
+
+ at book{Arnold89:MathMethodsMechanics,
+  author = {Arnold, V. I.},
+  title = {Mathematical Methods of Classical Mechanics},
+  publisher = {Springer},
+  year = {1989},
+  volume = {60},
+  series = {Graduate Texts in Mathematics},
+  address = {New York},
+  edition = {Second}
+}
+
+ at book{Michal48,
+  author = {A. D. Michal},
+  title = {Matrix and Tensor Calculus},
+  publisher = {John Wiley \& Sons, Inc.; Chapman \& Hall, Ltd.},
+  year = {1948},
+  series = {GALCIT Aeronautical Series},
+  address = {New York; London}
+}
+
+ at article{Michal38,
+  author = {A. D. Michal},
+  title = {Differential Calculus in Linear Topological Spaces},
+  journal = {Proc. nat. Acad. Sci. USA},
+  year = {1938},
+  volume = {24},
+  jfmnumber = {64.0366.02},
+  pages = {340--342},
+  doi = {10.1073/pnas.24.8.340}
+}
+
+ at unpublished{Zarhin:AG,
+  author = {Zarhin, {\relax Yu}ri G.},
+  title = {On Abel Groups},
+  sortyear = {2200},
+  note = {Private Communication}
+}
+
+ at unpublished{Zarhin:AC,
+  author = {Zarhin, {\relax Yu}ri G.},
+  title = {Algebra and Cryptography},
+  sortyear = {2100},
+  note = {Private Communication}
+}
+
+ at incollection{degroot1992stochastic,
+  author = {C. de Groot and D. W{\"u}rtz and M. Hanf and R. Peikert and T. Koller and K. H. Hoffmann},
+  title = {Stochastic Optimization---Efficient Algorithms to Solve Complex Problems},
+  booktitle = {System Modelling and Optimization, Proceedings of the Fifteenth IFIP Conference},
+  year = {1992},
+  editor = {P. Kall},
+  pages = {546--555},
+  venue = {Z{\"u}rich},
+  publisher = {Springer-Verlag}
+}
+
+ at book{Knuth94:TheTeXbook,
+  author = {Knuth, Donald Ervin},
+  title = {The \TeX book},
+  publisher = {Addison-Wesley Publishing Company},
+  year = {1994},
+  series = {Computers \& Typesetting A},
+  address = {Reading, MA},
+  titlenote = {with illustrations by Duane Bibby}
+}
+

Modified: trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2017-01-21 01:58:44 UTC (rev 43001)
+++ trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2017-01-21 01:59:03 UTC (rev 43002)
@@ -1,7 +1,7 @@
 % \iffalse
-% $Id: aomart.dtx,v 1.64 2016/11/18 21:41:12 boris Exp $
+% $Id: aomart.dtx,v 1.66 2017/01/20 02:18:37 boris Exp $
 %
-% Copyright 2010-2016, Princeton University (Mathematics Department)
+% Copyright 2010-2017, Princeton University (Mathematics Department)
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
 % version 1.3 of this license or (at your option) any 
@@ -23,7 +23,7 @@
 % public domain.
 %
 % \fi 
-% \CheckSum{1226}
+% \CheckSum{1361}
 %
 %
 %% \CharacterTable
@@ -471,19 +471,22 @@
 % canned one (with the command \cmd{\copyrightnote}), you need to put
 % there the copyright year explicitly instead of using this command.  
 %
-% \DescribeMacro{\doinumber}
-% \DescribeMacro{\mrnumber}
-% \DescribeMacro{\zblnumber}
+% \DescribeMacro{\doinumber}%
+% \DescribeMacro{\mrnumber}%
+% \DescribeMacro{\zblnumber}%
+% \DescribeMacro{\arxivnumber}%
 % The macros |\doinumber|, |\mrnumber| and |\zblnumber|  set the
 % information about paper in four major reference databases:  DOI
 % (\url{http://www.doi.org/}), MathSciNet
 % (\url{http://www.ams.org/mathscinet/}, Zentralblatt MATH
-% (\url{http://www.zentralblatt-math.org/zmath/}).  The use of these 
+% (\url{http://www.zentralblatt-math.org/zmath/}) and arXiv
+% (\url{https://www.arxiv.org}).  The use of these  
 % macros should be obvious: 
 % \begin{verbatim}
 % \doinumber{10.1215/S0012-7094-92-06520-3}
 % \mrnumber{1154181}
 % \zblnumber{0774.14039}
+% \arxivnumber{1234.567890}
 % \end{verbatim}
 % Note the difference between these commands and the bibliography
 % commands discussed in Section~\ref{sec:biblio}.  Commands in this
@@ -728,7 +731,7 @@
 \ProvidesFile{aomart.dtx}
 %</gobble>
 %<class>\ProvidesClass{aomart}
-[2016/11/18 v1.15 Typesetting articles for the Annals of Mathematics]
+[2016/12/03 v1.16 Typesetting articles for the Annals of Mathematics]
 %    \end{macrocode}
 %
 %
@@ -868,9 +871,16 @@
 %    \end{macrocode}
 %
 % \changes{v0.4}{2010/09/29}{Deleted lineno package dependence} 
+% \changes{v1.16}{2016/12/03}{We require environ package} 
+% Amsart has \cs{collect at body} macro.  However, we want the \cs{long}
+% version, so we use \textsl{environ}
+%    \begin{macrocode}
+\RequirePackage{environ}
+%    \end{macrocode}
+% 
+% 
 %
 %
-%
 %\subsection{Internationalization}
 %\label{sec:babel}
 % 
@@ -1195,6 +1205,7 @@
 \@onlypreamble{\doinumber}
 \@onlypreamble{\mrnumber}
 \@onlypreamble{\zblnumber}
+\@onlypreamble{\arxivnumber}
 %    \end{macrocode}
 % 
 %
@@ -1203,20 +1214,72 @@
 %
 % \begin{macro}{\fulladdress}
 % \changes{v1.11}{2012/08/16}{Added macro} 
+% \changes{v1.16}{2016/12/03}{Redefined} 
 % \begin{macro}{\givenname}
+% \changes{v1.16}{2016/12/03}{Redefined} 
 % \begin{macro}{\surname}
-%   These commands at present do nothing:  they are for machine
-%   indexing only.
+% \changes{v1.16}{2016/12/03}{Redefined} 
+%   We store the information to output it later in the rpi file
 %    \begin{macrocode}
-\let\givenname=\@gobble
-\let\surname=\@gobble
-\let\fulladdress=\@gobble
+\def\@names{}
+\def\givenname#1{\g at addto@macro\@names{givenname=#1;}}
+\def\surname#1{\g at addto@macro\@names{surname=#1;}}
+\def\fulladdress#1{\g at addto@macro\@names{fulladdress=#1;}}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\author}
+% \changes{v1.16}{2016/12/03}{Redefined amsart definition} 
+%   We add mangling of \cs{@names} to the amsart macro
+%    \begin{macrocode}
+\renewcommand{\author}[2][]{%
+  \ifx\@empty\authors
+    \gdef\authors{#2}%
+    \g at addto@macro\@names{author=#2;}%
+  \else
+    \g at addto@macro\authors{\and#2}%
+    \g at addto@macro\@names{\and author=#2;}%
+    \g at addto@macro\addresses{\author{}}%
+  \fi
+  \@ifnotempty{#1}{%
+    \ifx\@empty\shortauthors
+      \gdef\shortauthors{#1}%
+    \else
+      \g at addto@macro\shortauthors{\and#1}%
+    \fi
+  }%
+}
+\edef\author{\@nx\@dblarg
+  \@xp\@nx\csname\string\author\endcsname}
+%    \end{macrocode}
+%   
+% \end{macro}
 %
+% \begin{macro}{\email}
+% \changes{v1.16}{2016/12/03}{Redefined amsart definition} 
+%   We change amsart macro to output metadata
+%    \begin{macrocode}
+\renewcommand{\email}[2][]{%
+  \g at addto@macro\addresses{\email{#1}{#2}}%
+  \g at addto@macro\@names{email=#2;}%
+}
+%    \end{macrocode}
+%   
+% \end{macro}
+% \begin{macro}{\urladdr}
+% \changes{v1.16}{2016/12/03}{Redefined amsart definition} 
+%   We change amsart macro to output metadata
+%    \begin{macrocode}
+\renewcommand{\urladdr}[2][]{%
+  \g at addto@macro\addresses{\urladdr{#1}{#2}}%
+  \g at addto@macro\@names{urladdr=#2;}%
+}
+%    \end{macrocode}
+%   
+% \end{macro}
+%
 % \begin{macro}{\keyword}
 %   Actually \progname{amsart} has |\kewords| macro. It redefines
 %   |\@keywords|.  Our macro adds to the stack instead.
@@ -1346,12 +1409,14 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{abstract}
-% \changes{v0.9}{2010/12/04}{Added parindent for the first par} 
-%   We slightly redefine abstract comparing to \progname{amsart}
-%   conventions:
+% \begin{macro}{\@getabstract}
+%   Amsart typesets the abstract in a box.  We preserve this
+%   peculuarity, but we need to put abstract in a macro to output in
+%   the rpi file.
 %    \begin{macrocode}
-\renewenvironment{abstract}{%
+\long\def\@aom at abstract{}
+\long\def\@getabstract#1{%
+  \long\gdef\@aom at abstract{#1}%
   \ifx\maketitle\relax
     \ClassWarning{aomart}{Abstract should precede
       \protect\maketitle\space in AMS derived classes}%
@@ -1365,15 +1430,24 @@
       \parsep\z@ \@plus\p@%
       \let\fullwidthdisplay\relax%
     }%
-    \item[]\normalfont\Small%
-}{%
-  \endlist\egroup%
-  \ifx\@setabstract\relax\@setabstracta\fi%
-}
-
+    \item[]\normalfont\Small#1
+  \endlist\egroup}
 %    \end{macrocode}
+%   
 % \end{macro}
 %
+%
+% \begin{macro}{abstract}
+% \changes{v0.9}{2010/12/04}{Added parindent for the first par} 
+% \changes{v1.16}{2016/12/03}{Redefined using environ} 
+%   This puts abstract in a box \emph{and} in a macro.  Wasteful, but
+%   backword compatible
+%    \begin{macrocode}
+\renewenvironment{abstract}{\Collect at Body\@getabstract}{%
+  \ifx\@setabstract\relax\@setabstracta\fi}
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}{\proposed}
 % \changes{v0.3}{2010/09/26}{Added macro} 
 % We do not typeset the name of the proposer
@@ -1410,6 +1484,8 @@
 % \changes{v0.3}{2010/09/26}{Added macro} 
 % \begin{macro}{\zblnumber}
 % \changes{v0.3}{2010/09/26}{Added macro} 
+% \begin{macro}{\arxivnumber}
+% \changes{v1.16}{2016/12/04}{Added macro} 
 %   Now databases' numbers of the article:
 %    \begin{macrocode}
 \def\doinumber#1{\gdef\@doinumber{#1}}
@@ -1418,11 +1494,14 @@
 \mrnumber{}
 \def\zblnumber#1{\gdef\@zblnumber{#1}}
 \zblnumber{}
+\def\arxivnumber#1{\gdef\@arxivnumber{#1}}
+\arxivnumber{}
 %    \end{macrocode}
 %   
 % \end{macro}
 % \end{macro}
 % \end{macro}
+% \end{macro}
 %
 % \begin{macro}{\copyrightyear}
 % \changes{v1.11}{2012/07/23}{Added macro} 
@@ -1464,6 +1543,9 @@
 %
 % \begin{macro}{\aom at write@paper at info}
 % \changes{v1.14}{2014/03/04}{Added macro} 
+% \changes{v1.16}{2016/12/03}{Added names, abstract, subjects,
+% keywords, zblnumber, arxivnumber} 
+% \changes{v1.16}{2016/12/03}{Corrected the endpage bug} 
 %   This writes the information about the paper into the file
 %   |jobname.rpi|.  Note that hyperref makes our life a little bit
 %   more complex
@@ -1473,10 +1555,17 @@
   \if at filesw
     \openout\@mainrpi\jobname.rpi%
     \def\and{\string\and\space}%
-    \def\pkg##1{ ##1 }%
+    \ifx\r at LastPage\@undefined
+       \edef\@tempa{\start at page}%
+    \else
+       \def\@tempc##1##2##3##4##5{##2}%
+       \edef\@tempa{\expandafter\@tempc\r at LastPage}%
+    \fi
    \protected at write\@mainrpi{}%
     {\@percentchar authors=\authors}%
    \protected at write\@mainrpi{}%
+    {\@percentchar authors.information={\@names}}%
+   \protected at write\@mainrpi{}%
     {\@percentchar title=\@title}%
    \protected at write\@mainrpi{}%
     {\@percentchar year=\currentyear}%
@@ -1492,6 +1581,24 @@
     {\@percentchar endpage=\@tempa}%
    \protected at write\@mainrpi{}%
     {\@percentchar doi=\@doinumber}%
+   \ifx\@zblnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar zbl=\@zblnumber}%
+   \fi
+   \ifx\@mrnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar mr=\@mrnumber}%
+   \fi
+   \ifx\@arxivnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar arxiv=\@arxivnumber}%
+   \fi
+   \protected at write\@mainrpi{}%
+    {\@percentchar subjects=\@subjects}%
+   \protected at write\@mainrpi{}%
+    {\@percentchar keywords=\@keywords}%
+   \protected at write\@mainrpi{}%
+    {\@percentchar abstract=\@aom at abstract}%    
     \closeout\@mainrpi
     \fi
 \egroup}

Modified: trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2017-01-21 01:58:44 UTC (rev 43001)
+++ trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2017-01-21 01:59:03 UTC (rev 43002)
@@ -37,7 +37,7 @@
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{aomart}
-[2016/11/18 v1.15 Typesetting articles for the Annals of Mathematics]
+[2016/12/03 v1.16 Typesetting articles for the Annals of Mathematics]
 \long\def\aom at size@warning#1{%
   \ClassWarning{aomart}{Size-changing option #1 will not be
     honored}}%
@@ -79,6 +79,7 @@
   urlcolor=black}%
 \fi\fi
 \urlstyle{rm}
+\RequirePackage{environ}
 \def\@aom at by{By}
 \def\@aom at and{and}
 \AtBeginDocument{\@ifpackageloaded{babel}{%
@@ -198,9 +199,38 @@
 \@onlypreamble{\doinumber}
 \@onlypreamble{\mrnumber}
 \@onlypreamble{\zblnumber}
-\let\givenname=\@gobble
-\let\surname=\@gobble
-\let\fulladdress=\@gobble
+\@onlypreamble{\arxivnumber}
+\def\@names{}
+\def\givenname#1{\g at addto@macro\@names{givenname=#1;}}
+\def\surname#1{\g at addto@macro\@names{surname=#1;}}
+\def\fulladdress#1{\g at addto@macro\@names{fulladdress=#1;}}
+\renewcommand{\author}[2][]{%
+  \ifx\@empty\authors
+    \gdef\authors{#2}%
+    \g at addto@macro\@names{author=#2;}%
+  \else
+    \g at addto@macro\authors{\and#2}%
+    \g at addto@macro\@names{\and author=#2;}%
+    \g at addto@macro\addresses{\author{}}%
+  \fi
+  \@ifnotempty{#1}{%
+    \ifx\@empty\shortauthors
+      \gdef\shortauthors{#1}%
+    \else
+      \g at addto@macro\shortauthors{\and#1}%
+    \fi
+  }%
+}
+\edef\author{\@nx\@dblarg
+  \@xp\@nx\csname\string\author\endcsname}
+\renewcommand{\email}[2][]{%
+  \g at addto@macro\addresses{\email{#1}{#2}}%
+  \g at addto@macro\@names{email=#2;}%
+}
+\renewcommand{\urladdr}[2][]{%
+  \g at addto@macro\addresses{\urladdr{#1}{#2}}%
+  \g at addto@macro\@names{urladdr=#2;}%
+}
 \def\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else
   \g at addto@macro\@keywords{, #1}\fi}
 \let\@subjects\@empty
@@ -238,7 +268,9 @@
   \else\def\end at page{#1}\fi}
 \def\pagespan#1#2{\startpage{#1}\endpage{#2}}
 \pagespan{1}{}
-\renewenvironment{abstract}{%
+\long\def\@aom at abstract{}
+\long\def\@getabstract#1{%
+  \long\gdef\@aom at abstract{#1}%
   \ifx\maketitle\relax
     \ClassWarning{aomart}{Abstract should precede
       \protect\maketitle\space in AMS derived classes}%
@@ -252,12 +284,10 @@
       \parsep\z@ \@plus\p@%
       \let\fullwidthdisplay\relax%
     }%
-    \item[]\normalfont\Small%
-}{%
-  \endlist\egroup%
-  \ifx\@setabstract\relax\@setabstracta\fi%
-}
-
+    \item[]\normalfont\Small#1
+  \endlist\egroup}
+\renewenvironment{abstract}{\Collect at Body\@getabstract}{%
+  \ifx\@setabstract\relax\@setabstracta\fi}
 \let\proposed\@gobble
 \let\seconded\@gobble
 \let\corresponding\@gobble
@@ -268,6 +298,8 @@
 \mrnumber{}
 \def\zblnumber#1{\gdef\@zblnumber{#1}}
 \zblnumber{}
+\def\arxivnumber#1{\gdef\@arxivnumber{#1}}
+\arxivnumber{}
 \def\copyrightyear#1{\def\@copyrightyear{#1}}
 \copyrightyear{}
 \def\copyrightnote#1{\def\@copyrightnote{#1}}
@@ -280,10 +312,17 @@
   \if at filesw
     \openout\@mainrpi\jobname.rpi%
     \def\and{\string\and\space}%
-    \def\pkg##1{ ##1 }%
+    \ifx\r at LastPage\@undefined
+       \edef\@tempa{\start at page}%
+    \else
+       \def\@tempc##1##2##3##4##5{##2}%
+       \edef\@tempa{\expandafter\@tempc\r at LastPage}%
+    \fi
    \protected at write\@mainrpi{}%
     {\@percentchar authors=\authors}%
    \protected at write\@mainrpi{}%
+    {\@percentchar authors.information={\@names}}%
+   \protected at write\@mainrpi{}%
     {\@percentchar title=\@title}%
    \protected at write\@mainrpi{}%
     {\@percentchar year=\currentyear}%
@@ -299,6 +338,24 @@
     {\@percentchar endpage=\@tempa}%
    \protected at write\@mainrpi{}%
     {\@percentchar doi=\@doinumber}%
+   \ifx\@zblnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar zbl=\@zblnumber}%
+   \fi
+   \ifx\@mrnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar mr=\@mrnumber}%
+   \fi
+   \ifx\@arxivnumber\@empty\else
+   \protected at write\@mainrpi{}%
+    {\@percentchar arxiv=\@arxivnumber}%
+   \fi
+   \protected at write\@mainrpi{}%
+    {\@percentchar subjects=\@subjects}%
+   \protected at write\@mainrpi{}%
+    {\@percentchar keywords=\@keywords}%
+   \protected at write\@mainrpi{}%
+    {\@percentchar abstract=\@aom at abstract}%
     \closeout\@mainrpi
     \fi
 \egroup}



More information about the tex-live-commits mailing list