texlive[52258] trunk: l3build (2oct19)
commits+karl at tug.org
commits+karl at tug.org
Wed Oct 2 23:17:45 CEST 2019
Revision: 52258
http://tug.org/svn/texlive?view=revision&revision=52258
Author: karl
Date: 2019-10-02 23:17:45 +0200 (Wed, 02 Oct 2019)
Log Message:
-----------
l3build (2oct19)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/context/perl/mptopdf.pl
trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst
trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/l3build/README.md
trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
trunk/Master/texmf-dist/doc/man/man1/afm2afm.1
trunk/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
trunk/Master/texmf-dist/doc/man/man1/autoinst.1
trunk/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
trunk/Master/texmf-dist/doc/man/man1/l3build.1
trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1
trunk/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua
trunk/Master/texmf-dist/scripts/l3build/l3build.lua
trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
Modified: trunk/Build/source/texk/texlive/linked_scripts/context/perl/mptopdf.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/context/perl/mptopdf.pl 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Build/source/texk/texlive/linked_scripts/context/perl/mptopdf.pl 2019-10-02 21:17:45 UTC (rev 52258)
@@ -118,9 +118,14 @@
@files = glob "$pattern" ;
}
+# this patch was send via debian but is not tested by me
+
foreach my $file (@files) {
$_ = $file ;
- if (s/\.(\d+|mps)$// && -e $file) {
+ # if (s/\.(\d+|mps)$// && -e $file) {
+ if (s/\.(\d+|mps|ps)$// && -e $file) {
+ my $suffix = $1 ;
+ my $pdf = basename($_).".pdf" ;
if ($miktex) {
$command = "pdftex -undump=mptopdf" ;
} else {
@@ -136,15 +141,22 @@
print "\n$program : error while processing tex file\n" ;
exit 1 ;
}
- my $pdfsrc = basename($_).".pdf";
- rename ($pdfsrc, "$_-$1.pdf") ;
- if (-e $pdfsrc) {
- CopyFile ($pdfsrc, "$_-$1.pdf") ;
+ # my $pdfsrc = basename($_).".pdf";
+ # rename ($pdfsrc, "$_-$1.pdf") ;
+ # if (-e $pdfsrc) {
+ # CopyFile ($pdfsrc, "$_-$1.pdf") ;
+ if ($suffix =~ m/\.\d+$/) {
+ rename ($pdf, "$_-$suffix.pdf") ;
+ if (-e $pdf) {
+ CopyFile ($pdf, "$_-$suffix.pdf") ;
+ }
+ $pdf = "$_-$suffix.pdf" ;
}
if ($done) {
$report .= " +" ;
}
- $report .= " $_-$1.pdf" ;
+ # $report .= " $_-$1.pdf" ;
+ $report .= " $pdf" ;
++$done ;
}
}
Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/afm2afm 2019-10-02 21:17:45 UTC (rev 52258)
@@ -37,7 +37,7 @@
use Getopt::Long;
use Pod::Usage;
-my $VERSION = "20190712";
+my $VERSION = "20191001";
parse_commandline();
@@ -421,7 +421,7 @@
=head1 VERSION
-This document describes B<afm2afm> version 20190712.
+This document describes B<afm2afm> version 20191001.
=head1 RECENT CHANGES
Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/autoinst 2019-10-02 21:17:45 UTC (rev 52258)
@@ -37,10 +37,11 @@
use File::Path ();
use File::Spec ();
use Getopt::Long ();
+use IPC::Open3 ();
use Pod::Usage ();
use POSIX ();
-my $VERSION = '20190712';
+my $VERSION = '20191001';
my ($d, $m, $y) = (localtime time)[3 .. 5];
my $TODAY = sprintf "%04d/%02d/%02d", $y + 1900, $m + 1, $d;
@@ -516,6 +517,8 @@
make_commands(@worklist);
}
+ close $ARGV{logfile};
+
return;
}
@@ -741,8 +744,8 @@
my @fonts = @_;
if (-e $ARGV{logfile}) {
- print "[INFO] file '$ARGV{logfile}' already exists;\n" .
- " appending new log data to end\n\n";
+ print "[WARNING] File '$ARGV{logfile}' already exists;\n" .
+ " appending new log data to end.\n";
}
open my $LOG, '>>', $ARGV{logfile}
or die "$0: cannot create $ARGV{logfile}: $!";
@@ -801,17 +804,16 @@
my @fontfamilies = keys %fontfamilies;
if (scalar @fontfamilies > 1) {
warn <<"END_WARNING_MULTIPLE_FAMILIES";
-[WARNING] Your fonts seem to belong to multiple families:
+[WARNING] Your fonts seem to belong to multiple families:
- @{[ join( "\n" . q{ } x 10, sort @fontfamilies ) ]}
+ @{[ join( "\n" . q{ } x 12, sort @fontfamilies ) ]}
- "autoinst" performs best when installing one family at a time.
- If you think your fonts should all be in the same family,
- you might have found a bug in autoinst's font info parsing.
+ "autoinst" performs best when installing one family at a time.
+ If you think your fonts should all be in the same family,
+ you might have found a bug in autoinst's font info parsing.
- Please see the log file $ARGV{logfile} for details on how
- the fonts' families, weights, widths and shapes were parsed.
-
+ Please see the log file $ARGV{logfile} for details on how
+ the fonts' families, weights, widths and shapes were parsed.
END_WARNING_MULTIPLE_FAMILIES
# increase verbosity if necessary, to log all relevant info
@@ -903,7 +905,6 @@
return if $ARGV{verbose} < 2;
print {$LOG} join "\n\n", @cmds;
print {$LOG} "\n";
- close $LOG;
}
#-----------------------------------------------------------------------
@@ -919,19 +920,36 @@
if ($ARGV{manual}) {
open my $BAT, '>', 'autoinst.bat'
- or die "[ERROR] Can't create 'autoinst.bat': $!";
+ or die "[ERROR] Can't create 'autoinst.bat': $!";
print {$BAT} "$_\n" for @commands;
close $BAT;
}
else {
- if (grep { system $_ } @commands) {
+ my $oops = 0;
+ $| = 1; # turn on autoflush, to make a poor man's progress bar
+ print "[INFO] Generating fonts ";
+ for my $command (@commands) {
+ print '.';
+ my ($child_in, $child_out, $child_err);
+ my $pid = IPC::Open3::open3(
+ $child_in, $child_out, $child_err, $command
+ );
+ close $child_in;
+ waitpid($pid, 0);
+
+ if ($?) {
+ my $msg = "$command\n" . do { local $/; <$child_err> } . "\n";
+ warn $msg;
+ print {$ARGV{logfile}} $msg;
+ $oops = 1;
+ }
+ }
+ print "\n";
+ $| = 0;
+ if ($oops) {
warn <<"END_OTFTOTFM_WARNING";
-[WARNING] one or more calls to 'otftotfm' failed;
- please see the messages above.
-
- Note that you can safely ignore any warnings
- "bad UNICODING (‘germandbls’ has no encoding)"
- or "bad ligature (‘ff’ has no encoding)"
+[ERROR] One or more calls to 'otftotfm' failed;
+ please see the error messages in the log file.
END_OTFTOTFM_WARNING
}
}
@@ -1012,9 +1030,10 @@
File::Path::make_path(values %dir) unless $ARGV{dryrun};
- my $result = join ' ', map { "--${_}-directory=$dir{$_}" } @FILETYPES;
- $result .= " --encoding-directory=$dir{enc} --map-file="
- . File::Spec->catfile($dir{map}, "${family}.map");
+ my $result = join ' ', map { qq(--${_}-directory="$dir{$_}") } @FILETYPES;
+ $result .= qq( --encoding-directory="$dir{enc}" --map-file=")
+ . File::Spec->catfile($dir{map}, "${family}.map")
+ . '"';
return $result;
}
@@ -1246,7 +1265,7 @@
: 'rm'
;
}
- } or warn "[WARNING] $@";
+ } or warn "[WARNING] $@";
# If the user didn't explicitly say anything about ligatures,
# activate them unless the font is a typewriter font.
@@ -1264,7 +1283,7 @@
my $localtarget = File::Spec->catdir( Cwd->getcwd(), 'autoinst_output' );
if ($ARGV{manual}) {
- warn "[WARNING] option '-target' overridden by '-manual'!\n"
+ warn "[WARNING] Option '-target' overridden by '-manual'!\n"
if $ARGV{target};
$ARGV{target} = $localtarget;
$ARGV{updmap} = 0;
@@ -1275,12 +1294,11 @@
};
if (!$kpsepath) {
warn <<"END_WARNING_KPSEWHICH";
-[WARNING] Call to "kpsewhich" failed.
- Maybe your TeX system doesn't use the kpathsea library?
+[WARNING] Call to "kpsewhich" failed.
+ Maybe your TeX system doesn't use the kpathsea library?
- Consider using the "-target" command line option
- to specify a TEXMF tree where autoinst should install all files.
-
+ Consider using the "-target" command line option
+ to specify a TEXMF tree where autoinst should install all files.
END_WARNING_KPSEWHICH
}
else {
@@ -1297,16 +1315,27 @@
$ARGV{target} = $localtarget;
$ARGV{updmap} = 0;
warn <<"END_WARNING_DUMPING_FILES";
-[WARNING] No user-writable TEXMF-tree found!
+[WARNING] No user-writable TEXMF-tree found!
- I'm putting all generated files in "$ARGV{target}".
+ I'm putting all generated files in "$ARGV{target}".
- Please install these files into a suitable TEXMF directory,
- update the filename database and run 'updmap' (or similar);
- see your TeX installation's documentation.
+ Please install these files into a suitable TEXMF directory,
+ update the filename database and run 'updmap' (or similar);
+ see your TeX installation's documentation.
END_WARNING_DUMPING_FILES
}
+ if ($ARGV{target} =~ m/[ ]/xms) {
+ warn <<"END_WARNING_SPACES_IN_PATHS";
+[WARNING] The pathname of your target directory contains spaces:
+ "$ARGV{target}"
+
+ I'll do my best to work around this. Fingers crossed!
+ If you do experience any problems, try to re-run autoinst
+ with a target directory without spaces in its name.
+END_WARNING_SPACES_IN_PATHS
+ }
+
if (!$ARGV{figurekern}) {
my @digits = qw(zero one two three four five six seven eight nine);
my $tkern
@@ -1362,7 +1391,7 @@
my $cmd = qq(otfinfo --info "$info->{filename}");
open my $otfinfo, '-|', $cmd
- or die "[ERROR] could not fork(): $!";
+ or die "[ERROR] Could not fork(): $!";
my %data = map { my ($k,$v) = m/\A\s* ([^:]+?) \s*:\s* ([^\r\n]+)/xms;
$k =~ s/\s+//xmsg;
$v =~ s/\s+//xmsg;
@@ -1370,7 +1399,7 @@
}
grep { m/\A\s* [^:]+? \s*:\s* [^\r\n]+/xms } <$otfinfo>;
close $otfinfo
- or die "[ERROR] '$cmd' failed";
+ or die "[ERROR] '$cmd' failed.";
$data{family} = $data{preferredfamily} || $data{family};
$data{subfamily} = $data{preferredsubfamily} || $data{subfamily};
@@ -1521,7 +1550,7 @@
close $otfinfo
or die "'$cmd' failed";
@{$info}{qw(weight_class width_class)} = unpack '@4n @6n', $os2_table;
- } or warn "[WARNING] $@";
+ } or warn "[WARNING] $@";
return;
}
@@ -1547,17 +1576,17 @@
my $cmd = qq(otfinfo --features "$info->{filename}");
open my $otfinfo, '-|', $cmd
- or die "[ERROR] could not fork(): $!";
+ or die "[ERROR] Could not fork(): $!";
%{$info->{feature}} = map { (substr($_, 0, 4) => 1) } <$otfinfo>;
close $otfinfo
- or die "[ERROR] '$cmd' failed";
+ or die "[ERROR] '$cmd' failed.";
$cmd = qq(otfinfo --tables "$info->{filename}");
open $otfinfo, '-|', $cmd
- or die "[ERROR] could not fork(): $!";
+ or die "[ERROR] Could not fork(): $!";
$info->{feature}{kern} = 1 if grep { m/\d+ \s+ kern/xms } <$otfinfo>;
close $otfinfo
- or die "[ERROR] '$cmd' failed";
+ or die "[ERROR] '$cmd' failed.";
return;
}
@@ -1571,7 +1600,7 @@
my $cmd = qq(otfinfo --optical-size "$info->{filename}");
open my $otfinfo, '-|', $cmd
- or die "[ERROR] could not fork(): $!";
+ or die "[ERROR] Could not fork(): $!";
if (my ($minsize, $maxsize)
= <$otfinfo> =~ m/[(] ([\d.]+) \s* pt, \s*
@@ -1605,7 +1634,7 @@
@{$info}{qw(minsize maxsize)} = ($minsize, $maxsize);
}
close $otfinfo
- or die "[ERROR] '$cmd' failed";
+ or die "[ERROR] '$cmd' failed.";
return;
}
@@ -1613,30 +1642,29 @@
# Error messages, used in assert_unique()
my $ERR_DETAIL =<<'END_ERR_DETAIL';
-[ERROR] I've parsed both %s
- and %s as
+[ERROR] I've parsed both %s
+ and %s as
- Family: %s
- Weight: %s
- Width: %s
- Shape: %s
- Size: %s-%s
+ Family: %s
+ Weight: %s
+ Width: %s
+ Shape: %s
+ Size: %s-%s
END_ERR_DETAIL
my $ERR_PARSE =<<'END_ERR_PARSE';
-[ERROR] I failed to parse all fonts in a unique way;
- presumably some fonts have unusual widths, weights or shapes.
+[ERROR] I failed to parse all fonts in a unique way;
+ presumably some fonts have unusual widths, weights or shapes.
- Try one of the following:
- - Run 'autoinst' on a smaller set of fonts,
- omitting the ones that weren't parsed correctly;
- - Add the missing widths, weights or shapes to the tables
- 'NFSS_WIDTH', 'NFSS_WEIGHT' or 'NFSS_SHAPE' near the top
- of the source code;
+ Try one of the following:
+ - Run 'autoinst' on a smaller set of fonts,
+ omitting the ones that weren't parsed correctly;
+ - Add the missing widths, weights or shapes to the tables
+ 'NFSS_WIDTH', 'NFSS_WEIGHT' or 'NFSS_SHAPE' near the top
+ of the source code;
- Please also send a bug report to the author.
-
+ Please also send a bug report to the author.
END_ERR_PARSE
#-----------------------------------------------------------------------
@@ -1666,6 +1694,7 @@
# Die with detailed error message if the font infos aren't unique
if ($err_details) {
+ print {$ARGV{logfile}} $err_details, $ERR_PARSE;
die $err_details, $ERR_PARSE;
}
@@ -1687,10 +1716,10 @@
my $cmd = qq(otfinfo --glyphs "$font->{filename}");
open my $otfinfo, '-|', $cmd
- or die "[ERROR] could not fork(): $!";
+ or die "[ERROR] Could not fork(): $!";
chop(my @glyphnames = <$otfinfo>);
close $otfinfo
- or die "[ERROR] '$cmd' failed";
+ or die "[ERROR] '$cmd' failed.";
# Test for some known alternative names (probably not exhaustive)
my @ornaments
@@ -1702,7 +1731,7 @@
@encoding[0 .. $#ornaments] = @ornaments;
open my $ORN, '>', "$enc_name.enc"
- or die "[ERROR] Can't create '$enc_name.enc': $!";
+ or die "[ERROR] Can't create '$enc_name.enc': $!";
print {$ORN} "/$font->{family}OrnamentEncoding [\n";
map { print {$ORN} " /$_\n" } @encoding[0 .. 255];
@@ -1753,7 +1782,7 @@
File::Path::make_path($dir);
$fn = File::Spec->catfile($dir, $fn);
open my $STY, '>', $fn
- or die "[ERROR] Can't create '$fn': $!";
+ or die "[ERROR] Can't create '$fn': $!";
print {$STY} <<"END_STY_HEADER";
%% Generated by autoinst on $TODAY
@@ -1894,7 +1923,7 @@
: $seen{TOsF} ? 'oldstyle,tabular'
: $seen{LF} ? 'lining,proportional'
: $seen{TLF} ? 'lining,tabular'
- : die "[ERROR] Internal bug, please report!";
+ : die "[ERROR] Internal bug, please report!";
my $default_bold;
for my $series (qw(heavy black extrabold demibold semibold bold)) {
@@ -1961,7 +1990,7 @@
File::Path::make_path($dir);
$fn = File::Spec->catfile($dir, $fn);
open my $FD, '>', $fn
- or die "[ERROR] Can't create '$fn': $!";
+ or die "[ERROR] Can't create '$fn': $!";
print {$FD} <<"END_FD_HEADER";
%% Generated by autoinst on $TODAY
@@ -2605,7 +2634,7 @@
This option tells B<autoinst> to add extra C<LIGKERN> rules to
the generated fonts to enable the use of these ligatures.
The default is B<-ligatures>,
-unless the user specified the I<ligatures> option.
+unless the user specified the I<-typewriter> option.
Specify B<-noligatures> to disable the generation of ligatures even for fonts
that do contain a "liga" feature.
@@ -2782,7 +2811,7 @@
=head1 VERSION
-This document describes B<autoinst> version 20190712.
+This document describes B<autoinst> version 20191001.
=head1 RECENT CHANGES
@@ -2791,6 +2820,11 @@
=over 12
+=item I<2019-10-01>
+
+Handle I<-target> directories with spaces in their path names.
+Tweaked messages and logs to make them more useful to the user.
+
=item I<2019-07-12>
Replaced single quotes in calls to F<otfinfo> with double quotes,
Modified: trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Build/source/texk/texlive/linked_scripts/fontools/ot2kpx 2019-10-02 21:17:45 UTC (rev 52258)
@@ -38,7 +38,7 @@
use List::Util @List::Util::EXPORT_OK;
use Pod::Usage;
-my $VERSION = "20190712";
+my $VERSION = "20191001";
our ($NUM_GLYPHS, $UNITS_PER_EM, %kern);
@@ -858,7 +858,7 @@
=head1 VERSION
-This document describes B<ot2kpx> version 20190712.
+This document describes B<ot2kpx> version 20191001.
=head1 RECENT CHANGES
Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua 2019-10-02 21:17:45 UTC (rev 52258)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2019-09-30"
+release_date = "2019-10-02"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md 2019-10-02 21:17:45 UTC (rev 52258)
@@ -7,6 +7,16 @@
## [Unreleased]
+## [2019-10-02]
+
+### Added
+
+- `docinit_hook()`
+
+### Changed
+
+- Normalise out file paths in all cases
+
## [2019-09-30]
### Added
@@ -360,7 +370,8 @@
- Rationalise short option names: removed `-d`, `-E`, `-r`
- Target `cmdcheck`: specific to LaTeX3 kernel work
-[Unreleased]: https://github.com/latex3/l3build/compare/2019-09-30...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2019-10-02...HEAD
+[2019-10-02]: https://github.com/latex3/l3build/compare/2019-09-30...2019-10-02
[2019-09-30]: https://github.com/latex3/l3build/compare/2019-09-29...2019-09-30
[2019-09-29]: https://github.com/latex3/l3build/compare/2019-09-28...2019-09-29
[2019-09-28]: https://github.com/latex3/l3build/compare/2019-09-25...2019-09-28
Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md 2019-10-02 21:17:45 UTC (rev 52258)
@@ -1,7 +1,7 @@
l3build: a testing and building system for LaTeX3
=================================================
-Release 2019-09-30
+Release 2019-10-02
Overview
--------
Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/afm2afm.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/afm2afm.1 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/man/man1/afm2afm.1 2019-10-02 21:17:45 UTC (rev 52258)
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "AFM2AFM 1"
-.TH AFM2AFM 1 "2019-07-12" "fontools" "Marc Penninga"
+.TH AFM2AFM 1 "2019-10-01" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -223,7 +223,7 @@
See the \s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBafm2afm\fR version 20190712.
+This document describes \fBafm2afm\fR version 20191001.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source code for the rest of the story.)
Modified: trunk/Master/texmf-dist/doc/man/man1/afm2afm.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/autoinst.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/autoinst.1 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/man/man1/autoinst.1 2019-10-02 21:17:45 UTC (rev 52258)
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "AUTOINST 1"
-.TH AUTOINST 1 "2019-07-12" "fontools" "Marc Penninga"
+.TH AUTOINST 1 "2019-10-01" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -581,7 +581,7 @@
This option tells \fBautoinst\fR to add extra \f(CW\*(C`LIGKERN\*(C'\fR rules to
the generated fonts to enable the use of these ligatures.
The default is \fB\-ligatures\fR,
-unless the user specified the \fIligatures\fR option.
+unless the user specified the \fI\-typewriter\fR option.
.Sp
Specify \fB\-noligatures\fR to disable the generation of ligatures even for fonts
that do contain a \*(L"liga\*(R" feature.
@@ -737,10 +737,14 @@
\&\s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBautoinst\fR version 20190712.
+This document describes \fBautoinst\fR version 20191001.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source for the full story, all the way back to 2005.)
+.IP "\fI2019\-10\-01\fR" 12
+.IX Item "2019-10-01"
+Handle \fI\-target\fR directories with spaces in their path names.
+Tweaked messages and logs to make them more useful to the user.
.IP "\fI2019\-07\-12\fR" 12
.IX Item "2019-07-12"
Replaced single quotes in calls to \fIotfinfo\fR with double quotes,
Modified: trunk/Master/texmf-dist/doc/man/man1/autoinst.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1 2019-10-02 21:17:45 UTC (rev 52258)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2019-09-30"
+.TH l3build 1 "2019-10-02"
.SH NAME
l3build \- Checking and building packages
.SH SYNOPSIS
Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/doc/man/man1/ot2kpx.1 2019-10-02 21:17:45 UTC (rev 52258)
@@ -133,7 +133,7 @@
.\" ========================================================================
.\"
.IX Title "OT2KPX 1"
-.TH OT2KPX 1 "2019-07-12" "fontools" "Marc Penninga"
+.TH OT2KPX 1 "2019-10-01" "fontools" "Marc Penninga"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -228,7 +228,7 @@
See the \s-1GNU\s0 General Public License for more details.
.SH "VERSION"
.IX Header "VERSION"
-This document describes \fBot2kpx\fR version 20190712.
+This document describes \fBot2kpx\fR version 20191001.
.SH "RECENT CHANGES"
.IX Header "RECENT CHANGES"
(See the source code for the rest of the story.)
Modified: trunk/Master/texmf-dist/doc/man/man1/ot2kpx.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua 2019-10-02 21:17:45 UTC (rev 52258)
@@ -137,22 +137,20 @@
lastline = ""
-- Zap ./ at begin of filename
line = gsub(line, "%(%.%/", "(")
- -- Zap paths if places other than 'here' are accessible
- if checksearch then
- -- The pattern excludes < and > as the image part can have
- -- several entries on one line
- local pattern = "%w?:?/[^ %<%>]*/([^/%(%)]*%.%w*)"
- -- Files loaded from TeX: all start ( -- )
- line = gsub(line, "%(" .. pattern, "(../%1")
- -- Images
- line = gsub(line, "<" .. pattern .. ">", "<../%1>")
- -- luaotfload files start with keywords
- line = gsub(line, "from " .. pattern .. "%(", "from. ./%1(")
- line = gsub(line, ": " .. pattern .. "%)", ": ../%1)")
- -- Deal with XeTeX specials
- if match(line, "^%.+\\XeTeX.?.?.?file") then
- line = gsub(line, pattern, "../%1")
- end
+ -- Zap paths
+ -- The pattern excludes < and > as the image part can have
+ -- several entries on one line
+ local pattern = "%w?:?/[^ %<%>]*/([^/%(%)]*%.%w*)"
+ -- Files loaded from TeX: all start ( -- )
+ line = gsub(line, "%(" .. pattern, "(../%1")
+ -- Images
+ line = gsub(line, "<" .. pattern .. ">", "<../%1>")
+ -- luaotfload files start with keywords
+ line = gsub(line, "from " .. pattern .. "%(", "from. ./%1(")
+ line = gsub(line, ": " .. pattern .. "%)", ": ../%1)")
+ -- Deal with XeTeX specials
+ if match(line, "^%.+\\XeTeX.?.?.?file") then
+ line = gsub(line, pattern, "../%1")
end
-- Deal with dates
if match(line, "[^<]%d%d%d%d[/%-]%d%d[/%-]%d%d") then
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-typesetting.lua 2019-10-02 21:17:45 UTC (rev 52258)
@@ -174,9 +174,7 @@
return 0
end
--- Typeset all required documents
--- Uses a set of dedicated auxiliaries that need to be available to others
-function doc(files)
+local function docinit()
-- Set up
cleandir(typesetdir)
for _,filetype in pairs(
@@ -199,6 +197,16 @@
if errorlevel ~= 0 then
return errorlevel
end
+ return docinit_hook()
+end
+
+docinit_hook = docinit_hook or function() return 0 end
+
+-- Typeset all required documents
+-- Uses a set of dedicated auxiliaries that need to be available to others
+function doc(files)
+ local errorlevel = docinit()
+ if errorlevel ~= 0 then return errorlevel end
local done = {}
for _,typesetfiles in ipairs({typesetdemofiles,typesetfiles}) do
for _,glob in pairs(typesetfiles) do
Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua 2019-10-02 21:17:45 UTC (rev 52258)
@@ -25,7 +25,7 @@
--]]
-- Version information
-release_date = "2019-09-30"
+release_date = "2019-10-02"
-- File operations are aided by the LuaFileSystem module
local lfs = require("lfs")
Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2019-10-02 21:17:13 UTC (rev 52257)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx 2019-10-02 21:17:45 UTC (rev 52258)
@@ -231,7 +231,7 @@
% }^^A
% }
%
-% \date{Released 2019-09-30}
+% \date{Released 2019-10-02}
%
% \maketitle
% \tableofcontents
@@ -1382,7 +1382,12 @@
% \label{fig:PDF}
% \end{figure}
%
+% \subsection{Pre-typesetting hook}
%
+% To allow complex set up for typesetting, a hook |docinit_hook()| is available
+% to be executed once all standard set up is complete but before any typesetting
+% is run.
+%
% \subsection{Automated upload to CTAN}
% \label{sec:upload}
%
More information about the tex-live-commits
mailing list