diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-21 01:59:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-21 01:59:03 +0000 |
commit | c1cd940d224dfc49f9435216b113d208d0fa363d (patch) | |
tree | a3568c616cbb7a7416837a9ddc470400aa726d1a /Master | |
parent | b04210a80c629929ca93c6e3c0821f5061ff8096 (diff) |
aomart (20jan17)
git-svn-id: svn://tug.org/texlive/trunk@43002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomart.pdf | bin | 391580 -> 403221 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomsample.pdf | bin | 487018 -> 487004 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomsample.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomsample1.pdf | bin | 487024 -> 487008 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomsample1.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib | 226 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/aomart/aomart.dtx | 159 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/aomart/aomart.cls | 81 |
9 files changed, 436 insertions, 43 deletions
diff --git a/Master/texmf-dist/doc/latex/aomart/README b/Master/texmf-dist/doc/latex/aomart/README index 439322efee9..a69aec2b6ab 100644 --- a/Master/texmf-dist/doc/latex/aomart/README +++ b/Master/texmf-dist/doc/latex/aomart/README @@ -1,12 +1,15 @@ 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/. Changes: + Version 1.16 + Metadata handling changes. + Version 1.15 New doi formatting diff --git a/Master/texmf-dist/doc/latex/aomart/aomart.pdf b/Master/texmf-dist/doc/latex/aomart/aomart.pdf Binary files differindex cc9e3cb5a9f..0d9eab77333 100644 --- a/Master/texmf-dist/doc/latex/aomart/aomart.pdf +++ b/Master/texmf-dist/doc/latex/aomart/aomart.pdf diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample.pdf b/Master/texmf-dist/doc/latex/aomart/aomsample.pdf Binary files differindex f007851c737..4f57b856fb6 100644 --- a/Master/texmf-dist/doc/latex/aomart/aomsample.pdf +++ b/Master/texmf-dist/doc/latex/aomart/aomsample.pdf diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample.tex b/Master/texmf-dist/doc/latex/aomart/aomsample.tex index 8f2e55e1643..075373f0167 100644 --- a/Master/texmf-dist/doc/latex/aomart/aomsample.tex +++ b/Master/texmf-dist/doc/latex/aomart/aomsample.tex @@ -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 @@ Fairfax, VA 22030} %\doinumber{10.1215/S0012-7094-92-06520-3} \mrnumber{MR1154181} \zblnumber{0774.14039} - +\arxivnumber{1234.567890} %\oldsubsections diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf b/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf Binary files differindex b61047dc8bb..681da0f317b 100644 --- a/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf +++ b/Master/texmf-dist/doc/latex/aomart/aomsample1.pdf diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample1.tex b/Master/texmf-dist/doc/latex/aomart/aomsample1.tex index a2b84aa1a35..fb2a9e33a1e 100644 --- a/Master/texmf-dist/doc/latex/aomart/aomsample1.tex +++ b/Master/texmf-dist/doc/latex/aomart/aomsample1.tex @@ -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 @@ Fairfax, VA 22030} %\doinumber{10.1215/S0012-7094-92-06520-3} \mrnumber{MR1154181} \zblnumber{0774.14039} - +\arxivnumber{1234.567890} %\oldsubsections diff --git a/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib b/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib new file mode 100644 index 00000000000..fbcf198bb7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/aomart/aomsample_doi.bib @@ -0,0 +1,226 @@ +@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} +} + +@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} +} + +@book{fre:riesz, + author = {D. H. Fremlin}, + title = {Topological {R}iesz Spaces and Measure Theory}, + publisher = {Cambridge University Press}, + year = {2008} +} + +@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} +} + +@book{hapa:graphenum, + author = {F. Harary and E. M. Palmer}, + title = {Graphical Enumeration}, + publisher = {Academic Press}, + year = {1973} +} + +@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} +} + +@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} +} + +@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} +} + +@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} +} + +@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} +} + +@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} +} + +@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} +} + +@book{ste:sint, + author = {E. M. Stein}, + title = {Singular Integrals and Differentiability Properties of Functions}, + publisher = {Princeton Univ. Press}, + year = {1970}, + address = {Princeton, NJ} +} + +@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} +} + +@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} +} + +@unpublished{Minasyan08, + author = {A. Minasyan and D. Osin}, + title = {Normal Automorphisms of Relatively Hyperbolic Groups}, + arxiv = {0809.2408}, + year = {2008} +} + +@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} +} + +@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} +} + +@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} +} + +@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} +} + +@unpublished{Zarhin:AG, + author = {Zarhin, {\relax Yu}ri G.}, + title = {On Abel Groups}, + sortyear = {2200}, + note = {Private Communication} +} + +@unpublished{Zarhin:AC, + author = {Zarhin, {\relax Yu}ri G.}, + title = {Algebra and Cryptography}, + sortyear = {2100}, + note = {Private Communication} +} + +@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} +} + +@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} +} + diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx index 0952c51658c..e78731da025 100644 --- a/Master/texmf-dist/source/latex/aomart/aomart.dtx +++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx @@ -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,7 +871,14 @@ % \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@body} macro. However, we want the \cs{long} +% version, so we use \textsl{environ} +% \begin{macrocode} +\RequirePackage{environ} +% \end{macrocode} +% +% % % %\subsection{Internationalization} @@ -1195,6 +1205,7 @@ \@onlypreamble{\doinumber} \@onlypreamble{\mrnumber} \@onlypreamble{\zblnumber} +\@onlypreamble{\arxivnumber} % \end{macrocode} % % @@ -1203,19 +1214,71 @@ % % \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@addto@macro\@names{givenname=#1;}} +\def\surname#1{\g@addto@macro\@names{surname=#1;}} +\def\fulladdress#1{\g@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@addto@macro\@names{author=#2;}% + \else + \g@addto@macro\authors{\and#2}% + \g@addto@macro\@names{\and author=#2;}% + \g@addto@macro\addresses{\author{}}% + \fi + \@ifnotempty{#1}{% + \ifx\@empty\shortauthors + \gdef\shortauthors{#1}% + \else + \g@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@addto@macro\addresses{\email{#1}{#2}}% + \g@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@addto@macro\addresses{\urladdr{#1}{#2}}% + \g@addto@macro\@names{urladdr=#2;}% +} +% \end{macrocode} +% +% \end{macro} % % \begin{macro}{\keyword} % Actually \progname{amsart} has |\kewords| macro. It redefines @@ -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@abstract{} +\long\def\@getabstract#1{% + \long\gdef\@aom@abstract{#1}% \ifx\maketitle\relax \ClassWarning{aomart}{Abstract should precede \protect\maketitle\space in AMS derived classes}% @@ -1365,12 +1430,21 @@ \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@Body\@getabstract}{% + \ifx\@setabstract\relax\@setabstracta\fi} % \end{macrocode} % \end{macro} % @@ -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@write@paper@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@filesw \openout\@mainrpi\jobname.rpi% \def\and{\string\and\space}% - \def\pkg##1{ ##1 }% + \ifx\r@LastPage\@undefined + \edef\@tempa{\start@page}% + \else + \def\@tempc##1##2##3##4##5{##2}% + \edef\@tempa{\expandafter\@tempc\r@LastPage}% + \fi \protected@write\@mainrpi{}% {\@percentchar authors=\authors}% \protected@write\@mainrpi{}% + {\@percentchar authors.information={\@names}}% + \protected@write\@mainrpi{}% {\@percentchar title=\@title}% \protected@write\@mainrpi{}% {\@percentchar year=\currentyear}% @@ -1492,6 +1581,24 @@ {\@percentchar endpage=\@tempa}% \protected@write\@mainrpi{}% {\@percentchar doi=\@doinumber}% + \ifx\@zblnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar zbl=\@zblnumber}% + \fi + \ifx\@mrnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar mr=\@mrnumber}% + \fi + \ifx\@arxivnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar arxiv=\@arxivnumber}% + \fi + \protected@write\@mainrpi{}% + {\@percentchar subjects=\@subjects}% + \protected@write\@mainrpi{}% + {\@percentchar keywords=\@keywords}% + \protected@write\@mainrpi{}% + {\@percentchar abstract=\@aom@abstract}% \closeout\@mainrpi \fi \egroup} diff --git a/Master/texmf-dist/tex/latex/aomart/aomart.cls b/Master/texmf-dist/tex/latex/aomart/aomart.cls index a5824a7ca9d..d856183b2b9 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} -[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@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@by{By} \def\@aom@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@addto@macro\@names{givenname=#1;}} +\def\surname#1{\g@addto@macro\@names{surname=#1;}} +\def\fulladdress#1{\g@addto@macro\@names{fulladdress=#1;}} +\renewcommand{\author}[2][]{% + \ifx\@empty\authors + \gdef\authors{#2}% + \g@addto@macro\@names{author=#2;}% + \else + \g@addto@macro\authors{\and#2}% + \g@addto@macro\@names{\and author=#2;}% + \g@addto@macro\addresses{\author{}}% + \fi + \@ifnotempty{#1}{% + \ifx\@empty\shortauthors + \gdef\shortauthors{#1}% + \else + \g@addto@macro\shortauthors{\and#1}% + \fi + }% +} +\edef\author{\@nx\@dblarg + \@xp\@nx\csname\string\author\endcsname} +\renewcommand{\email}[2][]{% + \g@addto@macro\addresses{\email{#1}{#2}}% + \g@addto@macro\@names{email=#2;}% +} +\renewcommand{\urladdr}[2][]{% + \g@addto@macro\addresses{\urladdr{#1}{#2}}% + \g@addto@macro\@names{urladdr=#2;}% +} \def\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else \g@addto@macro\@keywords{, #1}\fi} \let\@subjects\@empty @@ -238,7 +268,9 @@ \else\def\end@page{#1}\fi} \def\pagespan#1#2{\startpage{#1}\endpage{#2}} \pagespan{1}{} -\renewenvironment{abstract}{% +\long\def\@aom@abstract{} +\long\def\@getabstract#1{% + \long\gdef\@aom@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@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@filesw \openout\@mainrpi\jobname.rpi% \def\and{\string\and\space}% - \def\pkg##1{ ##1 }% + \ifx\r@LastPage\@undefined + \edef\@tempa{\start@page}% + \else + \def\@tempc##1##2##3##4##5{##2}% + \edef\@tempa{\expandafter\@tempc\r@LastPage}% + \fi \protected@write\@mainrpi{}% {\@percentchar authors=\authors}% \protected@write\@mainrpi{}% + {\@percentchar authors.information={\@names}}% + \protected@write\@mainrpi{}% {\@percentchar title=\@title}% \protected@write\@mainrpi{}% {\@percentchar year=\currentyear}% @@ -299,6 +338,24 @@ {\@percentchar endpage=\@tempa}% \protected@write\@mainrpi{}% {\@percentchar doi=\@doinumber}% + \ifx\@zblnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar zbl=\@zblnumber}% + \fi + \ifx\@mrnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar mr=\@mrnumber}% + \fi + \ifx\@arxivnumber\@empty\else + \protected@write\@mainrpi{}% + {\@percentchar arxiv=\@arxivnumber}% + \fi + \protected@write\@mainrpi{}% + {\@percentchar subjects=\@subjects}% + \protected@write\@mainrpi{}% + {\@percentchar keywords=\@keywords}% + \protected@write\@mainrpi{}% + {\@percentchar abstract=\@aom@abstract}% \closeout\@mainrpi \fi \egroup} |