summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texlive/fmtutil.pl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-27 17:08:10 +0000
committerKarl Berry <karl@freefriends.org>2015-04-27 17:08:10 +0000
commit274ff8ac2225aae653807b8aed904f334dfbc6f8 (patch)
tree8c220f3b3c1edcfaab036da89f5139e87df15259 /Master/texmf-dist/scripts/texlive/fmtutil.pl
parent10f13ed4a0a2682a41028b35c8e361dda6658015 (diff)
tweak help text
git-svn-id: svn://tug.org/texlive/trunk@37076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/fmtutil.pl')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/fmtutil.pl22
1 files changed, 13 insertions, 9 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil.pl b/Master/texmf-dist/scripts/texlive/fmtutil.pl
index eb11426582e..51584b18a4a 100755
--- a/Master/texmf-dist/scripts/texlive/fmtutil.pl
+++ b/Master/texmf-dist/scripts/texlive/fmtutil.pl
@@ -20,14 +20,13 @@
my $TEXMFROOT;
BEGIN {
- $^W=1;
+ $^W = 1;
$TEXMFROOT = `kpsewhich -var-value=TEXMFROOT`;
if ($?) {
- print STDERR "fmtutil: Cannot find TEXMFROOT, aborting!\n";
- exit 1;
+ die "$0: kpsewhich -var-value=TEXMFROOT failed, aborting early.\n";
}
chomp($TEXMFROOT);
- unshift (@INC, "$TEXMFROOT/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive");
+ unshift(@INC, "$TEXMFROOT/tlpkg", "$TEXMFROOT/texmf-dist/scripts/texlive");
require "mktexlsr.pl";
TeX::Update->import();
}
@@ -40,7 +39,7 @@ $lastchdate =~ s/ \(.*$//;
my $svnrev = '$Revision$';
$svnrev =~ s/^\$Revision:\s*//;
$svnrev =~ s/\s*\$$//;
-my $version = "svn$svnrev ($lastchdate)";
+my $version = "r$svnrev ($lastchdate)";
use strict;
use Getopt::Long qw(:config no_autoabbrev ignore_case_always);
@@ -1136,7 +1135,7 @@ Where changes are saved:
In general, the idea is that if a given config file is not writable, a
higher-level one can be used. That way, the distribution's settings
can be overridden for system-wide using TEXMFLOCAL, and then system
- settings can be overridden again for a particular using using TEXMFHOME.
+ settings can be overridden again in a particular user's TEXMFHOME.
Resolving multiple definitions of a format:
@@ -1149,13 +1148,18 @@ Disabling formats:
formats mentioned in lower priority (listed later) fmtutil.cnf files by
writing, e.g.,
\#! <fmtname> <enginename> <hyphen> <args>
- in the higher-priority fmtutil.cnf file.
+ in the higher-priority fmtutil.cnf file. (The \#! must be at the
+ beginning of the line, with at least one space or tab afterward, and
+ whitespace between each word on the list.)
As an example, suppose you have want to disable the luajitlatex format.
You can create the file \$TEXMFCONFIG/web2c/fmtutil.cnf with the content
#! luajitlatex luajittex language.dat,language.dat.lua lualatex.ini
and call $prg.
-
+
+ (As it happens, the luajittex-related formats are precisely why the
+ --no-error-if-no-engine option exists, since luajittex cannot be
+ compiled on all platforms.)
fmtutil vs. fmtutil-sys (fmtutil --sys):
@@ -1167,7 +1171,7 @@ fmtutil vs. fmtutil-sys (fmtutil --sys):
Other locations may be used if you give them on the command line, or
these trees don't exist, or you are not using the original TeX Live.
-Report bugs to: tex-k\@tug.org
+Report bugs to: tex-live\@tug.org
TeX Live home page: <http://tug.org/texlive/>
EOF
;