summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/aomart/aomart.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-16 22:18:59 +0000
committerKarl Berry <karl@freefriends.org>2017-04-16 22:18:59 +0000
commit4ced71c3924d49982b3a67a7e2967fe29ef3241c (patch)
treedf03d06afda39277ba8cea532afe48a66f55d036 /Master/texmf-dist/source/latex/aomart/aomart.dtx
parent46ab9ee2f4bd479a0161bf89e9431592b843f6d3 (diff)
aomart (14apr17)
git-svn-id: svn://tug.org/texlive/trunk@43859 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/aomart/aomart.dtx')
-rw-r--r--Master/texmf-dist/source/latex/aomart/aomart.dtx95
1 files changed, 70 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx
index fc519d1014c..4c3a87e8c66 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.67 2017/01/26 23:31:37 boris Exp $
+% $Id: aomart.dtx,v 1.70 2017/04/13 02:24:55 boris Exp $
%
% Copyright 2010-2017, Princeton University (Mathematics Department)
% This work may be distributed and/or modified under the
@@ -23,7 +23,7 @@
% public domain.
%
% \fi
-% \CheckSum{1361}
+% \CheckSum{1396}
%
%
%% \CharacterTable
@@ -107,6 +107,9 @@
% \changes{v1.17}{2017/01/26}{Added new field totalpages to the
% bibliography}
% \changes{v1.17a}{2017/01/26}{Bug fixed in aomplain.bst}
+% \changes{v1.18}{2017/02/11}{New option \texttt{oldkeywords} and
+% printing keywords and subjects by default}
+% \changes{v1.19}{2017/04/12}{Bibliography changes}
%
% \clearpage
%
@@ -243,6 +246,10 @@
% changed again according to Crossref recommendations. The option
% |doi2016| switches to the version existed between 2011 and 2016.
%
+% \DescribeOption{oldkeywords}%
+% Since June 2017 keywords and AMS Mathematical Subjects
+% classification numbers are printed on the title page. The option
+% \texttt{oldkeywords} suppresses this.
%
% \DescribeOptions{8pt,9pt,10pt,11pt,12pt}
% The size-changing options of \progname{amsart} class (|8pt|, |9pt|,
@@ -291,23 +298,23 @@
% author wants to add a footnote or linebreaks to the title.
%
%
-% \DescribeMacro{\author}
-% \DescribeMacro{\email}
-% \DescribeMacro{\address} \DescribeMacro{\curraddr}
-% \DescribeMacro{\urladdr}
-% The interface for specifying the authors
-% and their affiliations is close the the one of
-% \progname{amsart}~\cite{instr-l} (and different from the standard \LaTeX).
-% For each author a separate command |\author| should be used,
-% followed by |\address| and (optionally) |\curraddr|, |\email| and
-% |\urladdr|. Note that the house style of the \emph{Annals of
-% Mathematics} requires writing |\address| in the form
-% \emph{Institution, City, State} (or \emph{Institution, City,
-% Country} for non-US locations).
-% Like the newer versions of \progname{amsart}, \progname{aomart} does
-% \emph{not}
-% require the doubling of the |@| symbols in the e-mail addresses.
-% The macro |\author| has two arguments, similarly to |\title|:
+% \DescribeMacro{\author}%
+% \DescribeMacro{\email}%
+% \DescribeMacro{\address} \DescribeMacro{\curraddr}%
+% \DescribeMacro{\urladdr}%
+% \DescribeMacro{\orccid}%
+% The interface for specifying the authors and their affiliations is
+% close the the one of \progname{amsart}~\cite{instr-l} (and different
+% from the standard \LaTeX). For each author a separate command
+% |\author| should be used, followed by |\address| and (optionally)
+% |\curraddr|, |\email|, |\urladdr| and \cs{orcid}. Note that the
+% house style of the \emph{Annals of Mathematics} requires writing
+% |\address| in the form \emph{Institution, City, State} (or
+% \emph{Institution, City, Country} for non-US locations). Like the
+% newer versions of \progname{amsart}, \progname{aomart} does
+% \emph{not} require the doubling of the |@| symbols in the e-mail
+% addresses. The macro |\author| has two arguments, similarly to
+% |\title|:
% \begin{flushleft}
% |\author[|\meta{AbbrevName}|]{|\meta{FullName}|}|
% \end{flushleft}
@@ -738,7 +745,7 @@
\ProvidesFile{aomart.dtx}
%</gobble>
%<class>\ProvidesClass{aomart}
-[2017/02/04 v1.17a Typesetting articles for the Annals of Mathematics]
+[2017/04/12 v1.19 Typesetting articles for the Annals of Mathematics]
% \end{macrocode}
%
%
@@ -826,6 +833,17 @@
% \end{macro}
%
%
+% \begin{macro}{\if@aom@oldkeywords}
+% \changes{v1.18}{2017/02/11}{Added keywords processing}
+% Keywords processing is different in the ``old'' and new mode.
+% \begin{macrocode}
+\newif\if@aom@oldkeywords
+\@aom@oldkeywordsfalse
+\DeclareOption{oldkeywords}{\@aom@oldkeywordstrue}
+% \end{macrocode}
+%
+% \end{macro}
+%
%
%
% All other options are passed to \progname{amsart}:
@@ -1185,6 +1203,7 @@
\@onlypreamble{\address}
\@onlypreamble{\curraddr}
\@onlypreamble{\urladdr}
+\@onlypreamble{\orcid}
\@onlypreamble{\givenname}
\@onlypreamble{\fulladdress}
\@onlypreamble{\surname}
@@ -1287,6 +1306,18 @@
%
% \end{macro}
%
+% \begin{macro}{\orcid}
+% \changes{v1.18}{2017/02/15}{Added macro}
+% Orcid also outputs metadata
+% \begin{macrocode}
+\newcommand{\orcid}[2][]{%
+ \g@addto@macro\addresses{\orcid{#1}{#2}}%
+ \g@addto@macro\@names{orcid=#2;}%
+}
+% \end{macrocode}
+%
+% \end{macro}
+%
% \begin{macro}{\keyword}
% Actually \progname{amsart} has |\kewords| macro. It redefines
% |\@keywords|. Our macro adds to the stack instead.
@@ -1297,11 +1328,12 @@
% \end{macro}
%
% \begin{macro}{\subject}
-% We do not typeset subject, but use it for PDF info.
+% \changes{v1.18}{2017/02/15}{Drop scheme and primary/secondary}
+% Subjects:
% \begin{macrocode}
\let\@subjects\@empty
-\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#1:#2:#3}\else
- \g@addto@macro\@subjects{, #1:#2:#3}\fi}
+\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#3}\else
+ \g@addto@macro\@subjects{, #3}\fi}
% \end{macrocode}
%
% \end{macro}
@@ -1704,22 +1736,30 @@
%
%
% \begin{macro}{\@setkeywords}
-% We do not typeset keywords, but use them for the PDF information
+% \changes{v1.18}{2017/02/11}{Now we print keywords}
+% Typesetting keywords
% \begin{macrocode}
\def\@setkeywords{%
\ifpdf
\hypersetup{pdfkeywords=\@keywords}%
\fi
+ \if@aom@oldkeywords\else
+ \@footnotetext{Keywords: \@keywords}%
+ \fi
}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@setsubjects}
-% We do not typeset subjects, but use them for the PDF information
+% \changes{v1.18}{2017/02/11}{Now we print subjects}
+% Setting subjects
% \begin{macrocode}
\def\@setsubjects{%
\ifpdf
\hypersetup{pdfsubject=\@subjects}%
+ \if@aom@oldkeywords\else
+ \@footnotetext{AMS Classification: \@subjects}%
+ \fi
\fi
}
% \end{macrocode}
@@ -1789,6 +1829,7 @@
% \changes{v0.9}{2010/12/04}{Deleted spurious space in urladdress}
% \changes{v1.2}{2011/01/05}{Changed font for current address}
% \changes{v1.11}{2012/07/23}{Changed email handling}
+% \changes{v1.18}{2017/02/15}{Added orcid}
% The difference between our definition and the one in
% \progname{amsart} is that we want the e-mail and URL to be clickable
% \begin{macrocode}
@@ -1814,6 +1855,10 @@
\@ifnotempty{##2}{\nobreak\indent
\@ifnotempty{##1}{, \ignorespaces##1\unskip}%
\url{##2}\par}\endgroup}%
+ \def\orcid##1##2{\begingroup
+ \@ifnotempty{##2}{\nobreak\indent
+ \@ifnotempty{##1}{, \ignorespaces##1\unskip}%
+ ORCID: ##2\par}\endgroup}%
\addresses
\endgroup
}