From 274ff8ac2225aae653807b8aed904f334dfbc6f8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 Apr 2015 17:08:10 +0000 Subject: tweak help text git-svn-id: svn://tug.org/texlive/trunk@37076 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/fmtutil.pl | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/scripts/texlive/fmtutil.pl') 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., \#! - 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: EOF ; -- cgit v1.2.3