summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-08 18:03:09 +0000
committerKarl Berry <karl@freefriends.org>2008-07-08 18:03:09 +0000
commit21901ea0d6091fd5ab44f7cf2b518c73b556ff27 (patch)
tree520cd82e71e9de25846e901d8f14173873c5f9ca /Build
parenteda203520d09b7b909b9ab88479e218b7378439d (diff)
disable hyphen and formats commands, language.dat/def and fmtutil.cnf must not be manually edited
git-svn-id: svn://tug.org/texlive/trunk@9379 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/tetex/ChangeLog6
-rw-r--r--Build/source/texk/tetex/stamp-aclocal2
-rw-r--r--Build/source/texk/tetex/stamp-configure2
-rwxr-xr-xBuild/source/texk/tetex/texconfig38
4 files changed, 42 insertions, 6 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog
index 8ea19fc96bc..fc8481faa4d 100644
--- a/Build/source/texk/tetex/ChangeLog
+++ b/Build/source/texk/tetex/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-08 Karl Berry <karl@tug.org>
+
+ * texconfig (hyphen, formats): disable these functions,
+ fmtutil.cnf and language.dat/def must not be manually edited,
+ since they are now automatically regenerated, as tlmgr regenerates.
+
2008-07-05 Karl Berry <karl@tug.org>
* Makefile.in (run_texlinks): use -f $(web2cdir)/fmtutil.cnf.
diff --git a/Build/source/texk/tetex/stamp-aclocal b/Build/source/texk/tetex/stamp-aclocal
index ada45d19ef5..94d65ddfcc6 100644
--- a/Build/source/texk/tetex/stamp-aclocal
+++ b/Build/source/texk/tetex/stamp-aclocal
@@ -1 +1 @@
-Sun Jul 6 02:40:49 CEST 2008
+Tue Jul 8 19:32:45 CEST 2008
diff --git a/Build/source/texk/tetex/stamp-configure b/Build/source/texk/tetex/stamp-configure
index ab90cc5a489..4feb94b1c65 100644
--- a/Build/source/texk/tetex/stamp-configure
+++ b/Build/source/texk/tetex/stamp-configure
@@ -1 +1 @@
-Sun Jul 6 02:40:50 CEST 2008
+Tue Jul 8 19:32:46 CEST 2008
diff --git a/Build/source/texk/tetex/texconfig b/Build/source/texk/tetex/texconfig
index b2129f8814a..4357d1b9b99 100755
--- a/Build/source/texk/tetex/texconfig
+++ b/Build/source/texk/tetex/texconfig
@@ -1,7 +1,8 @@
#!/bin/sh
# TeXConfig version 3.0
-# Thomas Esser, te@dbs.uni-hannover.de. Public domain.
+# Originally written by Thomas Esser. Public domain.
+# Now maintained as part of TeX Live; correspondence to tex-live@tug.org.
# invoke the right shell:
@@ -24,7 +25,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
progname=texconfig
# the version string
-version=20080505.2038
+version=20080708.1050
envVars="
AFMFONTS BIBINPUTS BSTINPUTS CMAPFONTS CWEBINPUTS ENCFONTS GFFONTS
@@ -562,9 +563,7 @@ Usage: $progname conf (show configuration information)
$progname font vardir DIR
$progname font ro
$progname font rw
- $progname formats (edit fmtutil.cnf)
$progname help (or --help; show this help)
- $progname hyphen FORMAT (edit hyphenation config for FORMAT)
$progname init [FORMAT]... (rebuild FORMATs, or all formats
plus run texlinks and updmap)
$progname mode MODE (set Metafont MODE)
@@ -1005,6 +1004,21 @@ For more information about these \`features', consult the teTeX manual
;;
formats)
+ cat >&2 <<EOM
+texconfig formats is no longer supported, because manual edits of
+fmtutil.cnf will be overwritten by the new TeX Live package manager,
+tlmgr, which regenerates that file as needed upon package changes.
+Thus, to add or remove formats, the recommended method is to use tlmgr
+to add or remove the appropriate package.
+
+If you need to make manual additions, you can edit the file
+fmtutil-local.cnf under TEXMFLOCAL. Further information with
+tlmgr --help and at http://tug.org/texlive/tlmgr.html.
+
+Exiting.
+EOM
+ exit 1 # but leave the real code for posterity
+
setupTmpDir
echo "$progname: analyzing old configuration..." >&2
fmtutil --catcfg > $tmpdir/pre
@@ -1030,6 +1044,22 @@ For more information about these \`features', consult the teTeX manual
# "hyphen FORMAT"
hyphen)
+ cat >&2 <<EOM
+texconfig hyphen is no longer supported, because manual edits of
+language.dat (or language.def) will be overwritten by the new TeX Live
+package manager, tlmgr, which regenerates those configuration files as
+needed upon package changes. Thus, to add or remove hyphenation
+patterns, the recommended method is to use tlmgr to add or remove the
+appropriate package.
+
+If you need to make manual additions, you can edit the files
+language-local.dat and language-local.def under TEXMFLOCAL. Further
+information with tlmgr --help and at http://tug.org/texlive/tlmgr.html.
+
+Exiting.
+EOM
+ exit 1 # but leave the real code for posterity
+
tcBatchHyphenFormat=$2
formatsForHyphen=`getFormatsForHyphen`
formatsForHyphenFmt=`echo "$formatsForHyphen" | myFmt | sed 's@^@ @'`