summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-23 23:04:05 +0000
committerKarl Berry <karl@freefriends.org>2015-11-23 23:04:05 +0000
commite4aeaa443a5f38518b62cd0732ba9621f194a79b (patch)
treea5a993daef68583e7e7ba1ac88be5fea1a0a8784 /Build
parenta30f052f895d1f1fd9f112c555d360a2f5845929 (diff)
fontools (23nov15)
git-svn-id: svn://tug.org/texlive/trunk@38924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/fontools/autoinst7
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/texlive/fmtutil.pl19
2 files changed, 21 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/fontools/autoinst b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
index 71a3df31816..02eb3ef11c4 100755
--- a/Build/source/texk/texlive/linked_scripts/fontools/autoinst
+++ b/Build/source/texk/texlive/linked_scripts/fontools/autoinst
@@ -964,8 +964,11 @@ sub parse_basicinfo {
$data{subfamily} = $data{preferredsubfamily} || $data{subfamily};
$data{fullname} =~ s/\A$data{family}//xms;
$data{fullname} = lc $data{fullname};
+
+ # clean up family name (it's used in LaTeX command names)
$data{family} =~ s/\A(?: Adobe | ITC | LT | MT)//xms;
$data{family} =~ s/(\d)/$DIGITS[$1]/xmsge;
+ $data{family} =~ s/[^A-Za-z]+//xmsg;
my $fullinfo = lc "$data{subfamily} | $data{fullname}";
@@ -2154,6 +2157,10 @@ GNU General Public License for more details.
=over 12
+=item I<2015-11-22>
+
+Bugfix: Latex doesn't like command names with dashes in it.
+
=item I<2015-05-13>
Fixed an error message that mixed up width and weight.
diff --git a/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl b/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
index ff2463fc8d9..c41c9c498b2 100755
--- a/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
+++ b/Build/source/texk/texlive/linked_scripts/texlive/fmtutil.pl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: fmtutil.pl 38582 2015-10-07 22:32:58Z karl $
+# $Id: fmtutil.pl 38835 2015-11-13 00:30:30Z preining $
# fmtutil - utility to maintain format files.
# (Maintained in TeX Live:Master/texmf-dist/scripts/texlive.)
#
@@ -25,11 +25,11 @@ BEGIN {
}
-my $svnid = '$Id: fmtutil.pl 38582 2015-10-07 22:32:58Z karl $';
-my $lastchdate = '$Date: 2015-10-08 00:32:58 +0200 (Thu, 08 Oct 2015) $';
+my $svnid = '$Id: fmtutil.pl 38835 2015-11-13 00:30:30Z preining $';
+my $lastchdate = '$Date: 2015-11-13 01:30:30 +0100 (Fri, 13 Nov 2015) $';
$lastchdate =~ s/^\$Date:\s*//;
$lastchdate =~ s/ \(.*$//;
-my $svnrev = '$Revision: 38582 $';
+my $svnrev = '$Revision: 38835 $';
$svnrev =~ s/^\$Revision:\s*//;
$svnrev =~ s/\s*\$$//;
my $version = "r$svnrev ($lastchdate)";
@@ -124,6 +124,7 @@ our @cmdline_options = (
"version",
"help|h",
"strict",
+ "recorder",
"_dumpdata",
);
@@ -422,6 +423,7 @@ sub rebuild_one_format {
my $texengine;
my $jobswitch = "-jobname=$fmt";
my $prgswitch = "-progname=" ;
+ my $recorderswitch = ($opts{'recorder'} ? "-recorder" : "");
my $fmtfile = $fmt;
my $kpsefmt;
my $pool;
@@ -528,7 +530,7 @@ sub rebuild_one_format {
}
# in mktexfmtMode we need to redirect *all* output to stderr
- my $cmdline = "$eng -ini $tcxflag $jobswitch $prgswitch $texargs";
+ my $cmdline = "$eng -ini $tcxflag $recorderswitch $jobswitch $prgswitch $texargs";
$cmdline .= " >&2" if $mktexfmtMode;
$cmdline .= " <$nul";
my $retval = system($cmdline);
@@ -585,6 +587,12 @@ sub rebuild_one_format {
if (!File::Copy::move( "$fmt.log", "$fulldestdir/$fmt.log")) {
print_deferred_error("Cannot move $fmt.log to $fulldestdir.\n");
}
+ if ($opts{'recorder'}) {
+ my $recfile = $fmt . ($fmt =~ m/^(aleph|lamed)$/ ? ".ofl" : ".fls");
+ if (!File::Copy::move( $recfile, "$fulldestdir/$recfile")) {
+ print_deferred_error("Cannot move $recfile to $fulldestdir.\n");
+ }
+ }
my $destfile = "$fulldestdir/$fmtfile";
if (File::Copy::move( $fmtfile, $destfile )) {
@@ -1163,6 +1171,7 @@ Options:
exit successfully even if the required engine
is missing, if it is included in the list.
--quiet be silent
+ --recorder pass the -recorder option and save .fls files
--test (not implemented, just for compatibility)
--dolinks (not implemented, just for compatibility)
--force (not implemented, just for compatibility)