texlive[44282] Master/texmf-dist: aomart (10may17)

commits+karl at tug.org commits+karl at tug.org
Wed May 10 23:12:01 CEST 2017


Revision: 44282
          http://tug.org/svn/texlive?view=revision&revision=44282
Author:   karl
Date:     2017-05-10 23:12:01 +0200 (Wed, 10 May 2017)
Log Message:
-----------
aomart (10may17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst
    trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst
    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.bib
    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

Modified: trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst	2017-05-10 21:12:01 UTC (rev 44282)
@@ -368,7 +368,13 @@
   jfmnumber output.nonempty.jfmnumber
   arxiv output.nonempty.arxiv
   doi output.nonempty.doi
-  url output.nonempty.url
+  doi empty$
+    { url output.nonempty.url }
+    { doi missing$
+      { url output.nonempty.url }
+      'skip$
+      if$}
+  if$
   newline$
 }
 

Modified: trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst	2017-05-10 21:12:01 UTC (rev 44282)
@@ -364,7 +364,13 @@
   jfmnumber output.nonempty.jfmnumber
   arxiv output.nonempty.arxiv
   doi output.nonempty.doi
-  url output.nonempty.url
+  doi empty$
+    { url output.nonempty.url }
+    { doi missing$
+      { url output.nonempty.url }
+      'skip$
+      if$}
+  if$
   newline$
 }
 

Modified: trunk/Master/texmf-dist/doc/latex/aomart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/README	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/doc/latex/aomart/README	2017-05-10 21:12:01 UTC (rev 44282)
@@ -1,6 +1,6 @@
 	      LaTeX Class for The Annals of Mathematics
 			    Boris Veytsman
-			    Version 1.19
+			    Version 1.20
 
 This package provides the class for typesetting articles for The Annals
 of Mathematics, http://annals.princeton.edu/.  
@@ -7,6 +7,10 @@
 
 Changes:
 
+    Version 1.20
+    	  Print primary and secondary subjects separately
+	  We no longer print url if doi is present
+
     Version 1.19
           Bibliography changes
 

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

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib	2017-05-10 21:12:01 UTC (rev 44282)
@@ -194,7 +194,7 @@
   author = 	 {A. Minasyan and D. Osin},
   title = 	 {Normal Automorphisms of Relatively Hyperbolic Groups},
   arxiv =        {0809.2408},
-  year =	 2008
+  year =	 2008,
 }
 
 @Article{Zarhin92,

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-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex	2017-05-10 21:12:01 UTC (rev 44282)
@@ -126,8 +126,10 @@
 
 \keyword{Hamiltonian paths}
 \keyword{Typesetting}
-\subject{primary}{matsc2000}{123456789}
+\subject{primary}{matsc2000}{1AB5}
+\subject{primary}{matsc2000}{2FD5}
 \subject{secondary}{matsc2000}{FFFF}
+\subject{secondary}{matsc2000}{G25}
 
 \received{\formatdate{2004-12-24}}
 \revised{\formatdate{2006-04-12}}
@@ -1732,7 +1734,7 @@
 
 
 \bibliography{aomsample}
-\bibliographystyle{aomalpha}
+\bibliographystyle{aomplain}
 
 \end{document}
 \endinput

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-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex	2017-05-10 21:12:01 UTC (rev 44282)
@@ -126,8 +126,10 @@
 
 \keyword{Hamiltonian paths}
 \keyword{Typesetting}
-\subject{primary}{matsc2000}{123456789}
+\subject{primary}{matsc2000}{1AB5}
+\subject{primary}{matsc2000}{2FD5}
 \subject{secondary}{matsc2000}{FFFF}
+\subject{secondary}{matsc2000}{G25}
 
 \received{\formatdate{2004-12-24}}
 \revised{\formatdate{2006-04-12}}

Modified: trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2017-05-10 21:12:01 UTC (rev 44282)
@@ -1,5 +1,5 @@
 % \iffalse
-% $Id: aomart.dtx,v 1.70 2017/04/13 02:24:55 boris Exp $
+% $Id: aomart.dtx,v 1.72 2017/05/09 19:25:37 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{1396}
+% \CheckSum{1441}
 %
 %
 %% \CharacterTable
@@ -745,7 +745,7 @@
 \ProvidesFile{aomart.dtx}
 %</gobble>
 %<class>\ProvidesClass{aomart}
-[2017/04/12 v1.19 Typesetting articles for the Annals of Mathematics]
+[2017/05/09 v1.20 Typesetting articles for the Annals of Mathematics]
 %    \end{macrocode}
 %
 %
@@ -1329,11 +1329,17 @@
 %
 % \begin{macro}{\subject}
 % \changes{v1.18}{2017/02/15}{Drop scheme and primary/secondary} 
+% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} 
 %   Subjects:
 %    \begin{macrocode}
-\let\@subjects\@empty
-\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#3}\else
-  \g at addto@macro\@subjects{, #3}\fi}
+\let\@primarysubjects\@empty
+\let\@secondarysubjects\@empty
+\def\subject#1#2#3{%
+  \expandafter\ifx\csname @#1subjects\endcsname\@empty\relax
+     \expandafter\gdef\csname @#1subjects\endcsname{#3}%
+  \else
+     \expandafter\g at addto@macro\csname @#1subjects\endcsname{, #3}%
+  \fi}
 %    \end{macrocode}
 %   
 % \end{macro}
@@ -1585,6 +1591,7 @@
 % \changes{v1.16}{2016/12/03}{Added names, abstract, subjects,
 % keywords, zblnumber, arxivnumber} 
 % \changes{v1.16}{2016/12/03}{Corrected the endpage bug} 
+% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} 
 %   This writes the information about the paper into the file
 %   |jobname.rpi|.  Note that hyperref makes our life a little bit
 %   more complex
@@ -1633,7 +1640,8 @@
     {\@percentchar arxiv=\@arxivnumber}%
    \fi
    \protected at write\@mainrpi{}%
-    {\@percentchar subjects=\@subjects}%
+    {\@percentchar subjects=Primary \@primarysubjects; Secondary:
+      \@secondarysubjects}% 
    \protected at write\@mainrpi{}%
     {\@percentchar keywords=\@keywords}%
    \protected at write\@mainrpi{}%
@@ -1715,6 +1723,7 @@
 %
 % \begin{macro}{\@adminfootnotes}
 % \changes{v1.11}{2012/07/23}{Added copyright statement} 
+% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} 
 %   We do not typeset keywords, so we change the definition:
 %    \begin{macrocode}
 \def\@adminfootnotes{%
@@ -1722,7 +1731,10 @@
   \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi
   \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
   \ifx\@empty\@keywords\else\@setkeywords\fi
-  \ifx\@empty\@subjects\else\@setsubjects\fi
+  \ifx\@empty\@primarysubjects
+     \ifx\@empty\@secondarysubjects
+     \else\@setsubjects\fi
+  \else\@setsubjects\fi
   \ifx\@empty\thankses\else \@footnotetext{%
     \def\par{\let\par\@par}\@setthanks}%
   \fi
@@ -1752,15 +1764,27 @@
 %
 % \begin{macro}{\@setsubjects}
 % \changes{v1.18}{2017/02/11}{Now we print subjects} 
+% \changes{v1.20}{2017/05/09}{Make primary and secondary subjects separated} 
 %   Setting subjects
 %    \begin{macrocode}
 \def\@setsubjects{%
+  \let\@subjects\@empty
+   \ifx\@primarysubjects\@empty\else
+     \edef\@subjects{Primary: \@primarysubjects}%
+    \fi
+   \ifx\@secondarysubjects\@empty\else
+     \ifx\@primarysubjects\@empty
+       \edef\@subjects{Secondary: \@secondarysubjects}%
+     \else
+       \edef\@subjects{\@subjects; Secondary: \@secondarysubjects}%
+     \fi
+    \fi
     \ifpdf
       \hypersetup{pdfsubject=\@subjects}%
+    \fi
     \if at aom@oldkeywords\else
-    \@footnotetext{AMS Classification: \@subjects}%
+    \@footnotetext{AMS Classification: \@subjects.}%
     \fi
-    \fi
 }  
 %    \end{macrocode}
 % \end{macro}

Modified: trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2017-05-10 21:11:47 UTC (rev 44281)
+++ trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2017-05-10 21:12:01 UTC (rev 44282)
@@ -37,7 +37,7 @@
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{aomart}
-[2017/04/12 v1.19 Typesetting articles for the Annals of Mathematics]
+[2017/05/09 v1.20 Typesetting articles for the Annals of Mathematics]
 \long\def\aom at size@warning#1{%
   \ClassWarning{aomart}{Size-changing option #1 will not be
     honored}}%
@@ -241,9 +241,14 @@
 }
 \def\keyword#1{\ifx\@keywords\@empty\gdef\@keywords{#1}\else
   \g at addto@macro\@keywords{, #1}\fi}
-\let\@subjects\@empty
-\def\subject#1#2#3{\ifx\@subjects\@empty\gdef\@subjects{#3}\else
-  \g at addto@macro\@subjects{, #3}\fi}
+\let\@primarysubjects\@empty
+\let\@secondarysubjects\@empty
+\def\subject#1#2#3{%
+  \expandafter\ifx\csname @#1subjects\endcsname\@empty\relax
+     \expandafter\gdef\csname @#1subjects\endcsname{#3}%
+  \else
+     \expandafter\g at addto@macro\csname @#1subjects\endcsname{, #3}%
+  \fi}
 \def\formatdate#1{\@formatdate#1\@endformatdate}
 \def\@formatdate#1-#2-#3\@endformatdate{%
   \@tempcnta=#3\relax
@@ -359,7 +364,8 @@
     {\@percentchar arxiv=\@arxivnumber}%
    \fi
    \protected at write\@mainrpi{}%
-    {\@percentchar subjects=\@subjects}%
+    {\@percentchar subjects=Primary \@primarysubjects; Secondary:
+      \@secondarysubjects}%
    \protected at write\@mainrpi{}%
     {\@percentchar keywords=\@keywords}%
    \protected at write\@mainrpi{}%
@@ -409,7 +415,10 @@
   \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi
   \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
   \ifx\@empty\@keywords\else\@setkeywords\fi
-  \ifx\@empty\@subjects\else\@setsubjects\fi
+  \ifx\@empty\@primarysubjects
+     \ifx\@empty\@secondarysubjects
+     \else\@setsubjects\fi
+  \else\@setsubjects\fi
   \ifx\@empty\thankses\else \@footnotetext{%
     \def\par{\let\par\@par}\@setthanks}%
   \fi
@@ -426,12 +435,23 @@
     \fi
 }
 \def\@setsubjects{%
+  \let\@subjects\@empty
+   \ifx\@primarysubjects\@empty\else
+     \edef\@subjects{Primary: \@primarysubjects}%
+    \fi
+   \ifx\@secondarysubjects\@empty\else
+     \ifx\@primarysubjects\@empty
+       \edef\@subjects{Secondary: \@secondarysubjects}%
+     \else
+       \edef\@subjects{\@subjects; Secondary: \@secondarysubjects}%
+     \fi
+    \fi
     \ifpdf
       \hypersetup{pdfsubject=\@subjects}%
+    \fi
     \if at aom@oldkeywords\else
-    \@footnotetext{AMS Classification: \@subjects}%
+    \@footnotetext{AMS Classification: \@subjects.}%
     \fi
-    \fi
 }
 \def\@@and{\MakeLowercase{\@aom at and}}
 \def\enddoc at text{%



More information about the tex-live-commits mailing list