texlive[69819] Master/bin/windows: windows binaries

commits+kakuto at tug.org commits+kakuto at tug.org
Mon Feb 12 04:33:05 CET 2024


Revision: 69819
          https://tug.org/svn/texlive?view=revision&revision=69819
Author:   kakuto
Date:     2024-02-12 04:33:04 +0100 (Mon, 12 Feb 2024)
Log Message:
-----------
windows binaries

Modified Paths:
--------------
    trunk/Master/bin/windows/chkdvifont.exe
    trunk/Master/bin/windows/ctwill-proofsort.pl
    trunk/Master/bin/windows/disdvi.exe
    trunk/Master/bin/windows/dvi2tty.exe
    trunk/Master/bin/windows/dvispc.exe
    trunk/Master/bin/windows/euptex.dll
    trunk/Master/bin/windows/makejvf.exe
    trunk/Master/bin/windows/mendex.exe
    trunk/Master/bin/windows/pbibtex.exe
    trunk/Master/bin/windows/pdvitype.exe
    trunk/Master/bin/windows/pmpost.dll
    trunk/Master/bin/windows/ppltotf.exe
    trunk/Master/bin/windows/ptekf.exe
    trunk/Master/bin/windows/ptftopl.exe
    trunk/Master/bin/windows/upbibtex.exe
    trunk/Master/bin/windows/updvitype.exe
    trunk/Master/bin/windows/upmpost.dll
    trunk/Master/bin/windows/uppltotf.exe
    trunk/Master/bin/windows/uptftopl.exe

Added Paths:
-----------
    trunk/Master/bin/windows/twill-refsort.exe
    trunk/Master/bin/windows/twill-refsort.pl

Modified: trunk/Master/bin/windows/chkdvifont.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/ctwill-proofsort.pl
===================================================================
--- trunk/Master/bin/windows/ctwill-proofsort.pl	2024-02-12 02:23:47 UTC (rev 69818)
+++ trunk/Master/bin/windows/ctwill-proofsort.pl	2024-02-12 03:33:04 UTC (rev 69819)
@@ -1,5 +1,5 @@
 #!/usr/bin/env perl
-# $Id$
+# $Id: ctwill-proofsort 68690 2023-10-29 13:15:04Z ascherer $
 # Public domain.  Originally written by Andreas Scherer, 2023.
 
 use strict;
@@ -39,7 +39,7 @@
 }
 ## version()
 sub version {
-  return $progname.' $Revision$ $Date$'."\n";
+  return $progname.' $Revision: 68690 $ $Date: 2023-10-29 22:15:04 +0900 (日, 29 10 2023) $'."\n";
 }
 
 # Read input from the console and look for blocks like

Modified: trunk/Master/bin/windows/disdvi.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/dvi2tty.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/dvispc.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/euptex.dll
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/makejvf.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/mendex.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/pbibtex.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/pdvitype.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/pmpost.dll
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/ppltotf.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/ptekf.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/ptftopl.exe
===================================================================
(Binary files differ)

Added: trunk/Master/bin/windows/twill-refsort.exe
===================================================================
(Binary files differ)

Index: trunk/Master/bin/windows/twill-refsort.exe
===================================================================
--- trunk/Master/bin/windows/twill-refsort.exe	2024-02-12 02:23:47 UTC (rev 69818)
+++ trunk/Master/bin/windows/twill-refsort.exe	2024-02-12 03:33:04 UTC (rev 69819)

Property changes on: trunk/Master/bin/windows/twill-refsort.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/windows/twill-refsort.pl
===================================================================
--- trunk/Master/bin/windows/twill-refsort.pl	                        (rev 0)
+++ trunk/Master/bin/windows/twill-refsort.pl	2024-02-12 03:33:04 UTC (rev 69819)
@@ -0,0 +1,117 @@
+#!/usr/bin/env perl
+# $Id: twill-refsort 69812 2024-02-11 23:09:24Z karl $
+# Public domain.  Originally written by Andreas Scherer, 2023.
+
+use strict;
+use warnings;
+
+use File::Basename;
+use Getopt::Long qw(:config no_ignore_case bundling);
+use Pod::Usage;
+
+my $progname;
+my $collator;
+
+BEGIN {
+  $progname = basename $0;
+  # Unicode::Collate has been around a long time,
+  # but it's not part of core Perl.
+  eval {
+    require Unicode::Collate;
+    $collator = Unicode::Collate->new();
+  };
+}
+
+my $usage = "Usage: $progname < foo.ref > foo.sref\n";
+
+# Standard options for TeX Live.
+Getopt::Long::GetOptions(
+  'help|?'  => \&help_handler,
+  'version' => sub { print version(); exit 0; }
+) or die $usage;
+## help_handler()
+sub help_handler {
+  open(my $pipe, '|-', $ENV{PAGER} || 'less -e') or exit 1;
+  pod2usage(-message => version(), -output => $pipe,
+    -verbose => 99, -sections => "SHORT DESCRIPTION|COPYRIGHT");
+  close $pipe;
+  exit 0;
+}
+## version()
+sub version {
+  return $progname.' $Revision: 69812 $ $Date: 2024-02-12 08:09:24 +0900 (月, 12 2 2024) $'."\n";
+}
+
+# Read input lines from the console and look for blocks like
+# !127
+# [+ KEY LOCATION TEXPART]*
+# and sort them alphabetically by the KEYs.
+#
+# Every KEY consists of a single PASCAL identifier (variable, type, function,
+# etc.) after an initial '+ ' marker. This marker is replaced with the '\['
+# macro (i.e., '\makeref') to help TeX format the mini-index.
+#
+# The page number in the '!\d+' indicator is appended as argument of the
+# '\donewithpage' macro.
+my %mini_index; # storage for index entries of a two-page spread
+my $donewithpage; # recto page number of a two-page spread
+foreach my $line (<STDIN>)
+{
+  if ($line =~ m/\!(\d+)/) { # start of a new two-page spread
+    if ($donewithpage) { # skip over first indicator line
+      foreach my $key ($collator ?
+        $collator->sort(keys %mini_index) :
+        sort {"\L$a" cmp "\L$b"} keys %mini_index) {
+        print $mini_index{$key};
+      }
+      %mini_index = (); # reset mini-index storage
+      print "\\donewithpage$donewithpage\n"; # done with current spread
+    }
+    $donewithpage = $1; # start of next spread
+  } else { # mini-index entry
+    my (undef,$key) = split / /, $line; # 2nd column is the key
+    $line =~ s/^\+ /\\\[/; # add \makeref macro
+    $mini_index{$key} = $line; # store index entry
+    next; # print later
+  }
+}
+
+print "\\donewithpage$donewithpage\n"; # done with current spread
+
+exit 0;
+
+=pod
+
+=encoding utf8
+
+=head1 NAME
+
+twill-refsort - Sort mini-indexes alphabetically
+
+=head1 SHORT DESCRIPTION
+
+This small Perl script 'twill-refsort' sorts the mini-indexes for each section
+in the '.ref' file created by 'twill foo' (twice) and 'tex foo' (first run).
+It reads its input from STDIN and writes its output to STDOUT.
+
+=over
+
+=item Run TWILL twice on your 'foo'.w, creating 'foo'.tex
+
+=item Invoke "tex 'foo'.tex", creating 'foo'.ref
+
+=item Invoke "twill-refsort < 'foo'.ref > 'foo'.sref"
+
+=item Run TeX on 'foo'.tex a second time
+
+=back
+
+See also "man twill" for more information on how to use the TWILL system.
+
+=head1 COPYRIGHT
+
+Public domain.  Originally written by Andreas Scherer, 2023.
+
+Contemporary development on https://github.com/ascherer/cwebbin.
+
+=cut

Modified: trunk/Master/bin/windows/upbibtex.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/updvitype.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/upmpost.dll
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/uppltotf.exe
===================================================================
(Binary files differ)

Modified: trunk/Master/bin/windows/uptftopl.exe
===================================================================
(Binary files differ)



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