[tex-k] web2c-7.5.4, tetex-2.99.10-beta -- patches and problem

Peter Breitenlohner peb at mppmu.mpg.de
Wed Jan 26 10:30:58 CET 2005


Hi Olaf, Thomas,

I just looked at the recent web2c-7.5.4 and tetx-src-2.99.10 tarballs.

A. Patches
==========

First some patches

1. patch-21-uninstall

 	Before uninstalling kpathsea.info one should run
 	install-info --delete.

 	There is no such problem in texk/web2c/Makefile.in since
 	there is no uninstall target. Due to this fact the uninstall
 	target in the toplevel Makefile is actually broken (the attempt
 	to do "uninstall" in web2c will lead to an error).

2. patch-22-man

Just a minor typo

3. patch-23-pdfxtex

A syntax error (non-escaped newline) + wrong destination dir prevent
pdfxtex dumps from being installed.

4. patch-01-tetex-man

Several manpage typos

B. kpsetool
===========

I think teTeX's kpsetool and kpsetool.man are broken.

They both refer to "web2c's (new) kpsexpand binary"?

The Usage message and the code indicate that there could be a link
 	kpsetool -> kpsewhich
That would be quite fatal (recursion kpsewhich->kpsewhich)

C. TEXMFVAR and TEXMFCONFIG
===========================

I fully appreciate these are useful or even needed. BUT I think the present
setup isn't going to work well.

(a) There used to be HOMETEXMF (now renamed TEXMFHOME) in front of
TEXMF{LOCAL,MAIN,DIST}. This allows a user to have modified versions of some
files in TEXMFHOME that will be used instead of the std ones. That order has
now been changed; why?

(b) In the present setup TEXMFVAR=TEXMFCONFIG=TEXMFMAIN. This has several
consequences:

The search order is messed up.

There are duplicates in $TEXMF and consequently in $TEXMFDBS. Does this lead
to
  	duplicate search (slow down)?
 	duplicate rebuild of ls-R (just ugly)?
I haven't yet tested any of this.

(c) The tetexdoc document indicates (suggests?) that one could use
TEXMFVAR=TEXMFCONFIG=TEXMFHOME. There are again duplicates but the search
order would be different from case (b).

(d) The search order shouldn't be affected by choosing either (b) or (c). I
don't see a clear solution to that other than requiring that TEXMFVAR and
TEXMFCONFIG must be different from TEXMFHOME and from all components of
SYSTEXMF (although TEXMFVAR and TEXMFCONFIG could well be equal).

 		=====================

At the moment I would (in a multiuser environment) strongly argue for
something like
 	TEXMFVAR=$HOME/texmf-var
 	TEXMFCONFIG=$HOME/texmf-config
or
 	TEXMFVAR=TEXMFCONFIG=$HOME/texmf-config
plus MT_FEATURES=appendonlydir:varfonts in kpathsea/mktex.cnf such that
fonts (with sources in SYSTEXMF) are generated in e.g.,
/var/lib/texfonts, plus TEXMFHOME preceeding TEXMF{LOCAL,MAIN,DIST}.

With this setup a sysadmin would have to copy the modified config files and
generated formats (generated by him explicitly or as part of "make install")
to either TEXMFMAIN or TEXMFLOCAL such that they are available for everyone,
something I could certainly live with.

I'd like to stress again that the system trees must under no circumstances
shadow files in TEXMFHOME.

And there ought to be comments in texmf.cnf explaining the rationale of all
this.

regards
Peter Breitenlohner <peb at mppmu.mpg.de>
-------------- next part --------------
	Before uninstalling kpathsea.info one should run
	install-info --delete.

	There is no such problem in texk/web2c/Makefile.in since
	there is no uninstall target. Due to this fact the uninstall
	target in the toplevel Makefile is actually broken (the attempt
	to do "uninstall" in web2c will lead to an error).

diff -ur -N -x configure web2c-7.5.4.orig/texk/kpathsea/Makefile.in web2c-7.5.4/texk/kpathsea/Makefile.in
--- web2c-7.5.4.orig/texk/kpathsea/Makefile.in	2005-01-21 20:19:41.000000000 +0100
+++ web2c-7.5.4/texk/kpathsea/Makefile.in	2005-01-25 22:07:31.000000000 +0100
@@ -211,6 +211,11 @@
 	else true; fi
 
 uninstall-data:
+	$(PRE_UNINSTALL)
+	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+	  install-info --delete --info-dir=$(infodir) $(infodir)/kpathsea.info; \
+	else true; fi
+	$(NORMAL_UNINSTALL)
 	rm -f $(infodir)/kpathsea.i*
 #	for f in $(install_headers); do rm -f $(includedir)/`basename $$f`; done
 
diff -ur -N -x configure web2c-7.5.4.orig/texk/web2c/Makefile.in web2c-7.5.4/texk/web2c/Makefile.in
--- web2c-7.5.4.orig/texk/web2c/Makefile.in	2004-12-20 20:33:02.000000000 +0100
+++ web2c-7.5.4/texk/web2c/Makefile.in	2005-01-26 00:06:12.000000000 +0100
@@ -988,6 +988,8 @@
 	$(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 $(man1dir)/ctie.$(manext)
 	$(INSTALL_DATA) fmtutil.cnf $(web2cdir)/fmtutil.cnf
 
+uninstall uninstall-exec uninstall-data:
+
 # The distribution comes with up-to-date .info* files,
 # so this should never be used unless something goes wrong
 # with the unpacking, or you modify the manual.
-------------- next part --------------
diff -ur -N -x configure web2c-7.5.4.orig/texk/kpathsea/kpsereadlink.man web2c-7.5.4/texk/kpathsea/kpsereadlink.man
--- web2c-7.5.4.orig/texk/kpathsea/kpsereadlink.man	2005-01-17 10:03:39.000000000 +0100
+++ web2c-7.5.4/texk/kpathsea/kpsereadlink.man	2005-01-25 23:04:41.000000000 +0100
@@ -1,4 +1,4 @@
-.TH READLINK 1 "4 January 1998" "Kpathsea @VERSION@"
+.TH KPSEREADLINK 1 "4 January 1998" "Kpathsea @VERSION@"
 .\"=====================================================================
 .SH NAME
 kpsereadlink \- print contents of symbolic link
diff -ur -N -x configure web2c-7.5.4.orig/texk/web2c/ctiedir/ctie.1 web2c-7.5.4/texk/web2c/ctiedir/ctie.1
--- web2c-7.5.4.orig/texk/web2c/ctiedir/ctie.1	2005-01-21 10:51:39.000000000 +0100
+++ web2c-7.5.4/texk/web2c/ctiedir/ctie.1	2005-01-25 23:05:37.000000000 +0100
@@ -1,4 +1,4 @@
-.TH TIE 1 20/04/2003
+.TH CTIE 1 20/04/2003
 .SH NAME
 ctie \- merge or apply CWEB change files
 .SH SYNOPSIS
-------------- next part --------------
diff -ur -N -x configure web2c-7.5.4.orig/texk/web2c/pdfxtexdir/pdfxtex.mk web2c-7.5.4/texk/web2c/pdfxtexdir/pdfxtex.mk
--- web2c-7.5.4.orig/texk/web2c/pdfxtexdir/pdfxtex.mk	2004-12-19 14:21:28.000000000 +0100
+++ web2c-7.5.4/texk/web2c/pdfxtexdir/pdfxtex.mk	2005-01-25 23:26:29.000000000 +0100
@@ -80,6 +80,10 @@
 dumps: @PXTEX@ pdfxfmts
 pdfxfmts: $(all_pdfxfmts)
 
+pdfxfmtdir = $(web2cdir)/pdfxtex
+$(pdfxfmtdir)::
+	$(SHELL) $(top_srcdir)/../mkinstalldirs $(pdfxfmtdir)
+
 pdfxtex.fmt: pdfxtex
 	$(dumpenv) $(MAKE) progname=pdfxtex files="etex.src plain.tex cmr10.tfm" prereq-check
 	$(dumpenv) ./pdfxtex --progname=pdfxtex --jobname=pdfxtex --ini \*\\pdfoutput=1\\input etex.src \\dump </dev/null
@@ -110,10 +114,10 @@
 	#  $(LN) pdfxtex pdfxinitex; $(LN) pdfxtex pdfvirxtex)
 
 install-fmts: @PXTEX@ install-pdfxtex-fmts
-install-pdfxtex-fmts: pdfxfmts $(fmtdir)
-	pdfxfmts="$(all_pdfxfmts)";
-	  for f in $$pdfxfmts; do $(INSTALL_DATA) $$f $(fmtdir)/$$f; done
-	pdfxfmts="$(pdfxfmts)";
+install-pdfxtex-fmts: pdfxfmts $(pdfxfmtdir)
+	pdfxfmts="$(all_pdfxfmts)"; \
+	  for f in $$pdfxfmts; do $(INSTALL_DATA) $$f $(pdfxfmtdir)/$$f; done
+	pdfxfmts="$(pdfxfmts)"; \
 	  for f in $$pdfxfmts; do base=`basename $$f .fmt`; \
 	    (cd $(bindir) && (rm -f $$base; $(LN) pdfxtex $$base)); done
 
-------------- next part --------------
diff -ur tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allcm.man tetex-src-2.99.10.20050123-beta/texk/tetex/allcm.man
--- tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allcm.man	2005-01-20 23:16:21.000000000 +0100
+++ tetex-src-2.99.10.20050123-beta/texk/tetex/allcm.man	2005-01-26 09:16:29.000000000 +0100
@@ -2,7 +2,7 @@
 .SH NAME
 allcm \- force the most important Computer\-Modern\-fonts to be calculated
 .SH SYNOPSIS
-.B allcm
+.B allcm [\-r]
 .SH DESCRIPTION
 .I allcm
 forces a large number of Computer Modern Fonts to be calculated as pixel files.
@@ -11,12 +11,18 @@
 over a certain test-file. Therefore, the fonts are created in the resolution
 needed by dvips.
 
+If the \-r flag is specified, the command
+.IR dvired (1)
+will be used instead of dvips.
+
 .I allcm
 does not recalculate existing fonts (as long as the Metafont mode does not change).
 
 .SH "SEE ALSO"
 allec(1),
-allneeded(1).
+allneeded(1),
+dvips(1),
+dvired(1).
 
 .SH AUTHOR
 Thomas Esser <te at dbs.uni-hannover.de>
diff -ur tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allec.man tetex-src-2.99.10.20050123-beta/texk/tetex/allec.man
--- tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allec.man	2005-01-20 23:14:00.000000000 +0100
+++ tetex-src-2.99.10.20050123-beta/texk/tetex/allec.man	2005-01-26 09:16:30.000000000 +0100
@@ -1,8 +1,8 @@
-.TH alldc 1 "11/94" "teTeX" "teTeX"
+.TH allec 1 "11/94" "teTeX" "teTeX"
 .SH NAME
 allec \- force the most important ec\-fonts to be calculated
 .SH SYNOPSIS
-.B allec
+.B allec [\-r]
 .SH DESCRIPTION
 .I allec
 forces a large number of ec-style Fonts to be calculated as pixel files.
@@ -11,12 +11,18 @@
 over a certain test-file. Therefore, the fonts are created in the resolution
 needed by dvips.
 
-.I alldc
+If the \-r flag is specified, the command
+.IR dvired (1)
+will be used instead of dvips.
+
+.I allec
 does not recalculate existing fonts (as long as the Metafont mode does not change).
 
 .SH "SEE ALSO"
 allcm(1),
-allneeded(1).
+allneeded(1),
+dvips(1),
+dvired(1).
 
 .SH AUTHOR
 Thomas Esser <te at dbs.uni-hannover.de>
diff -ur tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allneeded.man tetex-src-2.99.10.20050123-beta/texk/tetex/allneeded.man
--- tetex-src-2.99.10.20050123-beta.orig/texk/tetex/allneeded.man	2005-01-20 23:17:32.000000000 +0100
+++ tetex-src-2.99.10.20050123-beta/texk/tetex/allneeded.man	2005-01-26 09:16:32.000000000 +0100
@@ -1,4 +1,4 @@
-.TH allcm 1 "11/94" "teTeX" "teTeX"
+.TH allneeded 1 "11/94" "teTeX" "teTeX"
 .SH NAME
 allneeded \- force the calculation of all fonts now needed
 .SH SYNOPSIS
@@ -21,7 +21,7 @@
 does not recalculate existing fonts (as long as the Metafont mode does not change).
 
 .SH "SEE ALSO"
-alldc(1),
+allec(1),
 allcm(1),
 dvips(1),
 dvired(1).
diff -ur tetex-src-2.99.10.20050123-beta.orig/texk/tetex/kpsewhere.man tetex-src-2.99.10.20050123-beta/texk/tetex/kpsewhere.man
--- tetex-src-2.99.10.20050123-beta.orig/texk/tetex/kpsewhere.man	2004-03-28 14:10:08.000000000 +0200
+++ tetex-src-2.99.10.20050123-beta/texk/tetex/kpsewhere.man	2005-01-26 09:07:22.000000000 +0100
@@ -1,7 +1,7 @@
 .TH "kpsewhere" "1" "March 2004" "teTeX" "teTeX" 
 .PP 
 .SH "NAME" 
-kpsewhere \- Expanding \fkpsewhich\fP to separately iterate over each
+kpsewhere \- Expanding \fBkpsewhich\fP to separately iterate over each
 texmf tree listed in $TEXMF.
 .PP 
 .SH "SYNOPSIS" 
diff -ur tetex-src-2.99.10.20050123-beta.orig/texk/tetex/texutil.man tetex-src-2.99.10.20050123-beta/texk/tetex/texutil.man
--- tetex-src-2.99.10.20050123-beta.orig/texk/tetex/texutil.man	2005-01-20 17:48:57.000000000 +0100
+++ tetex-src-2.99.10.20050123-beta/texk/tetex/texutil.man	2005-01-26 09:08:10.000000000 +0100
@@ -1,4 +1,4 @@
-.TH MAG 1 UMFT
+.TH TEXUTIL 1 UMFT
 .de EX
 .sp
 .in +5


More information about the tex-k mailing list