diff options
-rwxr-xr-x | Master/bin/alpha-linux/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/amd64-freebsd/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/hppa-hpux/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/i386-freebsd/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/i386-linux/pdftex | bin | 1645356 -> 1717836 bytes | |||
-rwxr-xr-x | Master/bin/i386-linux/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/i386-openbsd/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/i386-solaris/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/mips-irix/texconfig | 308 | ||||
-rwxr-xr-x | Master/bin/powerpc-aix/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/powerpc-linux/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/sparc-linux/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/sparc-solaris/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/universal-darwin/texconfig | 38 | ||||
-rwxr-xr-x | Master/bin/x86_64-linux/texconfig | 38 |
15 files changed, 605 insertions, 197 deletions
diff --git a/Master/bin/alpha-linux/texconfig b/Master/bin/alpha-linux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/alpha-linux/texconfig +++ b/Master/bin/alpha-linux/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@^@ @'` diff --git a/Master/bin/amd64-freebsd/texconfig b/Master/bin/amd64-freebsd/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/amd64-freebsd/texconfig +++ b/Master/bin/amd64-freebsd/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@^@ @'` diff --git a/Master/bin/hppa-hpux/texconfig b/Master/bin/hppa-hpux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/hppa-hpux/texconfig +++ b/Master/bin/hppa-hpux/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@^@ @'` diff --git a/Master/bin/i386-freebsd/texconfig b/Master/bin/i386-freebsd/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/i386-freebsd/texconfig +++ b/Master/bin/i386-freebsd/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@^@ @'` diff --git a/Master/bin/i386-linux/pdftex b/Master/bin/i386-linux/pdftex Binary files differindex e0d5bf54297..f7b68d813a1 100755 --- a/Master/bin/i386-linux/pdftex +++ b/Master/bin/i386-linux/pdftex diff --git a/Master/bin/i386-linux/texconfig b/Master/bin/i386-linux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/i386-linux/texconfig +++ b/Master/bin/i386-linux/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@^@ @'` diff --git a/Master/bin/i386-openbsd/texconfig b/Master/bin/i386-openbsd/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/i386-openbsd/texconfig +++ b/Master/bin/i386-openbsd/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@^@ @'` diff --git a/Master/bin/i386-solaris/texconfig b/Master/bin/i386-solaris/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/i386-solaris/texconfig +++ b/Master/bin/i386-solaris/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@^@ @'` diff --git a/Master/bin/mips-irix/texconfig b/Master/bin/mips-irix/texconfig index 922dc7939e2..4357d1b9b99 100755 --- a/Master/bin/mips-irix/texconfig +++ b/Master/bin/mips-irix/texconfig @@ -1,7 +1,8 @@ #!/bin/sh -# TeX-Config version 3.0 -# Thomas Esser, te@dbs.uni-hannover.de. Public domain. +# TeXConfig version 3.0 +# 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,8 +25,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=texconfig # the version string -version=1168907609 # seconds since `00:00:00 1970-01-01 UTC' - # date '+%s' (with GNU date) +version=20080708.1050 envVars=" AFMFONTS BIBINPUTS BSTINPUTS CMAPFONTS CWEBINPUTS ENCFONTS GFFONTS @@ -41,10 +41,10 @@ tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/tctmp.$$ needsCleanup=false lastUpdatedFile= +# ############################################################################### -# setupFMT(void) -# find a suitable version of fmt / adjust -############################################################################### +# setupFMT(void) - find a suitable version of fmt / adjust +# setupFMT() { case $FMT in @@ -60,9 +60,8 @@ setupFMT() } ############################################################################### -# myFmt(args) -# run $FMT -############################################################################### +# myFmt(args) - run $FMT +# myFmt() { setupFMT @@ -72,7 +71,7 @@ myFmt() ############################################################################### # echoShowVariable(args ...) # show environment variables which names are as args and their values -############################################################################### +# echoShowVariable() { for esv @@ -86,7 +85,7 @@ echoShowVariable() ############################################################################### # echoShowKpseVariable(args ...) # show kpathsea variables which names are as args and their values -############################################################################### +# echoShowKpseVariable() { for eskv @@ -98,25 +97,27 @@ echoShowKpseVariable() } ############################################################################### -# echoLocateBinary(args ...) -# show where programs actually exist -############################################################################### +# echoLocateBinary(args ...) - show where programs actually exist +# echoLocateBinary() { for elb do elbLoc=`checkForBinary "$elb"` - case $elbLoc in - "") echo "$elb: not found";; - *) echo "$elb: $elbLoc";; - esac + if test -n "$ELB_PATH_ONLY"; then + test -n "$elbLoc" && echo "$elbLoc" + else + case $elbLoc in + "") echo "$elb: not found";; + *) echo "$elb: $elbLoc";; + esac + fi done } ############################################################################### -# echoLocateCfgfile(args ...) -# show where programs actually exist -############################################################################### +# echoLocateCfgfile(args ...) - show where files actually exist +# echoLocateCfgfile() { for elc @@ -133,9 +134,8 @@ echoLocateCfgfile() } ############################################################################### -# checkForBinary(prog) -# echo full path of prog -############################################################################### +# checkForBinary(prog) - echo full path of prog +# checkForBinary() { cfbBinary=$1 @@ -159,43 +159,8 @@ checkForBinary() } ############################################################################### -# findDialogProg(void) -# Some systems have their own dialog. Use it then and do not use -# faked TERM and TERMINFO variables when calling that dialog. -############################################################################### -findDialogProg() -{ - { u=`uname -s`; } 2>/dev/null - case "$u" in - FreeBSD|Linux|cygwin*|CYGWIN*) - test -f /usr/bin/whiptail && DIALOG_PROG=/usr/bin/whiptail - test -f /usr/bin/dialog && DIALOG_PROG=/usr/bin/dialog - test -f /bin/dialog && DIALOG_PROG=/bin/dialog - ;; - esac -} - -############################################################################### -# runDialog(args) -# call either tcdialog or $DIALOG_PROG -############################################################################### -runDialog() -{ - test -z "$NO_CLEAR" && tty -s && clear - case "$DIALOG_PROG" in - "") - TERM=$DIALOG_TERM TERMINFO=$DIALOG_TERMINFO \ - tcdialog --title "$progname setup utility" ${1+"$@"};; - *) - $DIALOG_PROG --title "$progname setup utility" ${1+"$@"};; - esac -} - - -############################################################################### -# cleanup() -# clean up the temp area and exit with proper exit status -############################################################################### +# cleanup() - clean up the temp area and exit with proper exit status +# cleanup() { rc=$1 @@ -205,9 +170,8 @@ cleanup() } ############################################################################### -# setupTmpDir() -# set up a temp directory and a trap to remove it -############################################################################### +# setupTmpDir() - set up a temp directory and a trap to remove it +# setupTmpDir() { case $needsCleanup in @@ -221,9 +185,8 @@ setupTmpDir() } ############################################################################### -# setupTexmfmain() -# get value for MT_TEXMFMAIN (with caching) -############################################################################### +# setupTexmfmain() - get value for MT_TEXMFMAIN (with caching) +# setupTexmfmain() { case $MT_TEXMFMAIN in @@ -233,9 +196,8 @@ setupTexmfmain() } ############################################################################### -# setupTexmfmain() -# get value for MT_TEXMFMAIN (with caching) -############################################################################### +# setupTexmfmain() - get value for MT_TEXMFDIST (with caching) +# setupTexmfdist() { case $MT_TEXMFDIST in @@ -245,9 +207,8 @@ setupTexmfdist() } ############################################################################### -# setupTexmfvar() -# get value for MT_TEXMFVAR (with caching) -############################################################################### +# setupTexmfvar() - get value for MT_TEXMFVAR (with caching) +# setupTexmfvar() { case $MT_TEXMVAR in @@ -257,9 +218,8 @@ setupTexmfvar() } ############################################################################### -# setupSystexmf() -# get value for MT_SYSTEXMF (with caching) -############################################################################### +# setupSystexmf() - get value for MT_SYSTEXMF (with caching) +# setupSystexmf() { case $MT_SYSTEXMF in @@ -271,7 +231,7 @@ setupSystexmf() ############################################################################### # abort(errmsg) # print `errmsg' to stderr and exit with error code 1 -############################################################################### +# abort() { echo "$progname: $1." >&2 @@ -281,7 +241,7 @@ abort() ############################################################################### # mktexdir(args) # call mktexdir script, disable all features (to prevent sticky directories) -############################################################################### +# mktexdir() { setupTexmfmain @@ -289,9 +249,8 @@ mktexdir() } ############################################################################### -# tcfmgr(args) -# call tcfmgr script -############################################################################### +# tcfmgr(args) - call tcfmgr script +# tcfmgr() { setupTexmfmain @@ -299,9 +258,8 @@ tcfmgr() } ############################################################################### -# mktexupd(args) -# call mktexupd script -############################################################################### +# mktexupd(args) - call mktexupd script +# mktexupd() { setupTexmfmain @@ -312,7 +270,7 @@ mktexupd() # getRelDir(file) # matches file against SYSTEXMF. Returns relative directory of file within # a texmf tree in variable relPart. -############################################################################### +# getRelDir() { file=$1 @@ -353,10 +311,10 @@ getRelDir() } ############################################################################### -# configReplace(file, pattern, line) +# configReplace(file pattern line) # The first line in file that matches pattern gets replaced by line. # line will be added at the end of the file if pattern does not match. -############################################################################### +# configReplace() { configReplaceFile=$1; configReplacePat=$2; configReplaceLine=$3 @@ -377,7 +335,7 @@ eof ############################################################################### # fmgrConfigReplace (file regex value) # replaces line matching regex by value in file -############################################################################### +# fmgrConfigReplace() { fmgrConfigReplaceChanged=false @@ -421,7 +379,7 @@ fmgrConfigReplace() ############################################################################### # setupDvipsPaper(paper) # rearranges config.ps to make paper the first paper definition -############################################################################### +# setupDvipsPaper() { setupDvipsPaperChanged=false @@ -465,9 +423,8 @@ eof } ############################################################################### -# setupModesMfFile(void) -# find modes.mf file (with caching) -############################################################################### +# setupModesMfFile(void) - find modes.mf file (with caching) +# setupModesMfFile() { case $modesMfFile in @@ -481,9 +438,8 @@ setupModesMfFile() } ############################################################################### -# locateConfigPsFile(void) -# find config.ps file (with caching) -############################################################################### +# locateConfigPsFile(void) - find config.ps file (with caching) +# locateConfigPsFile() { case $configPsFile in @@ -497,9 +453,8 @@ locateConfigPsFile() } ############################################################################### -# listMfModes(file) -# list modes from modes.mf file -############################################################################### +# listMfModes(file) - list modes from modes.mf file +# listMfModes() { grep mode_def "$modesMfFile" | @@ -510,9 +465,8 @@ listMfModes() } ############################################################################### -# listDvipsPapers(void) -# list paper definitions from config.ps -############################################################################### +# listDvipsPapers(void) - list paper definitions from config.ps +# listDvipsPapers() { grep '@ ' $configPsFile | sed "s/..//;s/ / '/;s/\$/' /" @@ -521,16 +475,15 @@ listDvipsPapers() ############################################################################### # getFormatsForHyphen(void) # list all formats which have customizable hyphenation -############################################################################### +# getFormatsForHyphen() { fmtutil --catcfg | awk '$3 != "-" {print $1}' | sort } ############################################################################### -# getRes(mode) -# print resolution (both X and Y axis) to metafont mode -############################################################################### +# getRes(mode) - print resolution (both X and Y axis) to metafont mode +# getRes() { getResMode=$1 @@ -577,38 +530,62 @@ checkElemInList() } +# show version information from the distribution, if we have any. +showDistVersionInfo() +{ + # TeX Live file. + test -f $MT_TEXMFMAIN/../release-texlive.txt \ + && sed 1q $MT_TEXMFMAIN/../release-texlive.txt + + # no harm in continuing to look for the teTeX files. + test -f $MT_TEXMFMAIN/release-tetex-src.txt \ + && "teTeX-src release: `cat $MT_TEXMFMAIN/release-tetex-src.txt`" + test -f $MT_TEXMFDIST/release-tetex-texmf.txt \ + && "teTeX-texmf release: `cat $MT_TEXMFDIST/release-tetex-texmf.txt`" +} + +# ############################################################################### # tcBatch(args) # handle batch mode ############################################################################### tcBatch() { - help="Usage: $progname conf - $progname dvipdfmx paper PAPER - $progname dvipdfm paper PAPER - $progname dvips [options] - $progname faq + help="texconfig supports adjusting and updating many aspects of +the TeX installation. + +Usage: $progname conf (show configuration information) + $progname dvipdfmx paper PAPER (dvipdfmx paper size) + $progname dvipdfm paper PAPER (dvipdfm paper size) + $progname dvips [OPTION...] (dvips options) + $progname faq (show teTeX faq) + $progname findprog PROG... (show locations of PROGs, a la which) $progname font vardir DIR $progname font ro $progname font rw - $progname formats - $progname hyphen FORMAT - $progname init [formats] - $progname mode MODE - $progname paper PAPER - $progname pdftex [options] - $progname rehash - $progname xdvi paper PAPER - -Get more help with - $progname dvipdfmx paper - $progname dvipdfm paper + $progname help (or --help; show this help) + $progname init [FORMAT]... (rebuild FORMATs, or all formats + plus run texlinks and updmap) + $progname mode MODE (set Metafont MODE) + $progname paper PAPER (set default paper size to PAPER) + $progname pdftex [OPTION]... (pdftex options) + $progname rehash (rebuild ls-R files with mktexlsr) + $progname version (or --version; show version info) + $progname xdvi paper PAPER (xdvi paper size) + +Get more help with: + $progname dvipdfmx + $progname dvipdfm $progname dvips $progname font + $progname hyphen $progname mode $progname paper $progname pdftex - $progname xdvi paper" + $progname xdvi + +See http://tug.org/texlive/ for other documentation, etc. +Report bugs to <tex-k@tug.org>." case $1 in # texconfig conf @@ -616,16 +593,7 @@ Get more help with setupTexmfmain setupTexmfdist echo '=========================== version information ==========================' - if test -f $MT_TEXMFMAIN/release-tetex-src.txt; then - echo "teTeX-src release: `cat $MT_TEXMFMAIN/release-tetex-src.txt`" - else - echo "teTeX-src release: (info not available)" - fi - if test -f $MT_TEXMFDIST/release-tetex-texmf.txt; then - echo "teTeX-texmf release: `cat $MT_TEXMFDIST/release-tetex-texmf.txt`" - else - echo "teTeX-texmf release: (info not available)" - fi + showDistVersionInfo echo echo '==================== binaries found by searching $PATH ===================' echo "PATH=$PATH" @@ -643,7 +611,7 @@ Get more help with echoShowKpseVariable TEXMFMAIN TEXMFDIST TEXMFLOCAL TEXMFSYSVAR TEXMFSYSCONFIG TEXMFVAR TEXMFCONFIG TEXMFHOME VARTEXFONTS TEXMF SYSTEXMF TEXMFDBS WEB2C TEXPSHEADERS TEXCONFIG ENCFONTS TEXFONTMAPS echo - echo '==== kpathsea variables (from environment only; ok if no output here) ====' + echo '==== kpathsea variables from environment only (ok if no output here) ====' echoShowVariable $envVars ;; @@ -927,6 +895,11 @@ Valid MODE settings:" fi ;; + findprog) + shift + ELB_PATH_ONLY=1 echoLocateBinary "$@" + ;; + # handle "texconfig font" font) help="Usage: $progname font vardir DIR @@ -1031,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 @@ -1049,12 +1037,29 @@ For more information about these \`features', consult the teTeX manual texlinks --multiplatform || rc=1 fi ;; - help) + + help|--help|-h) echo "$help" ;; # "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@^@ @'` @@ -1142,11 +1147,19 @@ $formatsForHyphenFmt" ;; init) + if test -n "$texconfig_sys"; then # set by texconfig-sys + fmtutil=fmtutil-sys + updmap=updmap-sys + else + fmtutil=fmtutil + updmap=updmap + fi + case $2 in "") - if fmtutil --all \ + if $fmtutil --all \ && texlinks --multiplatform \ - && updmap; then + && $updmap; then : else rc=1 @@ -1155,7 +1168,7 @@ $formatsForHyphenFmt" *) shift 1 for i in "$@"; do - fmtutil --byfmt "$i" || rc=1 + $fmtutil --byfmt "$i" || rc=1 done ;; esac @@ -1209,13 +1222,10 @@ Valid PAPER settings: p=$2; pXdvi=$2; pDvips=$2 case $2 in - a4) - pDvips=A4size - ;; letter) - pDvips=letterSize - pXdvi=us - ;; + pXdvi=us;; + a4) + pXdvi=a4;; "") echo "$help" >&2; rc=1; return;; *) echo "$progname: unknown PAPER \`$2' given as argument for \`$progname paper'" >&2 @@ -1311,6 +1321,14 @@ Valid PAPER settings: rehash) mktexlsr ;; + + # + version|--version) + echo "$progname version $version" + setupTexmfmain + setupTexmfdist + showDistVersionInfo + (exit 0); exit 0;; # handle "xdvi paper PAPER" xdvi) diff --git a/Master/bin/powerpc-aix/texconfig b/Master/bin/powerpc-aix/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/powerpc-aix/texconfig +++ b/Master/bin/powerpc-aix/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@^@ @'` diff --git a/Master/bin/powerpc-linux/texconfig b/Master/bin/powerpc-linux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/powerpc-linux/texconfig +++ b/Master/bin/powerpc-linux/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@^@ @'` diff --git a/Master/bin/sparc-linux/texconfig b/Master/bin/sparc-linux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/sparc-linux/texconfig +++ b/Master/bin/sparc-linux/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@^@ @'` diff --git a/Master/bin/sparc-solaris/texconfig b/Master/bin/sparc-solaris/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/sparc-solaris/texconfig +++ b/Master/bin/sparc-solaris/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@^@ @'` diff --git a/Master/bin/universal-darwin/texconfig b/Master/bin/universal-darwin/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/universal-darwin/texconfig +++ b/Master/bin/universal-darwin/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@^@ @'` diff --git a/Master/bin/x86_64-linux/texconfig b/Master/bin/x86_64-linux/texconfig index b2129f8814a..4357d1b9b99 100755 --- a/Master/bin/x86_64-linux/texconfig +++ b/Master/bin/x86_64-linux/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@^@ @'` |