texlive[73378] trunk: aomart (8jan25)

commits+karl at tug.org commits+karl at tug.org
Wed Jan 8 22:19:18 CET 2025


Revision: 73378
          https://tug.org/svn/texlive?view=revision&revision=73378
Author:   karl
Date:     2025-01-08 22:19:18 +0100 (Wed, 08 Jan 2025)
Log Message:
-----------
aomart (8jan25)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/Makefile.am
    trunk/Build/source/texk/texlive/linked_scripts/Makefile.in
    trunk/Build/source/texk/texlive/linked_scripts/scripts.lst
    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/aomfrench.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/Makefile
    trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx
    trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls
    trunk/Master/tlpkg/libexec/ctan2tds
    trunk/Master/tlpkg/tlpsrc/aomart.tlpsrc

Added Paths:
-----------
    trunk/Build/source/texk/texlive/linked_scripts/aomart/
    trunk/Build/source/texk/texlive/linked_scripts/aomart/aom-fullref.pl
    trunk/Master/bin/aarch64-linux/aom-fullref
    trunk/Master/bin/amd64-freebsd/aom-fullref
    trunk/Master/bin/amd64-netbsd/aom-fullref
    trunk/Master/bin/armhf-linux/aom-fullref
    trunk/Master/bin/i386-freebsd/aom-fullref
    trunk/Master/bin/i386-linux/aom-fullref
    trunk/Master/bin/i386-netbsd/aom-fullref
    trunk/Master/bin/i386-solaris/aom-fullref
    trunk/Master/bin/universal-darwin/aom-fullref
    trunk/Master/bin/windows/aom-fullref.exe
    trunk/Master/bin/x86_64-cygwin/aom-fullref
    trunk/Master/bin/x86_64-darwinlegacy/aom-fullref
    trunk/Master/bin/x86_64-linux/aom-fullref
    trunk/Master/bin/x86_64-linuxmusl/aom-fullref
    trunk/Master/bin/x86_64-solaris/aom-fullref
    trunk/Master/texmf-dist/scripts/aomart/
    trunk/Master/texmf-dist/scripts/aomart/aom-fullref.pl

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/aomart/fullref.pl

Modified: trunk/Build/source/texk/texlive/linked_scripts/Makefile.am
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/Makefile.am	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Build/source/texk/texlive/linked_scripts/Makefile.am	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1,7 +1,7 @@
 ## $Id$
 ## Makefile.am for the TeX Live subdirectory texk/texlive/linked_scripts/
 ##
-## Copyright 2016-2024 Karl Berry <tex-live at tug.org>
+## Copyright 2016-2025 Karl Berry <tex-live at tug.org>
 ## Copyright 2009-2015 Peter Breitenlohner <tex-live at tug.org>
 ## You may freely use, modify and/or distribute this file.
 ##
@@ -106,6 +106,7 @@
 	accfonts/vpl2ovp \
 	accfonts/vpl2vpl \
 	albatross/albatross.sh \
+	aomart/aom-fullref.pl \
 	arara/arara.sh \
 	attachfile2/pdfatfi.pl \
 	authorindex/authorindex \

Modified: trunk/Build/source/texk/texlive/linked_scripts/Makefile.in
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/Makefile.in	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Build/source/texk/texlive/linked_scripts/Makefile.in	2025-01-08 21:19:18 UTC (rev 73378)
@@ -326,6 +326,7 @@
 	accfonts/vpl2ovp \
 	accfonts/vpl2vpl \
 	albatross/albatross.sh \
+	aomart/aom-fullref.pl \
 	arara/arara.sh \
 	attachfile2/pdfatfi.pl \
 	authorindex/authorindex \

Added: trunk/Build/source/texk/texlive/linked_scripts/aomart/aom-fullref.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/aomart/aom-fullref.pl	                        (rev 0)
+++ trunk/Build/source/texk/texlive/linked_scripts/aomart/aom-fullref.pl	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1,62 @@
+#!/usr/bin/perl
+#
+# Convert the refences to \fullref.  Usage:
+# perl fullref.pl original.tex > converted.tex
+#
+#
+# Copyright (C) 2010-2021 Annals of Mathematics.  Licenses under CC0
+#
+# Author: Boris Veytsman
+#
+# Version: 0.9, 2010/12/04
+
+use strict;
+
+# List of patterns for 'equation' words
+my @eqsynonyms = ('\S*equa\S*', 'relat\S*',  'item\S*',
+		  'condition\S*',
+		  '\S*propert\S*');
+
+# First we skip preamble
+while(<>) {
+    print;
+    last if (/\\begin\{document\}/);
+}
+
+# This is a trick to catch \ref being the first word on the line
+my $prevline = "";
+
+# Processing document
+while (<>) {
+    if ((/^[\s~]*\(?\\ref/) || (/^[\s~]*\\eqref/)) {
+	chomp $prevline;
+	$_ = "$prevline $_";
+    } else {
+	print $prevline;
+    }
+    
+    # Now the meat of the substitutions
+    # We add initial space, so all words have space before them.
+    $_ = " $_";
+    foreach my $synonym (@eqsynonyms) {
+	s/(\s)($synonym)[\s~]*\(\\ref\{([^\}]+)\}\)/$1\\pfullref{$2}{$3}/gi;
+	s/(\s)($synonym)[\s~]*\\eqref\{([^\}]+)\}/$1\\eqfullref{$2}{$3}/gi;
+    }
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\[\\ref\{([^\}]+)\}\]/$1\\bfullref{$2}{$3}/g;
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\ref\{([^\}]+)\}/$1\\fullref{$2}{$3}/g;
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\pageref\{([^\}]+)\}/$1\\fullpageref[$2]{$3}/g;
+    # Now delete the extra space
+    s/^ //;
+    $prevline=$_;
+    if (/\\end\{document\}/) {
+	print;
+	last;
+    }
+}
+
+# And processing whatever is left
+while (<>) {
+    print;
+}
+
+exit 0;


Property changes on: trunk/Build/source/texk/texlive/linked_scripts/aomart/aom-fullref.pl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Build/source/texk/texlive/linked_scripts/scripts.lst
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/scripts.lst	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Build/source/texk/texlive/linked_scripts/scripts.lst	2025-01-08 21:19:18 UTC (rev 73378)
@@ -47,6 +47,7 @@
 accfonts/vpl2ovp
 accfonts/vpl2vpl
 albatross/albatross.sh
+aomart/aom-fullref.pl
 arara/arara.sh
 attachfile2/pdfatfi.pl
 authorindex/authorindex

Added: trunk/Master/bin/aarch64-linux/aom-fullref
===================================================================
--- trunk/Master/bin/aarch64-linux/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/aarch64-linux/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/aarch64-linux/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/amd64-freebsd/aom-fullref
===================================================================
--- trunk/Master/bin/amd64-freebsd/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/amd64-freebsd/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/amd64-freebsd/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/amd64-netbsd/aom-fullref
===================================================================
--- trunk/Master/bin/amd64-netbsd/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/amd64-netbsd/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/amd64-netbsd/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/armhf-linux/aom-fullref
===================================================================
--- trunk/Master/bin/armhf-linux/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/armhf-linux/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/armhf-linux/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/i386-freebsd/aom-fullref
===================================================================
--- trunk/Master/bin/i386-freebsd/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/i386-freebsd/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/i386-freebsd/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/i386-linux/aom-fullref
===================================================================
--- trunk/Master/bin/i386-linux/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/i386-linux/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/i386-linux/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/i386-netbsd/aom-fullref
===================================================================
--- trunk/Master/bin/i386-netbsd/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/i386-netbsd/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/i386-netbsd/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/i386-solaris/aom-fullref
===================================================================
--- trunk/Master/bin/i386-solaris/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/i386-solaris/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/i386-solaris/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/universal-darwin/aom-fullref
===================================================================
--- trunk/Master/bin/universal-darwin/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/universal-darwin/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/universal-darwin/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/windows/aom-fullref.exe
===================================================================
(Binary files differ)

Index: trunk/Master/bin/windows/aom-fullref.exe
===================================================================
--- trunk/Master/bin/windows/aom-fullref.exe	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/bin/windows/aom-fullref.exe	2025-01-08 21:19:18 UTC (rev 73378)

Property changes on: trunk/Master/bin/windows/aom-fullref.exe
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/Master/bin/x86_64-cygwin/aom-fullref
===================================================================
--- trunk/Master/bin/x86_64-cygwin/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/x86_64-cygwin/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/x86_64-cygwin/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/x86_64-darwinlegacy/aom-fullref
===================================================================
--- trunk/Master/bin/x86_64-darwinlegacy/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/x86_64-darwinlegacy/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/x86_64-darwinlegacy/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/x86_64-linux/aom-fullref
===================================================================
--- trunk/Master/bin/x86_64-linux/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/x86_64-linux/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/x86_64-linux/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/x86_64-linuxmusl/aom-fullref
===================================================================
--- trunk/Master/bin/x86_64-linuxmusl/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/x86_64-linuxmusl/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/x86_64-linuxmusl/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Added: trunk/Master/bin/x86_64-solaris/aom-fullref
===================================================================
--- trunk/Master/bin/x86_64-solaris/aom-fullref	                        (rev 0)
+++ trunk/Master/bin/x86_64-solaris/aom-fullref	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+link ../../texmf-dist/scripts/aomart/aom-fullref.pl
\ No newline at end of file


Property changes on: trunk/Master/bin/x86_64-solaris/aom-fullref
___________________________________________________________________
Added: svn:special
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/bibtex/bst/aomart/aomalpha.bst	2025-01-08 21:19:18 UTC (rev 73378)
@@ -378,6 +378,22 @@
   newline$
 }
 
+FUNCTION {fin.entry.misc}
+{ add.period$
+  write$
+  arxiv output.nonempty.arxiv
+  doi output.nonempty.doi
+  doi empty$
+    { url output.nonempty.url }
+    { doi missing$
+      { url output.nonempty.url }
+      'skip$
+      if$}
+  if$
+  newline$
+}
+
+
 % Removed new.block, new.block.checka, new.block.checkb, new.sentence,
 % new.sentence.checka, and new.sentence.checkb functions here, since they
 % don't seem to be needed in the AMS style.  Also moved some real
@@ -1003,7 +1019,7 @@
   format.date output
   note output
   format.book.pages output
-  fin.entry
+  fin.entry.misc
   empty.misc.check
 }
 
@@ -1075,7 +1091,7 @@
   titlenote output
   note "note" output.check
   format.date output
-  fin.entry
+  fin.entry.misc
 }
 
 FUNCTION {default.type} { misc }

Modified: trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst
===================================================================
--- trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/bibtex/bst/aomart/aomplain.bst	2025-01-08 21:19:18 UTC (rev 73378)
@@ -374,6 +374,22 @@
   newline$
 }
 
+
+FUNCTION {fin.entry.misc}
+{ add.period$
+  write$
+  arxiv output.nonempty.arxiv
+  doi output.nonempty.doi
+  doi empty$
+    { url output.nonempty.url }
+    { doi missing$
+      { url output.nonempty.url }
+      'skip$
+      if$}
+  if$
+  newline$
+}
+
 % Removed new.block, new.block.checka, new.block.checkb, new.sentence,
 % new.sentence.checka, and new.sentence.checkb functions here, since they
 % don't seem to be needed in the AMS style.  Also moved some real
@@ -998,7 +1014,7 @@
   format.date output
   note output
   format.book.pages output
-  fin.entry
+  fin.entry.misc
   empty.misc.check
 }
 
@@ -1070,7 +1086,7 @@
   titlenote output
   note "note" output.check
   format.date output
-  fin.entry
+  fin.entry.misc
 }
 
 FUNCTION {default.type} { misc }

Modified: trunk/Master/texmf-dist/doc/latex/aomart/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/README	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/doc/latex/aomart/README	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1,6 +1,6 @@
 	      LaTeX Class for The Annals of Mathematics
 			    Boris Veytsman
-			    Version 1.29
+			    Version 1.30
 
 This package provides the class for typesetting articles for The Annals
 of Mathematics, http://annals.princeton.edu/.  
@@ -7,6 +7,16 @@
 
 Changes:
 
+   Version 1.30
+         Multiple citations now are typeset as [1], [2], [3] according
+	 to the house style
+	 Footnote marks are now in house style rather AMS style.
+	 Tightened enumerate and itemize
+	 Zbl and numbers for misc and unpublished entries are no longer
+	 output
+	 Renamed fullref.pl -> aom-fullref.pl as requested by TeXLive
+	 
+
    Version 1.29
          Changed the formatting of addresses at the end of the paper. 
 

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

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

Modified: trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample.bib	2025-01-08 21:19:18 UTC (rev 73378)
@@ -20,7 +20,7 @@
 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}
+  year =	 {1983/1984},
 }
 
 
@@ -190,7 +190,6 @@
 }
 
 
-
 @Unpublished{Minasyan08,
   author = 	 {A. Minasyan and D. Osin},
   title = 	 {Normal Automorphisms of Relatively Hyperbolic Groups},

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	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample.tex	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1751,7 +1751,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	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/doc/latex/aomart/aomsample1.tex	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1750,7 +1750,7 @@
 
 
 \bibliography{aomsample}
-\bibliographystyle{aomalpha}
+\bibliographystyle{aomplain}
 
 \end{document}
 \endinput

Deleted: trunk/Master/texmf-dist/doc/latex/aomart/fullref.pl
===================================================================
--- trunk/Master/texmf-dist/doc/latex/aomart/fullref.pl	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/doc/latex/aomart/fullref.pl	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1,62 +0,0 @@
-#!/usr/bin/perl
-#
-# Convert the refences to \fullref.  Usage:
-# perl fullref.pl original.tex > converted.tex
-#
-#
-# Copyright (C) 2010-2021 Annals of Mathematics.  Licenses under CC0
-#
-# Author: Boris Veytsman
-#
-# Version: 0.9, 2010/12/04
-
-use strict;
-
-# List of patterns for 'equation' words
-my @eqsynonyms = ('\S*equa\S*', 'relat\S*',  'item\S*',
-		  'condition\S*',
-		  '\S*propert\S*');
-
-# First we skip preamble
-while(<>) {
-    print;
-    last if (/\\begin\{document\}/);
-}
-
-# This is a trick to catch \ref being the first word on the line
-my $prevline = "";
-
-# Processing document
-while (<>) {
-    if ((/^[\s~]*\(?\\ref/) || (/^[\s~]*\\eqref/)) {
-	chomp $prevline;
-	$_ = "$prevline $_";
-    } else {
-	print $prevline;
-    }
-    
-    # Now the meat of the substitutions
-    # We add initial space, so all words have space before them.
-    $_ = " $_";
-    foreach my $synonym (@eqsynonyms) {
-	s/(\s)($synonym)[\s~]*\(\\ref\{([^\}]+)\}\)/$1\\pfullref{$2}{$3}/gi;
-	s/(\s)($synonym)[\s~]*\\eqref\{([^\}]+)\}/$1\\eqfullref{$2}{$3}/gi;
-    }
-    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\[\\ref\{([^\}]+)\}\]/$1\\bfullref{$2}{$3}/g;
-    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\ref\{([^\}]+)\}/$1\\fullref{$2}{$3}/g;
-    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\pageref\{([^\}]+)\}/$1\\fullpageref[$2]{$3}/g;
-    # Now delete the extra space
-    s/^ //;
-    $prevline=$_;
-    if (/\\end\{document\}/) {
-	print;
-	last;
-    }
-}
-
-# And processing whatever is left
-while (<>) {
-    print;
-}
-
-exit 0;

Added: trunk/Master/texmf-dist/scripts/aomart/aom-fullref.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/aomart/aom-fullref.pl	                        (rev 0)
+++ trunk/Master/texmf-dist/scripts/aomart/aom-fullref.pl	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1,62 @@
+#!/usr/bin/perl
+#
+# Convert the refences to \fullref.  Usage:
+# perl fullref.pl original.tex > converted.tex
+#
+#
+# Copyright (C) 2010-2021 Annals of Mathematics.  Licenses under CC0
+#
+# Author: Boris Veytsman
+#
+# Version: 0.9, 2010/12/04
+
+use strict;
+
+# List of patterns for 'equation' words
+my @eqsynonyms = ('\S*equa\S*', 'relat\S*',  'item\S*',
+		  'condition\S*',
+		  '\S*propert\S*');
+
+# First we skip preamble
+while(<>) {
+    print;
+    last if (/\\begin\{document\}/);
+}
+
+# This is a trick to catch \ref being the first word on the line
+my $prevline = "";
+
+# Processing document
+while (<>) {
+    if ((/^[\s~]*\(?\\ref/) || (/^[\s~]*\\eqref/)) {
+	chomp $prevline;
+	$_ = "$prevline $_";
+    } else {
+	print $prevline;
+    }
+    
+    # Now the meat of the substitutions
+    # We add initial space, so all words have space before them.
+    $_ = " $_";
+    foreach my $synonym (@eqsynonyms) {
+	s/(\s)($synonym)[\s~]*\(\\ref\{([^\}]+)\}\)/$1\\pfullref{$2}{$3}/gi;
+	s/(\s)($synonym)[\s~]*\\eqref\{([^\}]+)\}/$1\\eqfullref{$2}{$3}/gi;
+    }
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\[\\ref\{([^\}]+)\}\]/$1\\bfullref{$2}{$3}/g;
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\ref\{([^\}]+)\}/$1\\fullref{$2}{$3}/g;
+    s/(\s)([^\s\\]\S*[^~\s\(\)\[\]])[\s~]*\\pageref\{([^\}]+)\}/$1\\fullpageref[$2]{$3}/g;
+    # Now delete the extra space
+    s/^ //;
+    $prevline=$_;
+    if (/\\end\{document\}/) {
+	print;
+	last;
+    }
+}
+
+# And processing whatever is left
+while (<>) {
+    print;
+}
+
+exit 0;


Property changes on: trunk/Master/texmf-dist/scripts/aomart/aom-fullref.pl
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: trunk/Master/texmf-dist/source/latex/aomart/Makefile
===================================================================
--- trunk/Master/texmf-dist/source/latex/aomart/Makefile	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/source/latex/aomart/Makefile	2025-01-08 21:19:18 UTC (rev 73378)
@@ -3,7 +3,7 @@
 #
 # This file is in public domain
 #
-# $Id: Makefile,v 1.7 2017/12/14 03:25:19 boris Exp $
+# $Id: Makefile,v 1.8 2025/01/08 03:36:54 boris Exp $
 #
 
 PACKAGE=aomart
@@ -39,8 +39,8 @@
 	while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
 	do pdflatex $<; done
 
-aomsample1.tex: fullref.pl aomsample.tex
-	perl fullref.pl aomsample.tex > aomsample1.tex
+aomsample1.tex: aom-fullref.pl aomsample.tex
+	perl aom-fullref.pl aomsample.tex > aomsample1.tex
 
 
 .PRECIOUS:  $(PACKAGE).cfg $(PACKAGE).cls

Modified: trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/source/latex/aomart/aomart.dtx	2025-01-08 21:19:18 UTC (rev 73378)
@@ -1,7 +1,7 @@
 % \iffalse
-% $Id: aomart.dtx,v 1.82 2024/11/13 23:27:43 boris Exp $
+% $Id: aomart.dtx,v 1.83 2025/01/08 03:35:45 boris Exp $
 %
-% Copyright 2010-2024, Princeton University (Mathematics Department)
+% Copyright 2010-2025, 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 
@@ -66,7 +66,7 @@
 % \GetFileInfo{aomart.dtx}
 % \newcommand{\progname}[1]{\textsf{#1}}
 % \title{\LaTeX{} Class for The \emph{Annals of
-% Mathematics}\thanks{\copyright 2010--2024, Princeton University
+% Mathematics}\thanks{\copyright 2010--2025, Princeton University
 % (Mathematics Department)}} 
 % \author{Boris Veytsman\thanks{%
 % \href{mailto:borisv at lk.net}{\texttt{borisv at lk.net}},
@@ -644,7 +644,7 @@
 % \end{verbatim}
 % The script converts all instances of combinations
 % ``|word \ref{reference}|'', ``|word~\ref{reference}|'' and
-% ``|word~\pageref{reference}|'' to ``|\fullref{word}{reference}|, and
+% ``|word~\pageref{reference}|'' to ``|\fullref{word}| |{reference}|'', and
 % similarly for parenthesized references, |\eqref| commands, and page
 % references.  To prevent the converting, just put |\ref{reference}|
 % or |\eqref{reference}| inside braces.  The ``word'' here must not
@@ -677,7 +677,7 @@
 % To provide backward compatibility with some other classes used
 % internally by the \emph{Annals of Mathematics,} the class provides
 % yet another optional argument for the command |\newtheorem|,
-% allowing constructions like |\newtheorem[\it]{lem}{Lemma}|.  This
+% allowing constructions like |\newtheorem[\it]{lem}| |{Lemma}|.  This
 % optional parameter is not used in our typesetting.
 %
 %
@@ -694,6 +694,8 @@
 % define the theorem style \textbf{remark,} which is identical to the
 % theorem style \textbf{definition.}
 %
+%
+%
 %\subsection{Illustrations}
 %\label{sec:illustrations}
 %
@@ -709,7 +711,7 @@
 %
 % \DescribeMacro{\funding}%
 % There is a special command for showing the support for the paper, 
-% \cs{funding}\oarg{text}\marg{sponsor}\marg{grantid}.  Normally it
+% \cs{funding}\oarg{text} \marg{sponsor}\marg{grantid}.  Normally it
 % prints the name of the sponsor and in parentheses the id of the
 % grant, if it is not empty.  However, you can override this using the
 % optional argument of the command. For example, the following text
@@ -843,7 +845,7 @@
 \ProvidesFile{aomart.dtx}
 %</gobble>
 %<class>\ProvidesClass{aomart}
-[2024/11/13 v1.29 Typesetting articles for the Annals of Mathematics]
+[2025/01/07 v1.30 Typesetting articles for the Annals of Mathematics]
 %    \end{macrocode}
 %
 %
@@ -974,6 +976,15 @@
 %\subsection{Loading Class and Packages}
 %\label{sec:loading}
 %
+% \begin{macro}{\@makefnmark at kernel}
+% \changes{v1.30}{2025/01/07}{Use kernel version of footnote marks} 
+% AMS redefines |\@makefnmark|.  Here we return to the kernel version
+%    \begin{macrocode}
+\let\@makefnmark at kernel\@makefnmark
+%    \end{macrocode}
+% \end{macro}
+%
+%
 % We start with the base class
 % \changes{v1.4}{2011/01/21}{Deleted noamsfonts option} 
 %    \begin{macrocode}
@@ -980,6 +991,35 @@
 \LoadClass[11pt]{amsart}
 %    \end{macrocode}
 %
+% \begin{macro}{\@makefnmar}
+% \changes{v1.30}{2025/01/07}{Use kernel version of footnote marks} 
+% Restoring the kernel version
+%    \begin{macrocode}
+\let\@makefnmark\@makefnmark at kernel
+%    \end{macrocode}
+% \end{macro}
+%
+%
+% \begin{macro}{\@citex}
+% \changes{v1.30}{2025/01/07}{Redefined macto} 
+% We redeine this macro early in case some package wants to patch it.
+% Basically house style for repeated citations is not [1, 2, 3], but
+% [1], [2], [3]:
+%    \begin{macrocode}
+\def\@citex[#1]#2{\leavevmode
+  \let\@citea\@empty
+  \@cite{\@for\@citeb:=#2\do
+    {\@citea\def\@citea{], [}%
+     \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+     \if at filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+     \@ifundefined{b@\@citeb}{\hbox{\reset at font\bfseries ?}%
+       \G at refundefinedtrue
+       \@latex at warning
+         {Citation `\@citeb' on page \thepage \space undefined}}%
+       {\@cite at ofmt{\csname b@\@citeb\endcsname}}}}{#1}}
+%    \end{macrocode}
+% \end{macro}
+%
 % A bunch of packages:
 % \changes{v0.5}{2010/10/24}{Made Roman font the default URL font} 
 % \changes{v0.10}{2010/12/20}{Screen mode triggers special URL
@@ -1141,6 +1181,7 @@
 %    \end{macrocode}   
 % \end{macro}
 %
+% 
 %\subsection{Page Dimensions and Paragraphing}
 %\label{sec:page}
 %
@@ -1212,6 +1253,17 @@
 % \end{macro}
 % \end{macro}
 %
+% \changes{v2.30}{2025/01/07}{Changed the margins for enumerate}
+% AMS defines the margins for lists |\AtBeginDocument|.  Our lists are
+% tighter
+%    \begin{macrocode}
+\AtBeginDocument{%
+  \labelsep=5pt\relax
+  \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
+  \leftmargin=\leftmargini
+  \labelwidth=\leftmargini \advance\labelwidth-\labelsep
+  \@listi}
+%    \end{macrocode}
 %
 %\subsection{Headers}
 %\label{sec:headers}

Modified: trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/texmf-dist/tex/latex/aomart/aomart.cls	2025-01-08 21:19:18 UTC (rev 73378)
@@ -37,7 +37,7 @@
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{aomart}
-[2024/11/13 v1.29 Typesetting articles for the Annals of Mathematics]
+[2025/01/07 v1.30 Typesetting articles for the Annals of Mathematics]
 \long\def\aom at size@warning#1{%
   \ClassWarning{aomart}{Size-changing option #1 will not be
     honored}}%
@@ -71,7 +71,20 @@
   \ClassInfo{aomart}{%
     Configuration file aomart.cfg is not found}}
 \ProcessOptions\relax
+\let\@makefnmark at kernel\@makefnmark
 \LoadClass[11pt]{amsart}
+\let\@makefnmark\@makefnmark at kernel
+\def\@citex[#1]#2{\leavevmode
+  \let\@citea\@empty
+  \@cite{\@for\@citeb:=#2\do
+    {\@citea\def\@citea{], [}%
+     \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
+     \if at filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+     \@ifundefined{b@\@citeb}{\hbox{\reset at font\bfseries ?}%
+       \G at refundefinedtrue
+       \@latex at warning
+         {Citation `\@citeb' on page \thepage \space undefined}}%
+       {\@cite at ofmt{\csname b@\@citeb\endcsname}}}}{#1}}
 \RequirePackage{fancyhdr, lastpage, ifpdf, graphicx}
 \RequirePackage[breaklinks,colorlinks]{hyperref}
 \if at aom@screen at mode
@@ -131,6 +144,12 @@
 \setlength{\parskip}{\z@}
 \widowpenalty=10000
 \clubpenalty=10000
+\AtBeginDocument{%
+  \labelsep=5pt\relax
+  \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
+  \leftmargin=\leftmargini
+  \labelwidth=\leftmargini \advance\labelwidth-\labelsep
+  \@listi}
 \setlength{\headsep}{14pt}
 \setlength{\headheight}{18.0pt}
 \renewcommand{\headrulewidth}{0pt}

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2025-01-08 21:19:18 UTC (rev 73378)
@@ -3819,6 +3819,7 @@
  'accfonts'             => 'mkt1font|vpl2',
  'adhocfilelist'        => 'adhocfilelist\.sh$',
  'albatross'		=> '\.sh$',
+ 'aomart'		=> 'aom-fullref\.pl$',
  'arara'                => 'arara\.sh$',
  'attachfile2'		=> 'pdfatfi\.pl$',
  'authorindex'          => 'authorindex$',

Modified: trunk/Master/tlpkg/tlpsrc/aomart.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/aomart.tlpsrc	2025-01-08 21:13:37 UTC (rev 73377)
+++ trunk/Master/tlpkg/tlpsrc/aomart.tlpsrc	2025-01-08 21:19:18 UTC (rev 73378)
@@ -0,0 +1 @@
+binpattern f bin/${ARCH}/aom-fullref



More information about the tex-live-commits mailing list.