summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-08 16:57:09 +0000
committerKarl Berry <karl@freefriends.org>2007-10-08 16:57:09 +0000
commitf57244a3af3d7a59bb330ac772ec782b71184f19 (patch)
treee8f569e5133059639124dd92bababbd40c02c02f /Build
parent19a42d9cc5c26f46914f065ba66498541203c092 (diff)
move ctan2tds.pl and place to tlpkg/bin, logs to Build, remove rest
git-svn-id: svn://tug.org/texlive/trunk@5141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/cdbuild/Check27
-rwxr-xr-xBuild/cdbuild/Checktpm14
-rw-r--r--Build/cdbuild/LastMinute16
-rw-r--r--Build/cdbuild/README10
-rwxr-xr-xBuild/cdbuild/autoplace6
-rw-r--r--Build/cdbuild/binaries570
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl3117
-rw-r--r--Build/cdbuild/docstrip.cfg2
-rw-r--r--Build/cdbuild/dupl.pl76
-rw-r--r--Build/cdbuild/gind.ist126
-rwxr-xr-xBuild/cdbuild/grab16
-rwxr-xr-xBuild/cdbuild/grab-doc16
-rw-r--r--Build/cdbuild/listbysize1
-rw-r--r--Build/cdbuild/macmap4
-rwxr-xr-xBuild/cdbuild/make-package-sizes11
-rwxr-xr-xBuild/cdbuild/make-system-sizes15
-rwxr-xr-xBuild/cdbuild/makeimage13
-rwxr-xr-xBuild/cdbuild/place273
-rw-r--r--Build/cdbuild/refer.bst163
-rwxr-xr-xBuild/cdbuild/rmpackage7
-rw-r--r--Build/cdbuild/scheme2list.xsl100
-rw-r--r--Build/cdbuild/share2bin60
-rw-r--r--Build/cdbuild/sizes6
-rw-r--r--Build/cdbuild/summary.pl10
-rwxr-xr-xBuild/cdbuild/tar2find.pl25
-rw-r--r--Build/cdbuild/tpm2/Makefile99
-rw-r--r--Build/cdbuild/tpm2/TODO2
-rw-r--r--Build/cdbuild/tpm2/cat1464
-rw-r--r--Build/cdbuild/tpm2/cat.only493
-rw-r--r--Build/cdbuild/tpm2/cat.styles57
-rw-r--r--Build/cdbuild/tpm2/cats.xmlcat1175
-rw-r--r--Build/cdbuild/tpm2/taxonomy5
-rw-r--r--Build/cdbuild/tpm2/tl.only223
-rw-r--r--Build/cdbuild/tpm2/tpm2.dtd113
-rw-r--r--Build/cdbuild/tpm2/tpm2.rng404
-rw-r--r--Build/cdbuild/tpm2/tpm2xml.xsl835
-rw-r--r--Build/cdbuild/tpm2/xml2xml.xsl698
-rw-r--r--Build/cdbuild/tpm2files.xsl48
-rw-r--r--Build/cdbuild/tpm2list.xsl76
-rw-r--r--Build/cdbuild/tpm2tpm.xsl48
-rw-r--r--Build/cdbuild/tpm2xml.xsl33
-rw-r--r--Build/cdbuild/updatetpm.xsl102
-rw-r--r--Build/cdbuild/vpm2vlist.xsl91
-rwxr-xr-xBuild/cdbuild/zap-empty-dirs67
-rw-r--r--Build/cdbuild/zapempty2
-rw-r--r--Build/logs/log.0500.gz (renamed from Build/cdbuild/logs/log.0500.gz)bin481566 -> 481566 bytes
-rw-r--r--Build/logs/log.1000.gz (renamed from Build/cdbuild/logs/log.1000.gz)bin417004 -> 417004 bytes
-rw-r--r--Build/logs/log.1500.gz (renamed from Build/cdbuild/logs/log.1500.gz)bin330103 -> 330103 bytes
-rw-r--r--Build/logs/log.2000.gz (renamed from Build/cdbuild/logs/log.2000.gz)bin314750 -> 314750 bytes
-rw-r--r--Build/logs/log.2500.gz (renamed from Build/cdbuild/logs/log.2500.gz)bin225300 -> 225300 bytes
-rw-r--r--Build/logs/log.3000.gz (renamed from Build/cdbuild/logs/log.3000.gz)bin404589 -> 404589 bytes
-rw-r--r--Build/logs/log.3500.gz (renamed from Build/cdbuild/logs/log.3500.gz)bin328620 -> 328620 bytes
-rw-r--r--Build/logs/log.4000.gz (renamed from Build/cdbuild/logs/log.4000.gz)bin211249 -> 211249 bytes
-rw-r--r--Build/logs/log.4500.gz (renamed from Build/cdbuild/logs/log.4500.gz)bin843734 -> 843734 bytes
-rw-r--r--Build/logs/log.5000.gz (renamed from Build/cdbuild/logs/log.5000.gz)bin285435 -> 285435 bytes
-rw-r--r--Build/logs/log.5496.gz (renamed from Build/cdbuild/logs/log.5496.gz)bin145911 -> 145911 bytes
-rw-r--r--Build/logs/log.5996.gz (renamed from Build/cdbuild/logs/log.5996.gz)bin134967 -> 134967 bytes
-rw-r--r--Build/logs/log.6116.gz (renamed from Build/cdbuild/logs/log.6116.gz)bin57058 -> 57058 bytes
-rw-r--r--Build/logs/log.6350.gz (renamed from Build/cdbuild/logs/log.6350.gz)bin60963 -> 60963 bytes
-rw-r--r--Build/logs/log.6498.gz (renamed from Build/cdbuild/logs/log.6498.gz)bin44974 -> 44974 bytes
-rw-r--r--Build/logs/log.6935.gz (renamed from Build/cdbuild/logs/log.6935.gz)bin139867 -> 139867 bytes
-rw-r--r--Build/logs/log.6982.gz (renamed from Build/cdbuild/logs/log.6982.gz)bin6341 -> 6341 bytes
-rw-r--r--Build/logs/log.7499.gz (renamed from Build/cdbuild/logs/log.7499.gz)bin79783 -> 79783 bytes
-rw-r--r--Build/logs/log.7995.gz (renamed from Build/cdbuild/logs/log.7995.gz)bin202096 -> 202096 bytes
-rw-r--r--Build/logs/log.8429.gz (renamed from Build/cdbuild/logs/log.8429.gz)bin143283 -> 143283 bytes
-rw-r--r--Build/logs/log.8499.gz (renamed from Build/cdbuild/logs/log.8499.gz)bin159850 -> 159850 bytes
-rw-r--r--Build/logs/log.8624.gz (renamed from Build/cdbuild/logs/log.8624.gz)bin41034 -> 41034 bytes
-rw-r--r--Build/logs/svnlog (renamed from Build/cdbuild/logs/svnlog)0
-rw-r--r--Build/logs/svnlog.1000.gz (renamed from Build/cdbuild/logs/svnlog.1000.gz)bin268438 -> 268438 bytes
-rw-r--r--Build/logs/svnlog.1999.gz (renamed from Build/cdbuild/logs/svnlog.1999.gz)bin166805 -> 166805 bytes
-rw-r--r--Build/logs/svnlog.2988.gz (renamed from Build/cdbuild/logs/svnlog.2988.gz)bin156740 -> 156740 bytes
-rw-r--r--Build/logs/svnlog.3996.gz (renamed from Build/cdbuild/logs/svnlog.3996.gz)bin137069 -> 137069 bytes
-rw-r--r--Build/logs/svnlog.4990.gz (renamed from Build/cdbuild/logs/svnlog.4990.gz)bin147071 -> 147071 bytes
73 files changed, 0 insertions, 10719 deletions
diff --git a/Build/cdbuild/Check b/Build/cdbuild/Check
deleted file mode 100644
index ed4bee39608..00000000000
--- a/Build/cdbuild/Check
+++ /dev/null
@@ -1,27 +0,0 @@
-rm files.*
-R=/texlive/Master
-:>files.lists.x
-for i in `find $R/texmf/lists -type f `
-do
- grep -v "^/" $i | awk '{print $1}' >> files.lists.x
-done
-sort < files.lists.x | uniq | awk '{print $1}' | sed '/^$/d' > files.lists
-sort < files.lists.x | awk '{print $1}' | sed '/^$/d' > files.lists.all
-diff files.lists files.lists.all | grep ">" > files.lists.dupl
-rm files.lists.x
-P=`pwd`
-(cd $R; find texmf -type f >> $P/files.find.x)
-(cd $R; find texmf-doc -type l >> $P/files.find.x)
-(cd $R; find texmf-doc -type f >> $P/files.find.x)
-(cd $R; find texmf-dist -type l >> $P/files.find.x)
-(cd $R; find texmf-dist -type f >> $P/files.find.x)
-(cd $R; find bin -type l >> $P/files.find.x)
-(cd $R; find bin -type f >> $P/files.find.x)
-(cd $R; find info -type f >> $P/files.find.x)
-(cd $R; find readme.html >> $P/files.find.x)
-(cd $R; find man -type l >> $P/files.find.x)
-(cd $R; find man -type f >> $P/files.find.x)
-sort < files.find.x > files.find
-rm files.find.x
-comm -23 files.find files.lists > files.find.only
-comm -13 files.find files.lists > files.lists.only
diff --git a/Build/cdbuild/Checktpm b/Build/cdbuild/Checktpm
deleted file mode 100755
index 6a4e6231be5..00000000000
--- a/Build/cdbuild/Checktpm
+++ /dev/null
@@ -1,14 +0,0 @@
-cd /texlive/Master/texmf-dist/tpm
-for i in *.tpm
-do
- F=`basename $i .tpm`
- X=`kpsewhich -format='TeX system documentation' $F.xml`
- if test -z "$X"; then
- echo PANIC $F
- else
- xt $F.tpm /texlive/Build/cdbuild/tpm2tpm.xsl $$.xml
- p4 edit $F.tpm
- cat $$.xml > $F.tpm
- rm $$.xml
- fi
-done
diff --git a/Build/cdbuild/LastMinute b/Build/cdbuild/LastMinute
deleted file mode 100644
index b4ff850159e..00000000000
--- a/Build/cdbuild/LastMinute
+++ /dev/null
@@ -1,16 +0,0 @@
-jadetex
-hyperref
-psnfss
-psfonts
-latex2html
-texinfo.tex
-CMaCTeX
-winedt
-GhostScript
-AUCTeX
-
-fixlinks
-all of tldoc
-systems.sizes and packages.sizes > install
-lwc examples
-g \ No newline at end of file
diff --git a/Build/cdbuild/README b/Build/cdbuild/README
deleted file mode 100644
index 0686c7c16eb..00000000000
--- a/Build/cdbuild/README
+++ /dev/null
@@ -1,10 +0,0 @@
-$Id$
-Copyright (C) 2004, 2006 TeX Users Group.
-You may freely use, modify and/or distribute this file.
-(Originally written in 2004 by Karl Berry.)
-
-These are the scripts for updating packages from CTAN into TeX Live,
-mainly written by Sebastian Rahtz.
-
-See ../tools/README, and the ctan2tl and tpm-ctan-check scripts there,
-and most of all http://tug.org/texlive/pkgupdate.html.
diff --git a/Build/cdbuild/autoplace b/Build/cdbuild/autoplace
deleted file mode 100755
index 76d56f477cb..00000000000
--- a/Build/cdbuild/autoplace
+++ /dev/null
@@ -1,6 +0,0 @@
-for i in *
- do
- echo ../place $i
- echo rm -rf $i.done
-done
-
diff --git a/Build/cdbuild/binaries b/Build/cdbuild/binaries
deleted file mode 100644
index 6a1fe1f3c4a..00000000000
--- a/Build/cdbuild/binaries
+++ /dev/null
@@ -1,570 +0,0 @@
-#! /bin/perl
-# make TPM files for binaries
-# SPQR 2000/02/04
-use English;
-use File::Basename;
-use File::Find;
-use Cwd;
-
-
-$Master="/texlive/Master";
-$Coll{"pdfthumb"}="ppower4";
-$Coll{"ppower4"}="ppower4";
-$Coll{"ChkTeX"} ="tex-extrabin";
-$Coll{"LATEX2E"} ="tex-latex";
-$Coll{"MSVCR70"}="tex-basic";
-$Coll{"MakeTeXPK"} ="tex-basic";
-$Coll{"TEXSHELL"}="tex-basic";
-$Coll{"TeXLive"}="tex-basic";
-$Coll{"TeXSetup"} ="tex-basic";
-$Coll{"TeXShell"}="tex-basic";
-$Coll{"TeXShell"}="tex-basic";
-$Coll{"TeXShell"}="tex-basic";
-$Coll{"VisualPng"}="tex-basic";
-$Coll{"a5bookle"} ="tex-extrabin";
-$Coll{"access"} ="tex-basic";
-$Coll{"afm2tfm"} ="tex-fontbin";
-$Coll{"allcm"} ="tex-fontbin";
-$Coll{"allec"} ="tex-fontbin";
-$Coll{"allneeded"} ="tex-fontbin";
-$Coll{"altpdfamstex"}="tex-basic";
-$Coll{"altpdfcont-de"}="context";
-$Coll{"altpdfcont-en"}="context";
-$Coll{"altpdfcont-nl"}="context";
-$Coll{"altpdfcontext"}="context";
-$Coll{"altpdfelatex"}="tex-pdftex";
-$Coll{"altpdfetex"}="tex-pdftex";
-$Coll{"altpdflambda"}="tex-omega";
-$Coll{"altpdflatex"}="tex-pdftex";
-$Coll{"altpdfomega"}="tex-omega";
-$Coll{"altpdftex"}="tex-pdftex";
-$Coll{"amstex"} ="amstex";
-$Coll{"bamstex"}="tex-basic";
-$Coll{"bg5+latex"} ="cjk";
-$Coll{"bg5conv"} ="cjk";
-$Coll{"bg5latex"} ="cjk";
-$Coll{"bg5pltx"} ="cjk";
-$Coll{"bibtex"} ="tex-basic";
-$Coll{"bibtex8"} ="bibtex8bit";
-$Coll{"bmeps"}="tex-basic";
-$Coll{"bplain"}="tex-basic";
-$Coll{"buildhash"} ="tex-basic";
-$Coll{"bz2lib"} ="bzip2";
-$Coll{"bzip2"} ="bzip2";
-$Coll{"bzip2recover"} ="bzip2";
-$Coll{"cef5conv"} ="cjk";
-$Coll{"cef5latex"} ="cjk";
-$Coll{"cef5ltx"} ="cjk";
-$Coll{"cefconv"} ="cjk";
-$Coll{"ceflatex"} ="cjk";
-$Coll{"cefsconv"} ="cjk";
-$Coll{"cefslatex"} ="cjk";
-$Coll{"cefsltx"} ="cjk";
-$Coll{"cjklatex"} ="cjk";
-$Coll{"cjpeg"} ="tex-basic";
-$Coll{"cont-cz"}="context";
-$Coll{"cont-de"} ="context";
-$Coll{"cont-en"} ="context";
-$Coll{"cont-nl"} ="context";
-$Coll{"cont-uk"}="context";
-$Coll{"context"}="context";
-$Coll{"cslatex"} ="cslatex";
-$Coll{"cslatexd"} ="cslatex";
-$Coll{"cslatexi"} ="cslatex";
-$Coll{"cslatexk"} ="cslatex";
-$Coll{"csplain"} ="csplain";
-$Coll{"csplaind"} ="csplain";
-$Coll{"csplaini"} ="csplain";
-$Coll{"csplaink"} ="csplain";
-$Coll{"ctangle"}="tex-basic";
-$Coll{"ctangle"}="tex-basic";
-$Coll{"curl"}="tex-basic";
-$Coll{"cweave"}="tex-extrabin";
-$Coll{"cyramstex"}="tex-langcyrillic";
-$Coll{"cyrlatex"}="tex-langcyrillic";
-$Coll{"cyrtex"}="tex-langcyrillic";
-$Coll{"cyrtexinfo"}="tex-langcyrillic";
-$Coll{"detex"}="tex-basic";
-$Coll{"devnag"}="tex-langindic";
-$Coll{"dialog"} ="tex-basic";
-$Coll{"disdvi"} ="tex-basic";
-$Coll{"djpeg"} ="tex-basic";
-$Coll{"dmp"} ="tex-extrabin";
-$Coll{"doubside"} ="tex-basic";
-$Coll{"dt2dv"} ="tex-extrabin";
-$Coll{"dv2dt"} ="tex-extrabin";
-$Coll{"dvi2fax"} ="tex-basic";
-$Coll{"dvi2tty"} ="tex-basic";
-$Coll{"dvibook"} ="tex-extrabin";
-$Coll{"dviconcat"} ="tex-extrabin";
-$Coll{"dvicopy"} ="tex-basic";
-$Coll{"dvidvi"} ="tex-extrabin";
-$Coll{"dvihp"} ="tex-basic";
-$Coll{"dvilj"} ="tex-basic";
-$Coll{"dvilj2p"} ="tex-basic";
-$Coll{"dvilj4"} ="tex-basic";
-$Coll{"dvilj4l"} ="tex-basic";
-$Coll{"dvilj6"} ="tex-basic";
-$Coll{"dvipdft"} ="dvipdfm";
-$Coll{"dvipdfm"} ="dvipdfm";
-$Coll{"dvips"} ="dvips";
-$Coll{"dvired"} ="tex-basic";
-$Coll{"dviselect"} ="tex-extrabin";
-$Coll{"dvitodvi"} ="tex-extrabin";
-$Coll{"dvitomp"} ="metapost";
-$Coll{"dvitype"} ="tex-extrabin";
-$Coll{"e2pall"} ="tex-pdftex";
-$Coll{"ebb"} ="dvipdfm";
-$Coll{"einitex"} ="tex-etex";
-$Coll{"elatex"} ="tex-etex";
-$Coll{"eomega"}="tex-omega";
-$Coll{"eplain"} ="eplain";
-$Coll{"epsffit"} ="psutils";
-$Coll{"epstopdf"} ="tex-pdftex";
-$Coll{"etex"} ="tex-etex";
-$Coll{"evirtex"} ="tex-etex";
-$Coll{"exp-macr"} ="tex-basic";
-$Coll{"expat"}="tex-basic";
-$Coll{"extconv"} ="cjk";
-$Coll{"extractres"} ="psutils";
-$Coll{"f_name"} ="tex-extrabin";
-$Coll{"fdf2tan"}="tex-basic";
-$Coll{"fixdlsrps"} ="psutils";
-$Coll{"fixfmps"} ="psutils";
-$Coll{"fixmacps"} ="psutils";
-$Coll{"fixpsditps"} ="psutils";
-$Coll{"fixpspps"} ="psutils";
-$Coll{"fixscribeps"} ="psutils";
-$Coll{"fixtpps"} ="psutils";
-$Coll{"fixwfwps"} ="psutils";
-$Coll{"fixwpps"} ="psutils";
-$Coll{"fixwwps"} ="psutils";
-$Coll{"fmtutil"} ="tex-basic";
-$Coll{"fontexport"} ="tex-fontbin";
-$Coll{"fontimport"} ="tex-fontbin";
-$Coll{"fontinst"} ="tex-fontbin";
-$Coll{"freetype"}="tex-basic";
-$Coll{"frlatex"} ="tex-langfrench";
-$Coll{"frpdflatex"}="tex-basic";
-$Coll{"frpdftex"}="tex-basic";
-$Coll{"frtex"} ="tex-langfrench";
-$Coll{"gbklatex"} ="cjk";
-$Coll{"getafm"} ="tex-fontbin";
-$Coll{"geturl"} ="tex-basic";
-$Coll{"gftodvi"} ="tex-fontbin";
-$Coll{"gftopk"} ="tex-basic";
-$Coll{"gftype"} ="tex-fontbin";
-$Coll{"giftopng"} ="xmltex";
-$Coll{"gnuclient"} ="tex-basic";
-$Coll{"gnuclientw"} ="tex-basic";
-$Coll{"gnudoit"} ="tex-basic";
-$Coll{"gsftopk"} ="tex-basic";
-$Coll{"gunzip"} ="tex-basic";
-$Coll{"gzip"} ="tex-basic";
-$Coll{"hbf2gf"} ="cjk";
-$Coll{"ht"} ="tex4ht";
-$Coll{"htlatex"} ="tex4ht";
-$Coll{"mk4ht"} ="tex4ht";
-$Coll{"httex"} ="tex4ht";
-$Coll{"httexi"} ="tex4ht";
-$Coll{"hugelatex"} ="tex-latex";
-$Coll{"hugetex"} ="tex-basic";
-$Coll{"icombine"} ="tex-basic";
-$Coll{"ijoin"} ="tex-basic";
-$Coll{"includeres"} ="psutils";
-$Coll{"info"} ="texinfo";
-$Coll{"infokey"}="texinfo";
-$Coll{"inimf"} ="tex-basic";
-$Coll{"inimpost"} ="metapost";
-$Coll{"iniomega"} ="tex-omega";
-$Coll{"inipdftex"} ="tex-pdftex";
-$Coll{"initex"} ="tex-basic";
-$Coll{"install-info"} ="texinfo";
-$Coll{"ispell"} ="tex-extrabin";
-$Coll{"itrans"}="tex-langindic";
-$Coll{"jadetex"} ="jadetex";
-$Coll{"jpeg2ps"} ="tex-basic";
-$Coll{"jpegtran"} ="tex-basic";
-$Coll{"kpathsea"} ="tex-basic";
-$Coll{"kpathsea.lib"}="tex-basic";
-$Coll{"kpsecheck"}="tex-basic";
-$Coll{"kpsepath"} ="tex-basic";
-$Coll{"kpsestat"} ="tex-basic";
-$Coll{"kpsetool"} ="tex-basic";
-$Coll{"kpsewhich"} ="tex-basic";
-$Coll{"kpsexpand"} ="tex-basic";
-$Coll{"lacheck"} ="tex-extrabin";
-$Coll{"lambda"} ="tex-omega";
-$Coll{"latex"} ="tex-latex";
-$Coll{"latex2html"}="tex-basic";
-$Coll{"libcurl"}="tex-basic";
-$Coll{"libgifreader"} ="tex-basic";
-$Coll{"libjpeg"} ="tex-basic";
-$Coll{"libmktex"}="tex-basic";
-$Coll{"libpng"} ="tex-basic";
-$Coll{"libtiff"} ="tex-basic";
-$Coll{"libttf"} ="tex-ttfutils";
-$Coll{"libwww"}="tex-basic";
-$Coll{"lnexe"} ="tex-basic";
-$Coll{"ltx2rtf"} ="tex-extrabin";
-$Coll{"mag"} ="tex-extrabin";
-$Coll{"makeindex"} ="tex-basic";
-$Coll{"makeinfo"} ="tex-basic";
-$Coll{"makempx"} ="tex-basic";
-$Coll{"makempy"}="tex-basic";
-$Coll{"metafun"}="metapost";
-$Coll{"mex"} ="mex";
-$Coll{"mex-pl"}="tex-langpolish";
-$Coll{"mf"} ="tex-basic";
-$Coll{"mf-nowin"}="tex-basic";
-$Coll{"mft"} ="tex-fontbin";
-$Coll{"mfw"} ="tex-basic";
-$Coll{"mkfontdesc"} ="tex-basic";
-$Coll{"mkindex"} ="tex-basic";
-$Coll{"mkocp"} ="tex-omega";
-$Coll{"mkofm"} ="tex-omega";
-$Coll{"mktex"} ="tex-basic";
-$Coll{"mktexdir"} ="tex-basic";
-$Coll{"mktexfmt"}="tex-basic";
-$Coll{"mktexlsr"} ="tex-basic";
-$Coll{"mktexmf"} ="tex-basic";
-$Coll{"mktexnam"} ="tex-basic";
-$Coll{"mktexpk"} ="tex-basic";
-$Coll{"mktextex"}="tex-basic";
-$Coll{"mktextfm"} ="tex-basic";
-$Coll{"mktexupd"} ="tex-basic";
-$Coll{"mllatex"} ="mltex";
-$Coll{"mltex"} ="mltex";
-$Coll{"mmafm"}="tex-fontbin";
-$Coll{"mmpfb"}="tex-fontbin";
-$Coll{"mpost"} ="metapost";
-$Coll{"mpto"} ="metapost";
-$Coll{"mptopdf"}="tex-basic";
-$Coll{"musixflx"} ="musixtex";
-$Coll{"newer"} ="tex-basic";
-$Coll{"nts"}="ntsbase";
-$Coll{"odvicopy"} ="tex-omega";
-$Coll{"odvips"} ="tex-omega";
-$Coll{"odvitype"} ="tex-omega";
-$Coll{"ofm2opl"} ="tex-omega";
-$Coll{"omega"} ="tex-omega";
-$Coll{"omfonts"} ="tex-omega";
-$Coll{"opl2ofm"} ="tex-omega";
-$Coll{"otangle"} ="tex-omega";
-$Coll{"otp2ocp"} ="tex-omega";
-$Coll{"outocp"} ="tex-omega";
-$Coll{"ovf2ovp"} ="tex-omega";
-$Coll{"ovp2ovf"} ="tex-omega";
-$Coll{"owindvi"} ="tex-omega";
-$Coll{"oxdvi"} ="tex-omega";
-$Coll{"patgen"} ="tex-extrabin";
-$Coll{"pdf2src"} ="tex-pdftex";
-$Coll{"pdfclose"} ="tex-extrabin";
-$Coll{"pdfclose"} ="tex-pdftex";
-$Coll{"pdfcslatex"} ="cslatex";
-$Coll{"pdfcslatexd"} ="cslatex";
-$Coll{"pdfcslatexi"} ="cslatex";
-$Coll{"pdfcslatexk"} ="cslatex";
-$Coll{"pdfcsplain"} ="csplain";
-$Coll{"pdfcsplaind"} ="csplain";
-$Coll{"pdfcsplaini"} ="csplain";
-$Coll{"pdfcsplaink"} ="csplain";
-$Coll{"pdfdde"} ="tex-extrabin";
-$Coll{"pdfeinitex"} ="tex-etex";
-$Coll{"pdfelatex"} ="tex-etex";
-$Coll{"pdfemex"}="tex-langpolish";
-$Coll{"pdfemex-pl"}="tex-langpolish";
-$Coll{"pdfetex"} ="tex-etex";
-$Coll{"pdfevirtex"} ="tex-etex";
-$Coll{"virpdfetex"} ="tex-etex";
-$Coll{"inipdfetex"} ="tex-etex";
-$Coll{"pdffonts"}="tex-basic";
-$Coll{"olatex"}="tex-basic";
-$Coll{"pdfimages"} ="tex-pdftex";
-$Coll{"pdfinfo"} ="tex-pdftex";
-$Coll{"pdfinitex"} ="tex-pdftex";
-$Coll{"pdfjadetex"} ="jadetex";
-$Coll{"pdflatex"} ="tex-pdftex";
-$Coll{"pdfmex"} ="mex";
-$Coll{"pdfmex-pl"}="tex-langpolish";
-$Coll{"pdfopen"} ="tex-extrabin";
-$Coll{"pdfplatex"} ="platex";
-$Coll{"pdfplatex-pl"}="tex-langpolish";
-$Coll{"pdftex"} ="tex-pdftex";
-$Coll{"pdftexinfo"} ="texinfo";
-$Coll{"pdftops"} ="tex-pdftex";
-$Coll{"pdftosrc"} ="tex-pdftex";
-$Coll{"pdftotext"} ="tex-pdftex";
-$Coll{"pdfvirtex"} ="tex-pdftex";
-$Coll{"pdfxmltex"} ="xmltex";
-$Coll{"perl56"}="tex-basic";
-$Coll{"pfb2pfa"} ="t1utils";
-$Coll{"physe"} ="physe";
-$Coll{"phyzzx"} ="phyzzx";
-$Coll{"pk2bm"} ="tex-fontbin";
-$Coll{"pkfix"} ="dvips";
-$Coll{"pktogf"} ="tex-fontbin";
-$Coll{"pktype"} ="tex-fontbin";
-$Coll{"platex"} ="platex";
-$Coll{"platex-pl"}="tex-langpolish";
-$Coll{"pltotf"} ="tex-fontbin";
-$Coll{"png2pnm"} ="tex-extrabin";
-$Coll{"pnm2png"} ="tex-extrabin";
-$Coll{"pooltype"} ="tex-extrabin";
-$Coll{"ps2frag"} ="tex-extrabin";
-$Coll{"ps2pk"} ="tex-fontbin";
-$Coll{"psbook"} ="psutils";
-$Coll{"pslatex"} ="tex-latex";
-$Coll{"psmerge"} ="psutils";
-$Coll{"psnup"} ="psutils";
-$Coll{"psresize"} ="psutils";
-$Coll{"psselect"} ="psutils";
-$Coll{"pstoimg"}="tex-basic";
-$Coll{"pstops"} ="psutils";
-$Coll{"rdjpgcom"} ="tex-basic";
-$Coll{"readlink"} ="tex-basic";
-$Coll{"regex"} ="tex-basic";
-$Coll{"rpng"} ="tex-extrabin";
-$Coll{"rpng2"} ="tex-extrabin";
-$Coll{"rubibtex"} ="cyrillic";
-$Coll{"rumakeindex"} ="cyrillic";
-$Coll{"runht"} ="tex4ht";
-$Coll{"runperl"} ="tex-extrabin";
-$Coll{"settcshtexpath"}="tex-basic";
-$Coll{"settexpath"}="tex-basic";
-$Coll{"showchar"} ="tex-extrabin";
-$Coll{"sjisconv"} ="cjk";
-$Coll{"sjislatex"} ="cjk";
-$Coll{"sjisltx"} ="cjk";
-$Coll{"sq"} ="tex-basic";
-$Coll{"t1ascii"} ="t1utils";
-$Coll{"t1asm"} ="t1utils";
-$Coll{"t1binary"} ="t1utils";
-$Coll{"t1disasm"} ="t1utils";
-$Coll{"t1mac"} ="t1utils";
-$Coll{"t1mapper"}="tex-basic";
-$Coll{"t1unmac"} ="t1utils";
-$Coll{"t4ht"} ="tex4ht";
-$Coll{"tangle"} ="tex-extrabin";
-$Coll{"tcdialog"}="tex-basic";
-$Coll{"tex"} ="tex-basic";
-$Coll{"tex4ht"} ="tex4ht";
-$Coll{"texconfig"} ="tex-basic";
-$Coll{"texdoc"} ="tex-basic";
-$Coll{"texdoctk"} ="tex-basic";
-$Coll{"texexec"} ="tex-basic";
-$Coll{"texexpand"}="tex-basic";
-$Coll{"texfind"}="tex-basic";
-$Coll{"texfont"}="tex-basic";
-$Coll{"texhash"} ="tex-basic";
-$Coll{"texi2dvi"} ="texinfo";
-$Coll{"texi2html"} ="texinfo";
-$Coll{"texi2pdf"} ="texinfo";
-$Coll{"texindex"} ="texinfo";
-$Coll{"texinfo"} ="texinfo";
-$Coll{"texlinks"} ="tex-basic";
-$Coll{"texshow"} ="tex-basic";
-$Coll{"texsis"} ="texsis";
-$Coll{"text1"} ="text1";
-$Coll{"texutil"} ="tex-basic";
-$Coll{"tftopl"} ="tex-fontbin";
-$Coll{"thaiconv"} ="cjk";
-$Coll{"thumbpdf"} ="thumbpdf";
-$Coll{"tie"} ="tex-extrabin";
-$Coll{"tiff2png"} ="tex-pictures";
-$Coll{"tl79bz2"}="tex-basic";
-$Coll{"tl79etex"}="tex-etex";
-$Coll{"tl79ft2"}="tex-basic";
-$Coll{"tl79getu"}="tex-basic";
-$Coll{"tl79geturl"}="tex-basic";
-$Coll{"tl79jpeg"}="tex-basic";
-$Coll{"tl79kpse"}="tex-basic";
-$Coll{"tl79kpse.lib"}="tex-basic";
-$Coll{"tl79mf"}="tex-basic";
-$Coll{"tl79mktx"}="tex-basic";
-$Coll{"tl79mp"}="tex-basic";
-$Coll{"tl79omeg"}="tex-omega";
-$Coll{"tl79pdfe"}="tex-pdftex";
-$Coll{"tl79pdft"}="tex-pdftex";
-$Coll{"tl79png"}="tex-basic";
-$Coll{"tl79regex"}="tex-basic";
-$Coll{"tl79regx"}="tex-basic";
-$Coll{"tl79tex"}="tex-basic";
-$Coll{"tl79ttf"}="tex-basic";
-$Coll{"tl79unzp"}="tex-basic";
-$Coll{"tl79xpat"}="tex-basic";
-$Coll{"tl79zlib"}="tex-basic";
-$Coll{"tl80bmeps"}="tex-basic";
-$Coll{"tl80bz2"}="tex-basic";
-$Coll{"tl80bzip2"}="tex-basic";
-$Coll{"tl80eomega"}="tex-omega";
-$Coll{"tl80etex"}="tex-etex";
-$Coll{"tl80expat"}="tex-basic";
-$Coll{"tl80ft2"}="tex-basic";
-$Coll{"tl80getu"}="tex-basic";
-$Coll{"vireomega"}="tex-omega";
-$Coll{"inieomega"}="tex-omega";
-$Coll{"tl80geturl"}="tex-basic";
-$Coll{"tl80jpeg"}="tex-basic";
-$Coll{"tl80kpse"}="tex-basic";
-$Coll{"tl80kpse.lib"}="tex-basic";
-$Coll{"tl80mf"}="tex-basic";
-$Coll{"tl80mktex"}="tex-basic";
-$Coll{"tl80mktx"}="tex-basic";
-$Coll{"tl80mpost"}="metapost";
-$Coll{"tl80omega"}="tex-omega";
-$Coll{"tl80pdfetex"}="tex-pdftex";
-$Coll{"tl80pdftex"}="tex-pdftex";
-$Coll{"tl80png"}="tex-basic";
-$Coll{"tl80regex"}="tex-basic";
-$Coll{"tl80regx"}="tex-basic";
-$Coll{"tl80tex"}="tex-basic";
-$Coll{"tl80ttf"}="tex-basic";
-$Coll{"tl80unzip"}="tex-basic";
-$Coll{"tl80unzp"}="tex-basic";
-$Coll{"tl80xpat"}="tex-basic";
-$Coll{"tl80zlib"}="tex-basic";
-$Coll{"ttf2afm"} ="tex-ttfutils";
-$Coll{"ttf2pfb"} ="tex-ttfutils";
-$Coll{"ttf2pk"} ="ttf2pk";
-$Coll{"ttf2pt1"}="tex-ttfutils";
-$Coll{"ttf2tex"}="tex-ttfutils";
-$Coll{"ttf2tfm"} ="tex-ttfutils";
-$Coll{"ttfdump"} ="tex-ttfutils";
-$Coll{"unsq"} ="tex-basic";
-$Coll{"unzip"}="tex-langpolish";
-$Coll{"updmap"}="tex-basic";
-$Coll{"vftovp"} ="tex-fontbin";
-$Coll{"virmf"} ="tex-basic";
-$Coll{"virmpost"} ="metapost";
-$Coll{"viromega"} ="tex-omega";
-$Coll{"virpdftex"} ="tex-pdftex";
-$Coll{"virtex"} ="tex-basic";
-$Coll{"vlna"}="tex-langczechslovak";
-$Coll{"vptovf"} ="tex-fontbin";
-$Coll{"weave"} ="tex-extrabin";
-$Coll{"windvi"} ="tex-basic";
-$Coll{"wpng"} ="tex-extrabin";
-$Coll{"wrjpgcom"} ="tex-basic";
-$Coll{"xdvi"} ="tex-basic";
-$Coll{"xdvizilla"}="tex-basic";
-$Coll{"xmltex"} ="xmltex";
-$Coll{"zlib"} ="tex-basic";
-
-foreach (sort keys %Coll) {
- $X=$Coll{$_};
- $G{$X}=1;
-}
-foreach (sort keys %G) {
- open(BAR,">list.$_");
- print BAR "<bin>\n";
- close BAR;
-}
-
-
-opendir(DIR,"$Master/bin");
-@dirs =grep(!/^\.\.?/,readdir(DIR));
-foreach (@dirs) { &processdir($_); }
-closedir(DIR);
-
-foreach (sort keys %G) {
- open(BAR,">>list.$_");
- print BAR "</bin>\n";
- close BAR;
-}
-
-
-
-
-sub processdir {
- local($D) = @_;
- local @Groups, $Sizes;
-# chdir("$Master/bin/$D") || die "cannot open $Master/bin/$D";
- opendir(DIR,"$Master/bin/$D");
- @files =grep(!/^\.\.?/,readdir(DIR));
- closedir(DIR);
- $N=0;
- foreach (sort keys %Groups) {
- $Groups{$_}="";
- $Sizes{$_}=0;
- }
- foreach $File (@files) {
- ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
- $atime,$mtime,$ctime,$blksize,$blocks)
- = stat("$Master/bin/$D/$File");
- $R=$File;
- $R=~ s/\.pl$//;
- $R=~ s/\.exe$//;
- $R=~ s/\.chm$//;
- $R=~ s/\.bin$//;
- $R=~ s/\.cmd$//;
- $R=~ s/\.bat$//;
- $R=~ s/\.dll$//;
- $R=~ s/\.ini$//;
- $R=~ s/\.tpl$//;
- $R=~ s/\.DLL$//;
- $R=~ s/\.HLP$//;
- $R=~ s/\.hlp$//;
- $L=$Coll{$R};
- #print "$D $File -> $R\n";
- if ($L eq "") { print "ERROR no classification [$L] for $R in $D\n" }
- $Sizes{$L}=$Sizes{$L} + $size;
- $Groups{$L}="bin/$D/$File\n" . $Groups{$L};
-}
-print "make $D\n";
-
- foreach (sort keys %Groups) {
- open(FOO, ">>list.$_") || die ("cannot write $_-$D.list");
- print FOO "<TPM:BinFiles xmlns:TPM=\"http://texlive.dante.de/\" arch=\"$D\" size=\"" . $Sizes{$_} . "\">\n";
- print FOO $Groups{$_};
- print FOO "</TPM:BinFiles>\n";
- close FOO;
- }
-
-}
-
-sub foo {
-# build catalogue file
-open(TPM,">$Master/texmf-dist/tpm/package/$D.tpm")
- || die "cannot write $Master/texmf-dist/tpm/package/$D.tpm";
-$Date=`date +%Y/%m/%d`;
-$Who=`whoami`;
-chop($Date);
-chop($Who);
-print TPM <<EOF;
-<?xml version="1.0"?>
-<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/">
- <rdf:Description about="http://texlive.dante.de/$1">
- <TPM:Name>$D</TPM:Name>
- <TPM:Collection>systems</TPM:Collection>
- <TPM:Level>1</TPM:Level>
- <TPM:Date>$Date</TPM:Date>
- <TPM:Creator>$Who</TPM:Creator>
- <TPM:BinBasic size="$Size{1}">
-EOF
-foreach $file (@BinBasic) {print TPM "$file\n";}
-print TPM "texmf-dist/tpm/package/$D.tpm\n";
-print TPM " </TPM:BinBasic>\n";
-print TPM " <TPM:BinRec size=\"$Size{2}\">\n";
-foreach $file (@BinRec ){print TPM "$file\n";}
-print TPM " </TPM:BinRec> \n";
-print TPM " <TPM:Extrabin size=\"$Size{3}\">\n";
-foreach $file (@Extrabin) {print TPM "$file\n";}
-print TPM " </TPM:Extrabin>\n";
-print TPM <<EOF;
- </rdf:Description>
-</rdf:RDF>
-
-EOF
-close(TPM);
-print "Wrote $Master/texmf-dist/tpm/package/$D.tpm\n";
-print "Remaking lists files\n";
-system "xsltproc /texlive/Build/cdbuild/tpm2list.xsl $Master/texmf-dist/tpm/package/$D.tpm";
-return;
-}
-
-sub P4 {
- local($D) = @_;
- if (-f $D) { system("p4 -p sun.dante.de:1666 -c tex edit $D") } else { system("p4 -p sun.dante.de:1666 -c tex add $D") }
-}
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
deleted file mode 100755
index 3f10db28d9a..00000000000
--- a/Build/cdbuild/ctan2tds.pl
+++ /dev/null
@@ -1,3117 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-#
-# A script to TL-install a package from CTAN.
-# For a higher-level invocation, see ../tools/ctan2tl.
-#
-# Its actions, given a directory, are
-# 1. copy everything to texmf-dist/source/<format>/<package>
-# 2. run any .ins files
-# 3. run any .mf files through mktextfm
-# 4. move .sty/.cls etc files to texmf-dist/tex/<format>/<package>
-# 5. run LaTeX on .dtx/.tex and put the .dvi files in
-# texmf-dist/doc/<format>/<package>. dtx files are run with just the
-# description if this is set up properly in the source.
-# 6. move .tex to texmf-dist/doc/<format>/<package>
-#
-# All the patterns for what to move or run can be overridden for each package.
-#
-# PROBLEMS
-# 1. .tex files are used for lots of different purposes, so this is flaky
-# 2. if there is no .dtx, the .sty files are *moved*, rather than copied,
-# so the source directory is not complete. is this a bug or a feature?
-# [feature --karl]
-# 3. complex packages with subdirectories are not well catered for
-#
-# ENHANCEMENTS NEEDED
-# 1. a notation for dependencies; actually surprisingly few
-# 2. cleaner way of describing the various %special... hashes, so info
-# about a given package is in one place.
-#
-# Originally written by Sebastian Rahtz. Comments to tex-live@tug.org.
-
-# License: PUBLIC DOMAIN
-
-use English;
-use Getopt::Long;
-use File::Basename;
-use Cwd;
-#
-# programs used; must all be on the path
-$MV="mv";
-$CP="cp -p";
-
-$| = 1;
-select ((select (STDERR), $| = 1)[0]);
-
-# the destination destination tree
-$startdir=getcwd();
-chdir(dirname($0));
-chdir "cooked" || die "chdir(cooked) failed: $!";
-$TDS = getcwd();
-chdir $startdir || die "chdir($startdir) failed: $!";
-
-#
-# packages to treat entirely on their own, or not at all.
-# the code here is evaluated by Perl, so special packages
-# can have their own subroutine.
-#
-%special = (
- 'Catalogue', "&MAKEcatalog",
- 'HA-prosper', '&MAKEhaprosper',
- 'IEEEtran', "&MAKEIEEEtran",
- 'LingTrees', "die 'skipping, requires python'",
- 'SIstyle', '&MAKEflatten',
- 'aastex', "&MAKEflatten",
- 'aeb_pro', "die 'skipping, requires new acrobat + complicated'",
- 'arabxetex', '&MAKEflatten',
- 'active-conf', "&MAKEflatten",
- 'ae', "&MAKEae",
- 'algorithmicx',"&MAKEnosymlinks",
- 'allrunes', "&MAKEflatten",
- 'alphabib', "die 'skipping, shell script, and no doc source?'",
- 'ams', "&MAKEamslatex",
- 'amscls', "&MAKEamslatex",
- 'amsmath', "&MAKEamslatex",
- 'amsldoc-vn', "&MAKEflatten",
- 'amsltx2', "&MAKEamslatex",
- 'amsrefs', "&MAKEamslatex",
- 'antomega', "&MAKEflatten",
- 'antt', "&MAKEflatten",
- 'apacite', "&MAKEflatten",
- 'arabi', "&MAKEarabi",
- 'arabtex', "&MAKEarabtex",
- 'archaic', "&MAKEwilson",
- 'arev', "&MAKEcopy",
- 'ascii', "&MAKEflatten",
- 'astron', "die 'skipping, nonfree license'",
- 'augie', "&MAKEaugie",
- 'aurical', "&MAKEaurical",
- 'babel', "&MAKEcopy", # we use latex-tds/babel.zip
- 'bangtex', "&MAKEflatten",
- 'bardiag', "&MAKEbardiag",
- 'barr', "&MAKEbarr",
-# bbm is split into bbm (fonts) and bbm-macros (macros)
-# 'bbm', "&MAKEbbm",
- 'beamer', "&MAKEbeamer",
- 'beamer-contrib',"&MAKEflatten",
- 'beebe', "die 'skipping, MAKEbeebe needs work'",
- 'bengali', '&MAKEflatten',
- 'bera', "&MAKEunzipandflatten",
- 'bookhands', "&MAKEwilson",
- 'borceux', "&MAKEborceux",
- 'burmese', "&MAKEflatten",
- 'cb', "&MAKEflatten",
- 'cbcoptic', "&MAKEcbcoptic",
- 'changebar', "&MAKEchangebar",
- 'chemsym', "die 'skipping, nonfree'",
- 'chessboard', "die 'skipping, no doc source'",
- 'chessfss', "die 'skipping, no doc source'",
- 'circuit_macros', "die 'skipping, needs m4'",
- 'cjhebrew', "&MAKEflatten",
- 'clock', "&MAKEflatten",
- 'cm-lgc', '&MAKEcmlgc',
- 'cmbright', "&MAKEflatten",
- 'cmcyr', "&MAKEflatten",
- 'cmll', "&MAKEflatten",
- 'concmath', "&MAKEconcmath",
- 'context', "&MAKEcontext",
- 'coptic', "die 'skipping, it has been replaced by cbcoptic'",
- 'corridx', "die 'skipping, Pascal source'",
- 'csplain', "die 'skipping, too hard to automate'",
- 'csvtools', "&MAKEflatten",
- 'ctable', "&MAKEflatten",
- 'ctib', "&MAKEflatten",
- 'cweb', "die 'skipping, programs'",
- 'cyrillic', "&MAKEcopy", # we use latex-tds/cyrillic.zip
- 'datetime', "&MAKEflatten",
- 'devanagr', "&MAKEdevanagr",
- 'diagnose', "&MAKEflatten",
- 'dictsym', "&MAKEunzipandflatten",
- 'disser', "&MAKEdisser",
- 'dmfonts', "die 'skipping, needs work'",
- 'doipubmed', "&MAKEflatten",
- 'dps', "die 'skipping, requires acrotex'",
- 'dtk', "&MAKEflatten",
- 'dtxtut', "&setup", # straight copy
- 'dvdcoll', "&MAKEflatten",
- 'easy', "&MAKEeasy",
- 'ebib', "die 'skipping, as it is Emacs'",
- 'ebong', "&MAKEebong",
- 'ecc', "&MAKEflatten",
- 'eco', "&MAKEeco",
- 'edmac', "die 'skipping, needs work (unzip xx)'",
- 'ednotes', "&MAKEnosymlinks",
- 'elhyphen', "&MAKEelhyphen",
- 'epigrafica', "&MAKEflatten",
- 'epiolmec', "&MAKEflatten",
- 'epix', "die 'skipping, needs C++'",
- 'eplain', "&MAKEcopy",
- 'eqnarray', "&MAKEeqnarray",
- 'eskdx', "&MAKEeskdx",
- 'esvect', "&MAKEflatten",
- 'ethiop', "&MAKEflatten",
- 'euclide', "&MAKEpst",
- 'eulervm', "&MAKEcopy",
- 'eurosym', "&MAKEflatten",
- 'expressgx', "&MAKEexpressg",
- 'fancyvrb', "&MAKEfancyvrb",
- 'fc', "&MAKEflatten",
- 'featpost', "&MAKEfeatpost",
- 'feynmf', "&MAKEfeynmf",
- 'flowfram', "&MAKEflatten",
- 'fontinst', "&MAKEfontinst",
- 'footnpag', "&MAKEfootnpag",
- 'fourier', "&MAKEflatten",
- 'fouriernc', "&MAKEflatten",
- 'fp', "&MAKEfp",
- 'fpl', "&MAKEflatten",
- 'fragments', "die 'skipping, not a package'",
- 'frcursive', "&MAKEflatten",
- 'germbib', "&MAKEgermbib",
-# 'gfsartemisia',"&MAKEflatten",
- 'graphics', "&MAKEcopy", # we use latex-tds/graphics.zip
- 'graphicxsp', "die 'skipping, requires adobe distiller'",
- 'hfbright', "&MAKEflatten",
- 'hfoldsty', "&MAKEflatten",
- 'hyperref', "&MAKEhyperref",
- 'hyphen-german',"die 'please install hyphen-german by hand, sorry'",
- 'ibycus-babel',"&MAKEibycusbabel",
- 'ibygrk', "&MAKEflatten",
- 'invoice', "&MAKEflatten",
- 'iwona', "&MAKEcopy",
- 'japanese', "die 'skipping, requires ptex'",
- 'jasthesis', "die 'skipping, license is unknown'",
- 'jj_game', "die 'skipping, requires acrotex'",
- 'kerkis', "&MAKEflatten",
- 'koma-script', "&MAKEkoma",
- 'kpfonts', "&MAKEflatten",
- 'kurier', "&MAKEcopy",
- 'kuvio', "die 'skipping, nonfree license'",
- 'latex', "&MAKEcopy", # we use latex-tds/base.zip
- 'latex-tds', "&MAKEcopy", # we use latex-tds/source.zip
- 'latexmp', "&MAKEflatten",
- 'leawood', "&MAKEflatten",
- 'lettre', "&MAKEflatten",
- 'lettrine', "&MAKEflatten",
- 'lexitex', "die 'skipping, camel has replaced'",
- 'lfb', "&MAKElfb",
- 'lh', "&MAKEcopy",
- 'libertine', "&MAKElibertine",
- 'lifia-th', "die 'skipping, '",
- 'linearA', "&MAKEflatten",
- "lineno", "&MAKEnosymlinks",
- 'listings', "&MAKElistings",
- 'literat', "&MAKEliterat",
- 'lm', "&MAKEcopy",
- 'lshort-bulgarian', '&MAKElshort',
- 'lshort-english', '&MAKElshort',
- 'lshort-finnish', '&MAKElshort',
- 'lshort-portuguese', '&MAKElshort',
- 'lshort-turkish', '&MAKElshort',
- 'lshort-vietnamese', '&MAKElshort',
- 'lshort-korean', '&MAKElshort',
- 'ltt', "&MAKEltt",
- 'ltxbase', "&MAKEbase",
- 'lucida', "&MAKElucida",
- 'makedtx', "&MAKEflatten",
- 'makor', "&MAKEbase",
- 'manjutex', "&MAKEflatten",
- 'mathdesign', "&MAKEmathdesign",
- 'marginnote', "&MAKEunzip",
- 'mathexam', "&MAKEflatten",
- 'mathmode', "&setup",
- 'mathpazo', "&MAKEmathpazo",
- 'metaobj', "&MAKEflatten",
- 'metauml', "&MAKEmetauml",
- 'mflogo', "&MAKEmflogo",
- 'mfpic', "&MAKEflatten",
- 'mh', "&MAKEflatten",
- 'minitoc', "&MAKEunzip",
- 'misc', "&MAKEmisc",
- 'mkbangtex', "die 'skipping, no copyright (and python)'",
- 'mnhyphn', "&MAKEmnhyphn",
- 'mnsymbol', "&MAKEflatten",
- 'montex', "&MAKEflatten",
- 'movie15', "&MAKEflatten",
- 'mpattern', "&MAKEmpattern",
- 'multido', "&MAKEpst",
- 'mxd', "&MAKEflatten",
- 'mxedruli', "&MAKEflatten",
- 'ncctools', "&MAKEflatten",
- 'oberdiek', "&MAKEoberdiek",
- 'ocherokee', "&MAKEflatten",
- 'ofs', "&MAKEflatten",
- 'omegajapanese',"&MAKEflatten",
- 'osa', "die 'skipping, relies on endfloat.cfg and non-unique filenames'",
- 'ot2cyr', "&MAKEot2cyr",
- 'otibet', "&MAKEflatten",
- 'pandora', "&MAKEflatten",
- 'pax', "die 'skipping, needs java'",
- 'pb-diagram', "&MAKEpbdiagram",
- 'pclnfss', "&MAKEpclnfss",
- 'pdcmac', "die 'skipping, needs work'",
- 'pdf-forms-tutorial', "die 'use pdf-forms-tutorial-de or -en'",
- 'pdf-forms-tutorial-de', "&MAKEpdf_forms_tutorial",
- 'pdf-forms-tutorial-en', "&MAKEpdf_forms_tutorial",
- 'perltex', "&MAKEperltex",
- 'pgf', "&MAKEpgf",
- 'phaistos', "&MAKEflatten",
- 'pict2e', "&MAKEpict2e",
- 'pictex', "&MAKEpictex",
- 'pl-qx', "&MAKEplqx",
- 'poster', "die 'skipping, nonfree license'",
- 'powerdot', '&MAKEflatten',
- 'probsoln', '&MAKEflatten',
- 'prosper', '&MAKEflatten',
- 'ps4pdf', "die 'skipping, obsolete'",
- 'psfragx', "&MAKEflatten",
- 'pslatex', "&MAKEpslatex",
- 'psnfss', "&MAKEpsnfss", # we use latex-tds/psnfss.zip
- 'psnfss-addons', "die 'skipping, ?'",
- 'psnfssx', "&MAKEflatten",
- 'pst-2dplot', "&MAKEpst",
- 'pst-3d', "&MAKEpst",
- 'pst-3dplot', "&MAKEpst",
- 'pst-asr', "&MAKEpst",
- 'pst-bar', "&MAKEpst",
- 'pst-barcode', "&MAKEpst",
- 'pst-blur', "&MAKEpst",
- 'pst-circ', "&MAKEpst",
- 'pst-coil', "&MAKEpst",
- 'pst-dbicons', "&MAKEpst",
- 'pst-diffraction', "&MAKEpst",
- 'pst-eps', "&MAKEpst",
- 'pst-eucl', "&MAKEpst",
- 'pst-fill', "&MAKEpst",
- 'pst-fr3d', "&MAKEpst",
- 'pst-fractal', "&MAKEpst",
- 'pst-func', "&MAKEpst",
- 'pst-geo', "&MAKEpstgeo",
- 'pst-ghsb', "&MAKEpst",
- 'pst-gr3d', "&MAKEpst",
- 'pst-grad', "&MAKEpst",
- 'pst-infixplot',"&MAKEpst",
- 'pst-jftree', "&MAKEpst",
- 'pst-jtree', "&MAKEpst",
- 'pst-labo', "&MAKEpst",
- 'pst-lens', "&MAKEpst",
- 'pst-light3d', "&MAKEpst",
- 'pst-math', "&MAKEpst",
- 'pst-optexp', "&MAKEpst",
- 'pst-optic', "&MAKEpst",
- 'pst-osci', "&MAKEpst",
- 'pst-pdf', "&MAKEpst",
- 'pst-pdgr', "&MAKEpst",
- 'pst-poly', "&MAKEpst",
- 'pst-qtree', "&MAKEpst",
- 'pst-slpe', "&MAKEpst",
- 'pst-text', "&MAKEpst",
- 'pst-uml', "&MAKEpst",
- 'pst-vue3d', "&MAKEpst",
- 'pstricks', "&MAKEpstricks",
- 'pstricks-add',"&MAKEpst",
- 'pxfonts', "&MAKEflatten",
- 'refstyle', "&MAKEcopy",
- 'revtex', "&MAKEflatten",
- 'seminar', "&MAKEseminar",
- 'showexpl', "&MAKEflatten",
- 'siam', "&MAKEsiam",
- 'skak', "&MAKEflatten",
- 'songs', "die 'skipping, requires binary'",
- 'stellenbosch',"&MAKEcopy",
- 'symbolindex', "die 'skipping, requires binary'",
- 't2', "&MAKEt2",
- 'tabvar', "&MAKEflatten",
- 'tamethebeast',"&MAKEtamethebeast",
- 'tengwarscript',"&MAKEflatten",
- 'tex-gyre', "&MAKEcopy",
- 'tex-refs', "die 'skipping, needs work'",
- 'texdraw', "&MAKEtexdraw",
- 'texpower', "&MAKEnosymlinks",
- 'texsis', "&MAKEtexsis",
- 'thaifonts-scalable', "die 'Thai, fontforge format only, skip'",
- 'thailatex', "die 'Thai, requires preprocessor (?), skip'",
- 'thumbpdf', "&MAKEthumbpdf",
- 'thuthesis', "die 'Chinese, may as well skip'",
- 'ticket', "&MAKEflatten",
- 'tipa', "&MAKEtipa",
- 'titlepage-uni-dortmund', "die 'needs graphics (too short names) in .'",
- 'tpcmfont', "die 'skipping, ?'",
- 'tools', "&MAKEcopy", # we use latex-tds/tools.zip
- 'turnstile', "&MAKEflatten",
- 'txfonts', "&MAKEflatten",
- 'ucs', "&MAKEucs",
- 'ukrhyph', "&MAKEukrhyph",
- 'unitsdef', "&MAKEflatten",
- 'velthuis', "&MAKEcopy",
- 'verbatimcopy', "die 'skipping, no doc source'",
- 'vhistory', "&MAKEflatten",
- 'vntex', "&MAKEcopy",
- 'voss-de', "&MAKEvossde",
- 'vpe', "&MAKEvpe",
- 'vrsion', "die 'skipping, nonfree license'",
- 'wasy2', "&MAKEflatten",
- 'wordcount', "&MAKEwordcount",
- 'xbase', "&MAKEnosymlinks",
- 'xfor', "&MAKEflatten",
- 'xfrac', "&MAKEflatten",
- 'xkeyval', "&MAKExkeyval",
- 'xmltex', "&MAKExmltex",
- 'xymtex', "&MAKExymtex",
- 'xypic', "&MAKExypic",
- 'zefonts', "&MAKEflatten",
-);
-
-%specialpostnormal = (
- 'fpl' => '&POSTfpl',
- 'interactiveworkbook' => '&POSTinteractiveworkbook',
-);
-
-
-# needs special TeX program to run the doc.
-%specialTEX = (
- 'arabtex', 'tex',
- 'barr', 'latex',
- 'beamer', 'pdflatex',
- 'bytefield', 'pdflatex',
- 'esint-type1', 'pdftex',
- 'euro-ce', 'tex',
- 'floatrow', 'latex',
- 'genealogy', 'tex',
- 'insbox', 'tex',
- 'iso10303', 'pdflatex',
- 'mfpic', 'tex',
- 'mpattern', 'true', # requires running mpp, but it's not executable and
- # anyway it's just a test file. ignore it.
- 'ofs', 'csplain',
- 'pdfpages', 'pdflatex',
- 'pdfscreen', 'pdflatex',
- 'pdfslide', 'pdflatex',
- 'pl-qx', 'platex',
- 'semaphor', 'tex',
- 'subfig', 'pdflatex',
- 'texsis', 'tex',
- 'typespec', 'tex',
- 'wasy2', 'tex',
- 'webeq', 'pdflatex',
-);
-
-
-$standardsource='\.fdd|\.dtx|\.ins|\.c$|Makefile|\.drv';
-%specialsource= (
- 'amsldoc-vn', 'NULL',
- 'apl', ".*", # just get everything, seems simplest
- 'arabxetex', 'NULL', # keep dtx with others, why not
- 'bbold', "$standardsource|fonttabl.sty",
- 'blacklettert1', '\.dtx|\.ins|\.pl|Makefile',
- 'carlisle', '\.dtx|\.ins|ltxtable\.tex',
- 'epsf', 'NULL',
- 'epslatex-fr', 'NULL',
- 'eskdx', 'NULL', # do not move makefiles
- 'mff', '\.mfj|\.bat|\.diz',
- 'fpl', "$standardsource|Add|\.sfd|\.pe|\.ps",
- 'rcs', "$standardsource|rcs.el|src",
- 'ae', "$standardsource|\.mtx|\.etx|\.tex|clean|go|install|makepl",
-);
-
-%specialfoundry = (
- 'fc', 'jknappen',
- 'mfpic', 'metafont',
-);
-$standardfoundry='public';
-
-
-%specialdest = (
- 'MemoirChapStyles', 'texmf-doc',
- 'Type1fonts', 'texmf-doc',
- 'amsldoc-it', 'texmf-doc',
- 'amsldoc-vn', 'texmf-doc',
- 'amsthdoc-it', 'texmf-doc',
- 'beamer-tut-pt', 'texmf-doc',
- 'catalogue', 'texmf-doc',
- 'comprehensive', 'texmf-doc',
- 'cursolatex', 'texmf-doc',
- 'dtxtut', 'texmf-doc',
- 'elhyphen', 'texmf',
- 'epslatex-fr', 'texmf-doc',
- 'es-tex-faq', 'texmf-doc',
- 'free-math-font-survey', 'texmf-doc',
- 'l2picfaq', 'texmf-doc',
- 'l2tabu-english', 'texmf-doc',
- 'lshort-bulgarian', 'texmf-doc',
- 'lshort-english', 'texmf-doc',
- 'lshort-finnish', 'texmf-doc',
- 'lshort-portuguese', 'texmf-doc',
- 'lshort-turkish', 'texmf-doc',
- 'lshort-vietnamese', 'texmf-doc',
- 'lshort-korean', 'texmf-doc',
- 'makingtexwork', 'texmf-doc',
- 'mathmode', 'texmf-doc',
- 'mnhyphn', 'texmf',
- 'ntheorem-vn', 'texmf-doc',
- 'tamethebeast', 'texmf-doc',
- 'tds', 'texmf-doc',
- 'tex-refs', 'texmf-doc',
- 'visualfaq', 'texmf-doc',
- 'voss-de', 'texmf-doc',
- 'xypic-tut-pt', 'texmf-doc',
- 'wp-conv', 'texmf-doc',
- 'xetexref', 'texmf-doc',
-);
-$standarddest = "texmf-dist";
-
-#
-%specialsourcefmt = (
- 'antomega', 'omega',
- 'apl', 'fonts',
- 'arabxetex', 'xelatex',
- 'archaic', 'fonts',
- 'arev', 'fonts',
- 'arrayjob', 'generic',
- 'babel', 'generic',
- 'bidi', 'xelatex',
- 'blacklettert1','fonts',
- 'blockdraw_mp','metapost',
- 'cb', 'fonts',
- 'cirth', 'fonts',
- 'cirth', 'generic',
- 'cjhebrew', 'fonts',
- 'cmpica', 'fonts',
- 'cryst', 'fonts',
- 'eplain', 'eplain',
- 'epsf', 'generic',
- 'eurosym', 'fonts',
- 'expressg', 'metapost',
- 'fc', 'fonts',
- 'fge', 'fonts',
- 'fltpoint', 'generic',
- 'fontspec', 'xelatex',
- 'fourier', 'fonts',
- 'fouriernc', 'fonts',
- 'fpl', 'fonts',
- 'frcursive', 'fonts',
- 'genmisc', 'generic',
- 'germbib', 'bibtex',
- 'gost', 'bibtex',
- 'greenpoint', 'fonts',
- 'hfoldsty', 'fonts',
- 'kixfont', 'fonts',
- 'latexmp', 'metapost',
- 'leawood', 'fonts',
- 'lfb', 'fonts',
- 'latexmp', 'metapost',
- 'mathdots', 'generic',
- 'mnhyphn', 'generic',
- 'mfpic', 'generic',
- 'multido', 'generic',
- 'ofs', 'generic',
- 'pdcmac', 'plain',
- 'philokalia', 'xelatex',
- 'pictex', 'generic',
- 'pstricks', 'generic',
- 'ruhyphen', 'generic',
- 'skaknew', 'metapost',
- 'splines', 'metapost',
- 'thumbpdf', 'generic',
- 'trajan', 'fonts',
- 'variations', 'generic',
- 'velthuis', 'fonts',
- 'wasy2', 'fonts',
- 'xltxtra', 'xelatex',
-);
-$standardsourcefmt='latex';
-
-
-%specialfmt = (
- 'abbr', 'generic',
- 'abstyles', 'generic',
- 'antomega', 'omega',
- 'arabxetex', 'xelatex',
- 'arrayjob', 'generic',
- 'babel', 'generic',
- 'bghyphen', 'generic',
- 'bidi', 'xelatex',
- 'cirth', 'generic',
- 'edmac', 'generic',
- 'eijkhout', 'generic',
- 'eplain', 'eplain',
- 'epsf', 'generic',
- 'esint-type1', 'plain',
- 'fenixpar', 'generic',
- 'fltpoint', 'generic',
- 'fontch', 'plain',
- 'fontspec', 'xelatex',
- 'genmisc', 'generic',
- 'hyplain', 'plain',
- 'ifxetex', 'generic',
- 'jadetex', 'jadetex',
- 'mathdots', 'generic',
- 'metatex', 'plain',
- 'mfpic', 'generic',
- 'mkpattern', 'plain',
- 'ocherokee', 'lambda',
- 'ofs', 'generic',
- 'passivetex', 'xmltex',
- 'pdcmac', 'plain',
- 'pdf-trans', 'generic',
- 'philokalia', 'xelatex',
- 'pictex', 'generic',
- 'plnfss', 'plain',
- 'pstricks', 'generic',
- 'ruhyphen', 'generic',
- 'shapepar', 'generic',
- 'texsis', 'texsis',
- 'thumbpdf', 'generic',
- 'tugboat-plain','plain',
- 'variations', 'generic',
- 'wasy2', 'plain',
- 'xltxtra', 'xelatex',
- 'xmlplay', 'xmltex',
- 'xunicode', 'xelatex',
-);
-$standardfmt='latex';
-
-
-%specialdocfmt = (
- 'abbr', 'generic',
- 'abstyles', 'bibtex',
- 'amsldoc-it', 'italian',
- 'amsldoc-vn', 'vietnamese',
- 'amsthdoc-it', 'italian',
- 'antomega', 'omega',
- 'arabxetex', 'xelatex',
- 'archaic', 'fonts',
- 'arev', 'fonts',
- 'arrayjob', 'generic',
- 'aurical', 'fonts',
- 'automata', 'metapost',
- 'ascii', 'fonts',
- 'babel', 'generic',
- 'bbm', 'fonts',
- 'beamer-tut-pt','portuguese',
- 'bera', 'fonts',
- 'bghyphen', 'generic',
- 'bidi', 'xelatex',
- 'blacklettert1','fonts',
- 'cb', 'fonts',
- 'cirth', 'fonts',
- 'cjhebrew', 'fonts',
- 'cmarrows', 'metapost',
- 'cursolatex', 'portuguese',
- 'devanagr', 'fonts',
- 'dictsym', 'fonts',
- 'dinat', 'bibtex',
- 'doublestroke','fonts',
- 'economic', 'bibtex',
- 'edmac', 'generic',
- 'elhyphen', 'generic',
- 'elsevier-bib','bibtex',
- 'eplain', 'eplain',
- 'epsf', 'generic',
- 'epslatex-fr', 'french',
- 'es-tex-faq', 'spanish',
- 'eurosym', 'fonts',
- 'expressg', 'metapost',
- 'exteps', 'metapost',
- 'fc', 'fonts',
- 'featpost', 'metapost',
- 'fenixpar', 'generic',
- 'fge', 'fonts',
- 'fltpoint', 'generic',
- 'fontch', 'plain',
- 'fontspec', 'xelatex',
- 'fourier', 'fonts',
- 'fouriernc', 'fonts',
- 'fpl', 'fonts',
- 'frcursive', 'fonts',
- 'genmisc', 'generic',
- 'germbib', 'bibtex',
- 'gost', 'bibtex',
- 'greepoint', 'fonts',
- 'hfoldsty', 'fonts',
- 'hieroglf', 'fonts',
- 'hyplain', 'plain',
- 'ifxetex', 'generic',
- 'ijqc', 'bibtex',
- 'iopart-num', 'bibtex',
- 'kixfont', 'fonts',
- 'kpfonts', 'fonts',
- 'l2picfaq', 'german',
- 'latexmp', 'metapost',
- 'leawood', 'fonts',
- 'lfb', 'fonts',
- 'lshort-portuguese', 'portuguese',
- 'mathdots', 'generic',
- 'metatex', 'plain',
- 'metauml', 'metapost',
- 'mfpic', 'generic',
- 'mkpattern', 'plain',
- 'mpattern', 'metapost',
- 'ntheorem-vn', 'vietnamese',
- 'ofs', 'generic',
- 'pacioli', 'fonts',
- 'pdcmac', 'plain',
- 'pdf-trans', 'generic',
- 'phaistos', 'fonts',
- 'philokalia', 'xelatex',
- 'pictex', 'generic',
- 'plnfss', 'plain',
- 'pxfonts', 'fonts',
- 'shapepar', 'generic',
- 'splines', 'metapost',
- 'templates-fenn', 'german',
- 'templates-sommer', 'german',
- 'texsis', 'texsis',
- 'textpath', 'metapost',
- 'thumbpdf', 'generic',
- 'trajan', 'fonts',
- 'tugboat-plain','plain',
- 'txfonts', 'fonts',
- 'vancouver', 'bibtex',
- 'variations', 'generic',
- 'velthuis', 'fonts',
- 'voss-de', 'german',
- 'wasy2', 'fonts',
- 'xltxtra', 'xelatex',
- 'xq', 'fonts',
- 'xunicode', 'xelatex',
- 'xypic-tut-pt','portuguese',
-);
-$standarddocfmt='latex';
-
-
-# special cases of which .ins files to run; used to remove
-# normal choices, and get the most general.
-%specialins = (
- 'aastex', 'NULL', # everything is pregenerated
- 'babel', 'babel.ins',
- 'base', 'NULL',
- 'bbold', 'bbold.dtx',
- 'blacklettert1','NULL', # don't try to do fontinst
- 'bosisio', '.*\.dtx',
- 'carlisle', '\.ins|ltxtable.tex',
- 'ccfonts', 'ccfonts.ins',
- 'dotseqn', 'dotseqn.dtx',
- 'feynmf', 'feynmf.ins',
- 'floatrow', 'floatrow.ins',
- 'iso', 'alliso.ins',
- 'lettre', 'NULL',
- 'localloc', 'localloc.dtx',
- 'makecell', 'makecell.dtx',
- 'minitoc', 'NULL', # takes forever, and files are pregenerated
- 'namespc', 'namespc.dtx',
- 'paper', 'install.02',
- 'parrun', 'parrun.ins',
- 'stmaryrd', 'stmaryrd.dtx',
- 'thesis', 'install.01|install.ndx',
- 'toptesi', 'NULL',
- 'turnstile', 'turnstile-en.ins', # skip pt
-);
-$standardins='\.ins';
-
-%specialinsrunner = (
- 'bullcntr', 'latex', # requires interaction, ugh
-);
-$standardinsrunner="latex -interaction=nonstopmode";
-
-%specialins_postdelete = (
- 'dateiliste', 'dateiliste.README*', # already in dist
- 'ednotes', 'perpage.sty', # copy from bigfoor
- 'jknapltx', 'ubbold.fd', # clashes with Ubbold.fd from bbold,
- # plus sauter bbold doesn't work?
- 'mathexam', 'sample.tex~',
-);
-
-%specialmakeindex= (
-);
-$standardmakeindex='\.ist';
-
-
-# packages which need special .tex/.sty files installed
-$standardtex='\.cfg|\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$';
-%specialtex= (
- 'abbr', '\.tex',
- 'abstyles', "apreambl.tex", # not a4c.sty
- 'ae', '\.fd$|\.sty',
- 'apacite', "\.apc|$standardtex",
- 'arabtex', "\.tex|$standardtex",
- 'babel', 'b.*plain.tex|\.ldf|\.ltx|\.cfg|\.sty|\.clo|\.cls|\.def|\.fd$',
- 'babelbib', '\.bdf|\.sty',
- 'bardiag', '\.bar|\.sty|\.cfg',
- 'barr', 'diagram.tex',
- 'base', 'idx.tex|lablst.tex|latexbug.tex|lablst.tex|docstrip.tex|nfssfont.tex|sample2e.tex|small2e.tex|testpage.tex|ltxcheck.tex|\.cfg|\.fd$|\.cls|\.clo|\.ltx|\.sty|\.def|^\.',
- 'bbold', 'bbold.sty|\.fd', # no fonttabl.sty
- 'bghyphen', '\.tex',
- 'breqn', '\.sty|\.sym',
- 'calxxxx', 'cal.*\.tex',
- 'captcont', '\.sty|[^c]\.cfg', # omit ltxdoc.cfg, would be system-wide
- 'carlisle', '\.sty|\.ltx',
- 'chemstyle', "\.jdf|$standardtex",
- 'cirth', 'num\.tex',
- 'clock', '\.sty|clock\.tex',
- 'cmap', '\.sty|\.cmap',
- 'codepage', '\.sty|\.tex',
- 'contour', '\.cfg|\.sty|\.cnt',
- 'ctib', '\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$|ctib\.tex',
- 'custbib', '\.mbs|\.tex',
- 'custom-bib', '\.mbs|\.tex',
- 'cyrillic', '\.tex|\.sty|\.fd$|\.def',
- 'dialogl', '\.sty|listouti\.tex',
- 'disser', "\.rtx|$standardtex",
- 'dlfltxb', '\.sty', # no sample.cfg
- 'dvdcoll', "\.dcl|$standardtex",
- 'ean', 'ean[0-9]*\.tex',
- 'ecv', '\.sty|\.cls|\.ldf', # omit docstrip.cfg, would be system-wide
- 'edmac', 'edmac.tex|edstanza.tex|\.sty',
- 'eijkhout', '\.tex',
- 'epsf', 'epsf.(tex|sty)',
- 'epslatex-fr', 'NULL',
- 'esint-type1', 'esint.tex',
- 'europecv', 'EuropeFlag|europasslogo|\.cls|\.def',
- 'expl3', "\.ltx|$standardtex",
- 'fltpoint', '\.sty|\.tex',
- 'fontch', '\.tex',
- 'footnpag', 'footnpag\.sty',
- 'frankenstein',"\.(sto|stq)|$standardtex",
- 'genmisc', '\.sty|\.tex',
- 'geometry', '\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$', # not cfg
- 'ginpenc', '\.gie|\.sty',
- 'hfoldsty', '\.sty|\.fd|\.cpa',
- 'hyper', '\.sty|\.hyp',
- 'hyplain', '(hyrules|hy.*plain|hylang)\..*',
- 'insbox', 'insbox.tex',
- 'interactiveworkbook', 'NULL', # done in POSTinteractiveworkbook
- 'iso10303', 'a.*tex|b.*tex|e.*tex|stp.*tex|\.sty|\.4ht',
- 'isodate', '\.idf|\.sty',
- 'isodoc', 'iso.*\.sty', # not mystyle.sty, etc.
- 'jadetex', '\.ltx|\.def|\.tex|\.ini|\.sty',
- 'karnaugh', 'kvmacros.tex',
- 'keystroke', 'keystroke_.*|\.sty',
- 'kuvio', '\.tex|\.sty',
- 'lettre', '\.ins|\.cls',
- 'lettrine', '\.sty|\.cfl|\.cfg',
- 'magyar', 'NULL', # don't want to conflict with standard babel
- 'manjutex', '\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$|manju.tex',
- 'mathdots', "mathdots\.tex|$standardtex",
- 'metatex', 'metatex.tex',
- 'mff', '\.sty|mf[^f].*\.tex',
- 'mfpic', 'mfpic.tex|mfpic.sty|mfppatch.tex',
- 'mh', '\.sty|\.cls|\.fix',
- 'minitoc', "\.ml[do]|$standardtex",
- 'misc', '\.sty|\.ltx|\.cls',
- 'mkpattern', 'mkpatter.tex',
- 'msg', "$standardtex|-msg\.tex",
- 'nag', "$standardtex|\.cfg|\.nag",
- 'ntheorem', '\.sty|\.std',
- 'ofs', '^ofs\.tex|ofsdef\.tex|ofs-.*\.tex|\.sty|a.*\.tex|.*fn\.tex',
- 'patch', '\.tex',
- 'pdf-trans', 'pdf-trans.tex',
- 'pdfcprot', '\.cpa|\.sty',
- 'pdfscreen', 'overlay.*pdf|but.*pdf|left.*pdf|right\.pdf|pdfscreen.sty',
- 'pdfslide', '\.jpg|\.sty|\.clo|\.cfg|meta.*\.pdf',
- 'petri-nets', 'pnets\.tex|pntext\.tex|\.sty|pndraw\.tex|pnversion\.tex|\.sty|pndraw\.tex',
- 'pictex', '\.sty|\.tex',
- 'plgraph', '\.tex',
- 'plnfss', '\.tex|\.pfd',
- 'powerdot', "\.ps|$standardtex",
- 'ppchtex', 'm.*tex|m.*sty',
- 'prosper', '\.ps|\.eps|\.sty|\.cls',
- 'pstricks', 'pst-*\.tex',
- 'pst-geo', 'pst-map.*\.tex|pst-map.*\.sty',
- 'pst-infixplot', 'infix-RPN\.tex|pst-infixplot\.tex',
- 'qobitree', 'qobitree.tex',
- 'realcalc', 'realcalc.tex',
- 'revtex', '\.sty|\.cls|\.rtx',
- 'rlepsf', 'rlepsf.tex',
- 'seminar', '\.bug|\.bg2|\.cls|\.sty|2up.tex',
- 'shapepar', '\.sty', # not def
- 'showexpl', '\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$', # not cfg
- 'splitindex', "splitindex\.tex|$standardtex",
- 'spotcolor', 'spotcolor*.tex',
- 'startex', '\.tex',
- 'subfig', '\.sty|[^c]\.cfg', # omit ltxdoc.cfg, would be system-wide
- 'subfigure', '\.sty|[^c]\.cfg', # omit ltxdoc.cfg, would be system-wide
- 'syntax', 'syntax\.tex',
- 'tabvar', '\.sty|\.cfg|\.[0-9]',
- 'taylor', 'diagrams.tex',
- 'texsis', '\.txs|TXS.*tex|texsis.tex',
- 'thumbpdf', '\.tex|\.sty',
- 'ticket', "\.tdf|$standardtex",
- 'titlesec', '\.tss|\.sty|ttlhref.tex|\.def',
- 'tools', '\.cfg|\.sty|\.clo|\.cls|\.def|\.fd$|.?\.tex|^\.tex$',
- 'tugboat-plain',"$standardtex|\.cmn",
- 'variations', "^variations\.tex|$standardtex",
- 'vhistory', '\.sty', # not hyperref.cfg
- 'wasy2', 'wasyfont\.tex',
- 'wordcount', '\.tex',
- 'zefonts', '\.sty|\.fd',
-);
-
-
-# packages which need special documentation files run
-%specialdvi= (
- 'aastex', 'NULL',
- 'abstyles', 'NULL',
- 'abbr', 'NULL',
- 'aguplus', 'NULL',
- 'antomega', 'NULL',
- 'apl', 'NULL',
- 'arabtex', 'NULL',
- 'archaic', 'NULL',
- 'arev', 'NULL',
- 'autotab', 'NULL',
- 'babel', 'babel\.drv',
- 'barcode2', 'eandoc.tex',
- 'bardiag', 'bar.*tex',
- 'barr', 'diagdoc.tex',
- 'base', '.*info.tex|.*guide.*tex|.*news.*tex',
- 'bbding', 'NULL',
- 'blacklettert1','\.dtx',
- 'calendar', 'demo.*\.tex|calguide\.tex',
- 'calxxxx', 'NULL',
- 'caption', 'NULL',
- 'carlisle', '\.dtx|ltxtable.tex',
- 'cbcoptic', 'NULL', # needs coptic fonts + hyphenation
- 'changebar', 'NULL',
- 'chess', '\.ltx',
- 'circ', '\.dtx',
- 'cirth', 'cirth\.tex',
- 'cjw', 'NULL',
- 'clock', 'NULL',
- 'cmcyralt', 'NULL',
- 'computational-complexity', 'NULL',
- 'codepage', 'codepage\.drv',
- 'crop', 'crop.dtx',
- 'crosswrd', 'NULL',
- 'ctib', 'ctib4tex.tex',
- 'curve', 'cv.tex',
- 'custbib', '\.dtx',
- 'custom-bib', '\.dtx',
- 'cyrillic', 'NULL',
- 'dates', 'NULL',
- 'dialogl', 'dia-driv\.tex|codialog\.tex',
- 'dingbat', 'NULL',
- 'directory', '\.tex',
- 'dotseqn', 'NULL',
- 'edmac', 'NULL',
- 'eepic', 'eepic.tex',
- 'elhyphen', 'NULL', # greek hyphenation
- 'emp', 'NULL',
- 'esint-type1', 'NULL', # already provided
- 'ethiop', 'ethiodoc\.tex',
- 'euro', 'euro.dtx',
- 'exams', 'NULL',
- 'fancynum', 'examples.tex',
- 'feynmf', 'NULL',
- 'fltpoint', 'NULL',
- 'footnpag', 'NULL',
- 'fourier', 'NULL',
- 'fouriernc', 'NULL',
- 'fp', 'example.tex',
- 'frcursive', '.*\.dtx',
- 'gatech-thesis', 'gatech-thesis.tex|jules-verne.tex',
- 'genmisc', 'NULL',
- 'german', 'germdoc\.tex',
- 'glossary', 'NULL',
- 'hh', 'NULL',
- 'ibycus-babel','NULL', # needs special hyphenation
- 'indxcite', 'NULL',
- 'insbox', 'demo.tex',
- 'iso', 'layman.tex',
- 'iso10303', 'NULL',
- 'isostds', 'isosty.tex',
- 'jadetex', 'NULL',
- 'jurabib', 'jbtest.tex',
- 'karnaugh', 'kvdoc\.tex',
- 'latexmp', 'NULL',
- 'ledmac', 'NULL',
- 'ledpar', 'NULL',
- 'lettrine', 'NULL',
- 'levy', 'NULL',
- 'lfb', 'NULL',
- 'lgreek', 'NULL',
- 'manjutex', 'manjutex.tex',
- 'mapcodes', 'mapcode\.drv',
- 'maple', 'NULL',
- 'mdwtools', 'NULL',
- 'metatex', 'NULL',
- 'mff', 'mffdoc.tex',
- 'mfnfss', 'NULL',
- 'mfpic', 'NULL',
- 'midnight', '\.doc',
- 'minutes', 'Sample.tex',
- 'newlfm', 'NULL',
- 'ocherokee', 'NULL',
- 'ofs', 'ofsdoc-e\.tex|ofsdoc\.tex|ofs-slt\.tex',
- 'ogonek', 'togonek\.ltx|\.tex',
- 'ot2cyr', 'OT2.*tex',
- 'othello', 'othello\.tex',
- 'otibet', 'NULL',
- 'paper', 'paper.drv',
- 'parrun', 'parrun.dtx',
- 'passivetex', 'NULL',
- 'patch', 'NULL',
- 'pdfscreen', 'NULL',
- 'petri-nets', 'pndoc\.tex',
- 'pictex', 'NULL',
- 'plgraph', 'NULL',
- 'plnfss', 'NULL',
- 'poligraf', 'NULL',
- 'powerdot', 'NULL',
- 'ppchtex', 'NULL',
- 'prosper', 'pros.*tex',
- 'pst-3dplot', '.*-e\.tex|doc-.*.tex|pst-3dplot-doc',
- 'pst-bar', '.*-e\.tex|doc-.*.tex|pst-bar-doc.tex',
- 'pst-barcode', 'NULL', # showexpl.sty?
- 'pst-blur', '.*-e\.tex|doc-.*.tex|pst-blur-doc.tex',
- 'pst-circ', '.*-e\.tex|doc-.*.tex|pst-circ-doc.tex',
- 'pst-fr3d', 'doc-.*.tex|pst-fr3d-doc',
- 'pst-func', '.*-e\.tex|doc-.*.tex|pst-func-doc',
- 'pst-geo', '.*-e\.tex|doc-.*.tex|pst-geo-doc.tex',
- 'pst-ghsb', '.*-e\.tex|doc-.*.tex|pst-ghsb-doc.tex',
- 'pst-gr3d', '.*-e\.tex|doc-.*.tex|pst-gr3d-doc.tex',
- 'pst-jftree', '.*-e\.tex|doc-.*.tex|pst-jftree-doc.tex',
- 'pst-lens', '.*-e\.tex|doc-.*.tex|pst-lens-doc.tex',
- 'pst-light3d', '.*-e\.tex|doc-.*.tex|pst-light3d-doc',
- 'pst-math', '.*-e\.tex|doc-.*.tex|pst-math-doc.tex',
- 'pst-optic', '.*-e\.tex|doc-.*.tex|pst-optic-doc.tex',
- 'pst-osci', '.*-e\.tex|doc-.*.tex|pst-osci-doc.tex',
- 'pst-poly', '.*-e\.tex|doc-.*.tex|pst-poly-doc.tex',
- 'pst-slpe', '.*-e\.tex|doc-.*.tex|pst-slpe-doc.tex',
- 'pst-uml', '.*-e\.tex|doc[-_].*.tex|pst-uml-doc.tex',
- 'pst-vue3d', '.*-e\.tex|doc-.*.tex|pst-vue3d-doc.tex',
- 'qobitree', 'example\.tex',
- 'qsymbols', 'NULL',
- 'r_und_s', 'NULL',
- 'rcsinfo', 'rcsinfo2html.tex',
- 'refman', 'layout.tex|\.dtx',
- 'rlepsf', 'NULL',
- 'semaphor', 'example.tex',
- 'skak', 'skakdoc.tex',
- 'songbook', 'sample-sb.tex',
- 'soul', 'soul.dtx',
- 'startex', 'NULL',
- 'syntax', 'syntax[a-z].*\.tex',
- 'taylor', 'NULL',
- 'texpower', 'NULL',
- 'texsis', 'Manual.tex',
- 'textmerg', 'tmexamp[[0-9]\.tex',
- 'thesis', '\.drv',
- 'thumbpdf', 'NULL',
- 'timing', 'timing.tex',
- 'tipa', 'tipaman\.tex|tipatug\.tex',
- 'titlesec', 'titlesec.tex',
- 'tools', '\.dtx',
- 'totpages', 'NULL',
- 'umrand', 'umrand\.tex',
- 'universa', 'NULL',
- 'ulsy', '\.dtx',
- 'velthuis', 'manual.tex',
- 'vhistory', 'NULL',
- 'wasy2', 'wasydoc\.tex',
- 'wordcount', 'NULL',
- 'xkeyval', 'NULL',
- 'xymtex', 'xymtx200.tex',
- 'yfonts', 'NULL',
- 'youngtab', 'NULL',
- 'zefonts', 'zefonts.tex',
-);
-
-#$standarddvi='\.tex|\.ltx';
-$standarddvi='NULL'; # let's try relying on authors uploading pdf's.
-
-
-# packages which need special MetaPost files
-$standardmp='\.mp$';
-%specialmp= (
- 'automata', 'automata.mp', # skip example.mp
- 'feynmp', 'feynmp.mp',
- 'latexmp', 'latexmp.mp',
- 'mpattern', 'mpattern.mp', # don't install test.mp
- 'semioneside', 'NULL', # don't install figure*.mp
- 'textpath', 'textpath.mp', # don't install textpathfigs.mp
-);
-
-# packages which need special BibTeX styles installed
-%specialcsf= ();
-$standardcsf='\.csf';
-
-$standardbst='\.bst';
-%specialbst= (
- 'umthesis', 'NULL',
-);
-
-# packages which need special BibTeX data files (not) installed.
-$standardbib='\.bib$'; # $ so we don't find README.bibtex in IEEEtran
-%specialbib= (
- 'active-conf', 'NULL',
- 'aguplus', 'NULL',
- 'amsrefs', 'ams.*bib', # not jr.bib
- 'babelbib', 'NULL',
- 'classicthesis','NULL',
- 'dlfltxb', 'NULL', # don't install doc.
- 'doipubmed', 'NULL',
- 'economic', 'NULL',
- 'eplain', 'NULL',
- 'epslatex-fr', 'NULL',
- 'gcite', 'NULL', # bib is for doc
- 'germbib', 'NULL', # no second xampl.bib, test bibs, etc.
- 'ijqc', 'NULL',
- 'iopart-num', 'NULL',
- 'mslapa', 'NULL',
- 'munich', 'NULL',
- 'pst-labo', 'NULL',
- 'ucthesis', 'NULL',
- 'umthesis', 'NULL',
-);
-
-# packages which have Metafont sources to run.
-$standardmf='[0-9]\.mf';
-%specialmf= (
- 'astro', 'astrosym.mf',
- 'backgammon', 'bg\.mf',
- 'cherokee', 'cherokee.mf',
- 'circ', 'csybimos\.mf|csycirc\.mf|csydiod\.mf|csyrest\.mf|csywidko\.mf|csysym\.mf|optic\.mf',
- 'cirth', 'cir.*\.mf',
- 'clock', 'clock.mf',
- 'cmpica', 'cmpic.*\.mf',
- 'dancers', 'dancers\.mf',
- 'dice', 'dice3d\.mf',
- 'dingbat', '\.mf',
- 'eiad', 'e.*10\.mf',
- 'engwar', 'engwar\.mf',
-## 'ethiop', 'NULL',
- 'euro-ce', 'eu.*\.mf|ce.*\.mf',
- 'feynmf', 'feynmf\.mf',
- 'greenpoint', 'greenpoint\.mf',
- 'hands', 'hands\.mf',
- 'ibygrk', 'NULL',
- 'ifsym', '\.mf|\.gen',
- 'logic', 'milstd\.mf',
- 'mfpic', 'grafbase\.mf',
- 'morse', 'morse10.mf|morse.def',
- 'ogham', 'ogham\.mf',
- 'skak', 'skak.*[0-9].*\.mf',
- 'tengwar', 'tengwar\.mf',
- 'umrand', 'umrand[ab]\.mf',
- 'xq', 'xq(normal|large)\.mf',
-);
-
-# additional mf files to be installed but not run.
-%specialmfinstall = (
- 'astro', 'astrosym.(cal|cmn|mac|uni|xtr)',
-);
-
-# packages which have dvips header files
-$standardpro='\.pro';
-%specialpro= (
- 'carlisle', 'pspicture.ps',
- 'dvipsconfig', '.*', # addpsctrl should be in bin, but ...
- 'initials', 'config.*',
- 'esint-type1', 'config.esint',
- 'zefonts', 'slantcm.cfg',
-);
-
-$standardmap='\.map';
-%specialmap = (
- 'arabxetex' => '\.(map|tec)$',
- 'kerntest' => 'NULL', # skip test map file
-);
-$standardmapdest = "fonts/map/dvips";
-%specialmapdest = (
- 'arabxetex' => "fonts/misc/xetex/fontmapping",
-);
-
-$standardvmap='\.ali';
-
-$standardenc='\.enc';
-
-$standardafm='\.afm';
-%specialafm= ();
-
-$standardpfm='\.pfm';
-%specialpfm= ();
-
-$standardpfb='\.pfb|\.inf';
-%specialpfb= ();
-
-$standardotf='\.otf';
-%specialotf= ();
-
-$standardovf='\.ovf';
-%specialovf= ();
-
-$standardofm='\.ofm';
-%specialofm= ();
-
-$standardovp='\.ovp';
-%specialovp= ( 'psfragx', 'NULL', );
-
-$standardotp='\.otp';
-%specialotp= ();
-
-$standardocp='\.ocp';
-%specialocp= ();
-
-# packages which have xmltex files
-%specialxmt= (
- 'passivetex', '\.xmt|fotex.sty',
-);
-$standardxmt='\.xmt';
-
-# which suffixes to remove after building
-$cleanpatt='\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot|\.bbl|\.blg|\.idx|\.ind|\.ilg|\.glo|\.gls|\.loa';
-%moreclean = (
- 'epslatex-fr' => 'R?Danger.eps',
- 'minitoc' => 'minitoc-texmf.zip', # should just use it, actually
-);
-
-# Read from config file to make local adjustments to above.
-readconfig();
-
-# command line options
-$opt_debug = 1; # verbosity is good
-exit 2 unless Getopt::Long::GetOptions (
- "ctan-dir=s",
- "debug!",
- "help",
- "test|n!",
- "version",
-);
-
-#
-for (@ARGV) {
- $packagedir=$_;
- if (! -d $packagedir) {
- warn "$0: $packagedir not a directory, skipping.\n";
- next;
- }
-
- &set_dir_defaults ($opt_ctan_dir);
-
- @x = split(/\//,$packagedir);
- $package = pop (@x);
- $DEST_TREE = $specialdest{$package} || $standarddest;
-
- $TOPDEST="$TDS/$package";
- $DEST="$TOPDEST/$DEST_TREE";
-
- my $MAKE=0;
- if (-f "$packagedir/Makefile") {
- open(X,"$packagedir/Makefile");
- while (<>) {
- if (/^texlive:/) {$MAKE=1;}
- }
- close(X);
- }
-
- if ($MAKE) {
- &SYSTEM("cd $packagedir; make -f Makefile texlive; mkdir -p $DEST; mv texmf/* $DEST)");
- print "Package $packagedir has a TeXlive-aware Makefile. Make and send to $DEST\n";
-
- } else {
-
- $insrunner = $specialinsrunner{$package} || $standardinsrunner;
-
- $whichformat = $specialfmt{$package} || $standardfmt;
- $whichdocformat = $specialdocfmt{$package}
- || ($DEST_TREE eq "texmf-doc" ? "english" : $standarddocfmt);
-
- print "pkg=$package (fmt=$whichformat docfmt=$whichdocformat) -> $DEST\n";
- if ($special{$package}) {
- if ($special{$package} =~ s/^die //) {
- # avoid repeating the die message.
- die "$package failed: $special{$package}\n";
- } else {
- print "special: $special{$package}...\n";
- eval $special{$package};
- die "$package failed in $special{$package}: $@" if $@;
- }
- } else {
- &donormal;
- }
- }
-
- &xchdir ($startdir);
-}
-
-
-# Override our default guess of "latex" if we can intuit from the CTAN
-# path, which ctan2tl kindly passes us.
-#
-sub set_dir_defaults
-{
- my ($ctan_dir) = @_;
- my $guess = "";
-
- if ($ctan_dir =~ m!/graphics/metapost/!) {
- $standarddocfmt = $standardsourcefmt = "metapost";
- $guess = "$standarddocfmt for docfmt/srcfmt";
-
- } elsif ($ctan_dir =~ m!/macros/xetex/latex/!) {
- $standarddocfmt = $standardsourcefmt = $standardfmt = "xelatex";
- $guess = "$standarddocfmt for fmt/docfmt/srcfmt";
-
- } elsif ($ctan_dir =~ m!/fonts/!) {
- $standarddocfmt = $standardsourcefmt = "fonts";
- $guess = "$standarddocfmt for docfmt/srcfmt";
-
- } elsif ($ctan_dir =~ m!/info/!) {
- $standarddest = "texmf-doc";
- $guess = "$standarddest for dest";
-
- } else {
- $changed = 0;
- }
-
- print "\t guessed $guess (based on $ctan_dir)\n" if $guess;
-}
-
-
-
-sub xchdir
-{
- my ($dir) = @_;
- chdir ($dir) || die "chdir($dir) failed: $!";
- chomp (my $pwd = `pwd`);
- print "\t CHDIR $dir (now $pwd)\n";
-}
-
-
-
-# some packages (e.g., vntex) are tl-ready (or near enough).
-#
-sub MAKEcopy {
- my $dest = $_[0] || $DEST;
-
- chomp (my $abspackagedir = `cd $packagedir && pwd`);
- print "\t COPY from $abspackagedir to $dest\n";
-
- &xchdir ($packagedir);
- &SYSTEM ("mkdir -p $dest");
-
- # do the copy.
- &SYSTEM ("$CP -r * $dest");
-
- # remove top-level README (shouldn't overwrite texmf-dist/README!),
- # needed for vntex, pgf, others. Do this before removing symlinks,
- # in case the README is a symlink (e.g., iwona).
- -r "$dest/README" && &SYSTEM ("rm -f $dest/README $dest/00readme*");
-
- # for arev et al., remove symlinks.
- &SYSTEM ("find $dest -type l | xargs --no-run-if-empty rm");
-
- # ditto assorted other for lm (files are in doc subtree already).
- -r "$dest/MANIFEST.txt"
- && &SYSTEM ("cd $dest && rm -f GUST*.txt MANIFEST.txt README.eng");
-
- # move CHANGELOG for stellenbosch.
- -r "$dest/CHANGELOG"
- && &SYSTEM ("mv $dest/CHANGELOG $dest/doc/$whichdocformat/$package/");
-
- # move README.eulervm for eulervm.
- -r "$dest/README.eulervm"
- && &SYSTEM ("mv $dest/README.eulervm $dest/doc/$whichdocformat/$package/");
-
- # for tex-gyre, rename context subdir. (shouldn't be needed next time.)
- if (-d "$dest/fonts/map/pdftex/context") {
- print "$package: rename context map dir.\n";
- &SYSTEM ("mv $dest/fonts/map/pdftex/context $dest/fonts/map/pdftex/tex-gyre");
- }
-
- # for eplain, move info file (with warning).
- if (-r "$dest/doc/$package/doc/eplain.info") {
- warn "WARNING: moving eplain.info to /tmp\n";
- warn " -- YOU must put it in texmf/doc/info!\n";
- &SYSTEM ("mv $dest/doc/$package/doc/eplain.info /tmp");
- }
-
- # for velthuis, remove bin dir (with warning).
- if (-d "$dest/bin") {
- warn "WARNING: removing bin/ dir in $dest\n";
- warn " -- YOU must deal with it!\n";
- &SYSTEM ("rm -rf $dest/bin");
- }
-
- # preserve the lm sources.
- if ($package eq "lm") {
- my $srcdir = " $dest/source/$whichdocformat/$package/";
- &SYSTEM ("mkdir -p $srcdir");
- &SYSTEM ("mv $dest/lm*mt1.zip $srcdir/");
- }
-}
-
-
-#
-# For most packages, this is the first thing called.
-#
-sub setup {
- my ($ctl) = @_;
-
- print "doing setup($ctl)...\n";
- # precreate the directories we might need
- $DOCDIR = "$DEST/doc/$whichdocformat/$package";
- &SYSTEM("mkdir -p $DOCDIR");
- &SYSTEM("mkdir -p $DEST/tex/$whichformat/$package");
- &SYSTEM("mkdir -p $DEST/source/$whichdocformat/$package");
-
- # remove README symlinks.
- &SYSTEM ("test -h $packagedir/README && rm -vf $packagedir/README");
-
- return if $ctl eq "nocopytodoc";
- # copy everything to the doc directory
- # and work in there
- &SYSTEM("$CP -r $packagedir/* $DEST/doc/$whichdocformat/$package");
-}
-
-sub donormal {
- print "doing donormal()...\n";
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
-# run the .ins files (if any) supplied
- $inspatt = $specialins{$package };
- if ($inspatt eq "") {
- $inspatt=$standardins;
- }
-
- $Foundry = $specialfoundry{$package} || $standardfoundry;
-
- &runins($inspatt);
-# rebuild the list of files in the directory
- &buildfilelist;
-
- if ($Foundry eq "metafont") {
- &dosimplemf;
- } else {
- &domf;
- }
-
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &dobst;
- &domp;
- &dobib;
- &doxmt;
- &dotex;
- &runfonts;
- &domakeindex;
- &doomega;
- &dosource;
- &dotype1;
-#
-# this is a bit weird, but its an easy way to remove
-# empty directories that we never used.
- &SYSTEM("rmdir $DEST/*/$whichformat/$package 2> /dev/null");
-
- killfiles($cleanpatt);
- killfiles($moreclean{$package}) if $moreclean{$package};
-
- my $postnormal = $specialpostnormal{$package};
- eval ($postnormal) if $postnormal;
-}
-
-sub runins {
- my ($thispatt) = @_;
- print "\t RUNINS $thispatt\n";
- for (grep (/$thispatt/, @filenames)) {
- # do not infinite loop on docstrip "output directory", e.g., fltpoint.
- &runjob ("yes | sed 5q | $insrunner $_");
- }
-
- my $postdelete = $specialins_postdelete{$package};
- &SYSTEM ("rm -f $postdelete") if $postdelete;
-}
-
-sub install {
- local($destdir,$thispatt) = @_;
- print "\t INSTALL $thispatt to $destdir\n";
- &SYSTEM ("mkdir -p $destdir") unless -d $destdir;
-
- for (grep (/$thispatt/, @filenames)) {
- next if $_ eq "dtx-style.sty"; # this should never be in runtime
- &SYSTEM ("$MV $_ $destdir");
- }
-}
-
-# build the documentation files
-sub dodvi
-{
- # packages which are doc themselves rarely rebuild cleanly,
- # and aren't worth it.
- return if $DEST_TREE eq "texmf-doc";
- $dvipatt = $specialdvi{$package} || $standarddvi;
- &rundvi ($dvipatt);
-}
-
-# move the runtime files
-sub dotex {
- my $texpatt = $specialtex{$package} || $standardtex;
- &install("$DEST/tex/$whichformat/$package", $texpatt);
-}
-
-# move the makeindex runtime files
-sub domakeindex {
- $makeindexpatt = $specialmakeindex{$package};
- if ($makeindexpatt eq "") { $makeindexpatt=$standardmakeindex; }
- &install("$DEST/makeindex/$package",$makeindexpatt);
-}
-
-# BibTeX style files:
-sub dobst {
- $csfpatt = $specialcsf{$package};
- if ($csfpatt eq "") { $csfpatt=$standardcsf; }
- &install("$DEST/bibtex/csf/$package",$csfpatt);
- $bstpatt = $specialbst{$package};
- if ($bstpatt eq "") { $bstpatt=$standardbst; }
- &install("$DEST/bibtex/bst/$package",$bstpatt);
-}
-
-# simple MF files, e.g., if specialfoundry eq "metafont".
-sub dosimplemf {
- my $mfpatt = $specialmf{$package} || $standardmf;
- &install ("$DEST/metafont/$package", $mfpatt);
-}
-
-# MetaPost files:
-sub domp {
- $mppatt = $specialmp{$package} || $standardmp;
- &install("$DEST/metapost/$package", $mppatt);
-}
-
-# BibTeX bibliography files:
-sub dobib
-{
- return if ! $specialbib{$package} && $DEST_TREE eq "texmf-doc";
- $bibpatt = $specialbib{$package} || $standardbib;
- &install("$DEST/bibtex/bib/$package", $bibpatt);
-}
-
-# source files:
-sub dosource{
- $sourceformat = $specialsourcefmt{$package} || $standardsourcefmt;
- # default to using specialdocfmt, as we do in setup?
- $sourcepatt = $specialsource{$package} || $standardsource;
- &install("$DEST/source/$sourceformat/$package", $sourcepatt);
-}
-
-
-sub doomega{
- $ovfpatt = $specialovf{$package};
- if ($ovfpatt eq "") { $ovfpatt=$standardovf; }
- &install("$DEST/fonts/ovf/public/$package",$ovfpatt);
- $ofmpatt = $specialofm{$package};
- if ($ofmpatt eq "") { $ofmpatt=$standardofm; }
- &install("$DEST/fonts/ofm/public/$package",$ofmpatt);
- $ovppatt = $specialovp{$package};
- if ($ovppatt eq "") { $ovppatt=$standardovp; }
- &install("$DEST/fonts/ovp/public/$package",$ovppatt);
- $otppatt = $specialotp{$package};
- if ($otppatt eq "") { $otppatt=$standardotp; }
- &install("$DEST/omega/otp/$package",$otppatt);
- $ocppatt = $specialocp{$package};
- if ($ocppatt eq "") { $ocppatt=$standardocp; }
- &install("$DEST/omega/ocp/$package",$ocppatt);
-}
-
-# the dvips and font mapping files:
-sub dotype1{
- my $encpatt = $specialenc{$package} || $standardenc;
- &install("$DEST/fonts/enc/dvips/$package", $encpatt);
-
- my $mappatt = $specialmap{$package} || $standardmap;
- my $mapdest = $specialmapdest{$package} || $standardmapdest;
- &install ("$DEST/$mapdest/$package", $mappatt);
-
- my $vmappatt = $specialvmap{$package} || $standardvmap;
- &install("$DEST/fonts/map/vtex/$package", $vmappatt);
-
- my $propatt = $specialpro{$package} || $standardpro;
- &install("$DEST/dvips/$package", $propatt);
-
- my $pfbpatt = $specialpfb{$package} || $standardpfb;
- &install("$DEST/fonts/type1/public/$package", $pfbpatt);
-
- my $afmpatt = $specialafm{$package} || $standardafm;
- &install("$DEST/fonts/afm/public/$package", $afmpatt);
-
- my $pfmpatt = $specialpfm{$package} || $standardpfm;
- &install("$DEST/fonts/type1/public/$package", $pfmpatt);
-
- my $otfpatt = $specialotf{$package} || $standardotf;
- &install("$DEST/fonts/opentype/public/$package", $otfpatt);
-}
-
-# xmltex files
-sub doxmt{
- my $xmtpatt = $specialxmt{$package} || $standardxmt;
- &install("$DEST/tex/xmltex/$package", $xmtpatt);
-}
-
-# build the font files
-sub domf {
- $mfpatt = $specialmf{$package} || $standardmf;
- &runmf ($mfpatt);
-}
-
-sub rundvi {
- local($thispatt) = @_;
- $TEX = $specialTEX{$package};
- if ($TEX eq "") {
- if ($whichformat eq 'latex') { $TEX="pdflatex"; }
- else { $TEX=$whichformat; }
- }
- if ($TEX eq "generic") { $TEX="pdflatex"; }
- print "\t MAKEDVI $thispatt using $TEX (@filenames)\n";
- for (grep(/$thispatt/,@filenames)) {
- ($FileBase,$Filepath,$Filesuffix) = fileparse($_,"\.[A-z]*");
- print "found $FileBase\n";
- if (-r "$FileBase.drv" && $Filesuffix eq ".dtx" )
- { $Filesuffix=".drv" ; }
- print "\t DOC: run $TEX on $FileBase$Filesuffix\n";
- open(TMP,">$FileBase.aux");
- close(TMP);
- &runjob("TEXMFLOCAL=. $TEX '\\nonstopmode\\input $FileBase$Filesuffix'");
- &runjob("bibtex $FileBase");
- &runjob("TEXMFLOCAL=. $TEX '\\nonstopmode\\input $FileBase$Filesuffix'");
- if ($Filesuffix eq ".drv" || $Filesuffix eq ".dtx" ) {
- &runjob("$CP $startdir/gind.ist .");
- &runjob("makeindex -s gind.ist $FileBase");
- unlink "gind.ist";
- } else {
- &runjob("makeindex $FileBase");
- }
- &runjob("$TEX '\\nonstopmode\\input $FileBase$Filesuffix'");
- }
- print "\t MAKEDVI done\n";
-}
-#
-# run a &SYSTEM job, and append stderr output to log file
-#
-sub runjob {
- local($job) = @_;
- if ($opt_test) { print "RUNJOB $job\n"}
- else{
- $Jobid="_$$";
- &SYSTEM("$job 2> $Jobid.log");
- open(TMP,"$Jobid.log") || die("Failed to open $Jobid.log") ;
- print ">> $_" while (<TMP>);
- close(TMP);
- unlink "$Jobid.log";
- }
-}
-
-# remove all files matching something in $killpatt.
-# also remove .ps files for which we have a .pdf.
-#
-sub killfiles {
- my ($killpatt) = @_;
- for (grep (/$killpatt/, @filenames)) {
- print "\t Remove $_\n";
- unlink $_;
- }
-
- for (grep (/\.ps$/, @filenames)) {
- (my $pdf = $_) =~ s/ps$/pdf/;
- next unless grep (/$pdf/, @filenames);
- print "\t Remove ps $_ (since have $pdf)\n";
- unlink $_;
- }
-
-}
-
-# rebuild list of input files, e.g., after flattening
-sub buildfilelist {
- print "doing buildfilelist()...\n";
- opendir(DIR,'.') || die ("ERROR: cannot open directory");
- @filenames =grep(!/^\.\.?$/,readdir(DIR));
- closedir(DIR);
-}
-
-sub runmf {
- my ($mfpatt) = @_;
- my $needdir=0;
- print "\t Make fonts for $package ($mfpatt)\n";
- for (grep(/$mfpatt/,@filenames)) {
- $needdir=1;
- ($FileBase,$Filepath,$Filesuffix) = fileparse($_,"\.[A-z]*");
- if (! -e "$FileBase.tfm") {
- print "\t\t Make TFM from $_\n";
- &runjob("mktextfm --destdir=`pwd` $FileBase.tfm");
- }
- }
-
- if ($needdir) {
- my $mfdir = "$DEST/fonts/source/$Foundry/$package";
- &SYSTEM ("mkdir -p $mfdir");
- #
- # don't use $mfpatt since that's only the tfm-able mf files.
- &SYSTEM ("$MV *.mf $mfdir");
- if (exists $specialmfinstall{$package}) {
- my @inst = grep (/$specialmfinstall{$package}/, @filenames);
- &SYSTEM ("$MV @inst $mfdir");
- }
- #
- &SYSTEM ("rm -f *pk"); # not worth the space
-
- } else {
- print "\t (no $mfpatt to runmf)\n";
- }
-}
-
-sub runfonts {
- $Foundry = $specialfoundry{$package} || $standardfoundry;
- for (grep(/.vf/,@filenames)) {
- $needdir=1;
- print "\t\t install VF $_\n";
-($FileBase,$Filepath,$Filesuffix) = fileparse($_,"\.[A-z]*");
- if ($needdir) {
- &SYSTEM("mkdir -p $DEST/fonts/vf/$Foundry/$package");
- $needdir=0;
- }
- &SYSTEM("$MV $FileBase.vf $DEST/fonts/vf/$Foundry/$package ");
- }
- for (grep(/.tfm/,@filenames)) {
- $needdir=1;
- print "\t\t INSTALL tfm $_\n";
-($FileBase,$Filepath,$Filesuffix) = fileparse($_,"\.[A-z]*");
- if ($needdir) {
- &SYSTEM("mkdir -p $DEST/fonts/tfm/$Foundry/$package");
- $needdir=0;
- }
- &SYSTEM("$MV $FileBase.tfm $DEST/fonts/tfm/$Foundry/$package ");
- }
-}
-
-
-sub SYSTEM {
- local ($job) = @_;
- if ($opt_test) {
- print "\t SYSTEM $job\n";
- } else {
- print "\t SYSTEM $job\n" if $opt_debug;
- system($job);
- }
-}
-
-
-sub MAKEflatten {
- &setup;
- &xchdir ("$DEST/doc/$whichdocformat/$package");
-
- print "\t SPECIAL flatten $package\n";
- # so far we've only seen README's at one level.
- &SYSTEM('for d in *; do test -r $d/README && mv $d/README README.$d; done');
-
- -d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* .");
- -d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* .");
- -d <*/*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/.> && &SYSTEM("$MV -f */* .");
- &SYSTEM("find -type d -print | xargs rmdir 2>/dev/null");
- &SYSTEM("find -type f -print >/tmp/find");
- &buildfilelist;
- &donormal;
-}
-
-# a ctan-ready zip file.
-sub MAKEunzip {
- &SYSTEM("mkdir -p $DEST");
- &xchdir ($DEST);
- &SYSTEM ("unzip -q -o -a $startdir/$packagedir/$package*.zip");
-}
-
-sub MAKEunzipandflatten {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("unzip -q -o -a $package.zip; rm $package.zip");
- &SYSTEM("$MV */*/*/*/* .; rmdir */*/*/*");
- &SYSTEM("$MV */*/*/* .; rmdir */*/*");
- &SYSTEM("$MV */*/*/* .; rmdir */*/*");
- &SYSTEM("$MV */*/* .; rmdir */*");
- &SYSTEM("$MV */*/* .; rmdir */*");
- &SYSTEM("$MV */* .; rmdir *");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEnosymlinks {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
-
- print "\t SPECIAL nosymlinks $package\n";
- &SYSTEM("find . -type l | xargs rm");
-
- &buildfilelist;
- &donormal;
-}
-
-# do some stuff for simple packages with hyphenation files, like
-# cbcoptic and ibycus-babel. The arguments are:
-# LANGNAME - full language name, like "coptic" (first arg of .dat)
-# LANGABBREV - abbreviated language name, like "cop" (in .dat filename)
-# HYPHFILE - hyphenation .tex file name, like "copthyph.tex"
-#
-# General procedure is:
-#
-# create: /home/karl/src/Master/texmf/tpm/hyphen-language.tpm
-# (must be done by hand)
-# create: texmf/tex/generic/config/language.ll.dat
-# (done here, unless it already exists)
-# install pattern file from ctan: texmf/tex/generic/hyphen/langhyph.tex
-# (done here)
-# add in: /home/karl/src/Master/texmf/tpm/collection-langother.tpm
-# (must be done by hand)
-#
-sub GENMAKEhyphenation
-{
- my ($langname,$langabbrev,$hyphfile) = @_;
- &setup;
- &buildfilelist;
- &donormal;
- print "\t SPECIAL $package: install $hyphfile\n";
- my $generichyphdir = "$TOPDEST/texmf/tex/generic/hyphen";
- &SYSTEM("mkdir -p $generichyphdir");
- &SYSTEM("$MV $hyphfile $generichyphdir");
-
- my $genericconfigdir = "$TOPDEST/texmf/tex/generic/config";
- my $configfile = "$genericconfigdir/language.$langabbrev.dat";
- if (! -r $configfile) {
- print "\t SPECIAL $package: create $configfile\n";
- &SYSTEM("mkdir -p $genericconfigdir");
- &SYSTEM("echo $langname $hyphfile >$configfile");
- }
-
- print "YOU-MUST-DO! $package: create hyphen-$langname.tlpsrc\n";
- print "YOU-MUST-DO! $package: add to collection-langwhatever.tpm\n";
-}
-
-sub MAKEcbcoptic
-{
- &GENMAKEhyphenation ("coptic", "cop", "copthyph.tex");
-}
-
-sub MAKEibycusbabel
-{
- &GENMAKEhyphenation ("ibycus", "iby", "ibyhyph.tex");
-}
-
-# since existing mongolian is written in a different encoding,
-# seems best to keep best?
-sub MAKEmnhyphn
-{
- &GENMAKEhyphenation ("mongolian2a", "mn2a", "mnhyphn.tex");
-}
-
-
-
-# package subroutines
-sub MAKEamslatex {
- # Here is an unusual special case. The AMS distributes an
- # amslatex.zip file which actually unpacks into numerous
- # subdirectories, none of which are named amslatex:
- # bibtex/bst/ams, doc/latex/amscls, doc/latex/amsmath, etc.
- #
- # For each of these directories, we make a TL package, since TL
- # so strongly ties directories to package names.
- #
- # We make those TL packages by unpacking the optimized amslatex.zip
- # provided as part of the latex-tds project; that is what has been
- # done by ctan2tl before this script has been called. Our job here is
- # to throw away all the *other* directories, so that if we are called
- # to update (say) the "amscls" package, we delete everything but that.
- #
- print "\t SPECIAL extract $package from amslatex\n";
-
- # Start with the usual straight copy.
- &MAKEcopy ();
- &xchdir ($DEST);
-
- # List of subsubdirectories, at the package level.
- my @deldir = ();
- chomp (my @dirlist = `find */*/* -type d | sort -u`);
- for my $dir (@dirlist) {
- next if $dir =~ m!$package$!; # keep matching directories
- push (@deldir, $dir);
- }
- &SYSTEM ("rm -rf @deldir"); # discard the rest
-}
-
-sub MAKEarabi {
- &xchdir ("$packagedir/arabi/texmf"); # author will remove these next time
- #
- print "\t SPECIAL $package: removing microsoft and nonfree\n";
- &SYSTEM('find -name microsoft -o -name nonfree | xargs rm -rf');
- #
- print "\t SPECIAL $package: rearranging for tds\n";
- &SYSTEM ("mkdir -p tex; mv latex tex");
- &SYSTEM ("rm -f tex/latex/arabi/updmap.cfg")
- &SYSTEM ("rm -rf dvips");
- #
- print "\t SPECIAL $package: copying to $DEST\n";
- # do the copy.
- &SYSTEM ("mkdir -p $DEST");
- &SYSTEM ("$CP -r * $DEST/");
-}
-
-sub MAKEarabtex {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package: removing top-level links\n";
- &SYSTEM('for f in apatch.sty arabtex.tex hebtex.tex hepatch.sty; do test -h $f && rm -v $f; done');
- #
- print "\t SPECIAL $package: removing top-level tgz's\n";
- &SYSTEM('for f in *.tgz; do rm -v $f; done');
- #
- print "\t SPECIAL $package: renaming arabtex.htm\n";
- &SYSTEM('mv doc/html/arabtex.htm arabtex1.htm');
- &SYSTEM('mv doc/txt/arabtex.htm arabtex2.htm');
- #
- print "\t SPECIAL $package: flatten\n";
- &xchdir ("..");
- &MAKEflatten ();
-}
-
-sub MAKEaurical {
- &xchdir ($packagedir);
- #
- # basically have a tds hier to unzip, with some cleanups.
- &SYSTEM ("unzip -q aurical_texmf.zip");
- &SYSTEM ("$MV fonts/map/dvips/misc fonts/map/dvips/$package");
- &SYSTEM ("mkdir -p fonts/source/public/aurical/");
- &SYSTEM ("$MV aurical_source.zip fonts/source/public/aurical/");
- &SYSTEM ("rm -f aurical.pdf aurical_texmf.zip");
- #
- &xchdir ("..");
- &MAKEcopy ();
-}
-
-sub MAKEbabel {
- &setup;
- &buildfilelist;
- &donormal;
- # maybe also remove bulgarian?
- print "\t SPECIAL $package: remove old lahyph.tex\n"; # since braams hasn't
- &SYSTEM("rm -f $DEST/doc/generic/$package/lahyph.tex");
- my $files = "icehyph.tex iahyphen.tex ";
- print "\t SPECIAL move to /tmp: $files\n"; # since not separate on CTAN
- &SYSTEM("cd $DEST/doc/generic/$package && mv $files /tmp");
- print "YOU-MUST-DO! check those against texmf/tex/generic/hyphen\n";
-}
-
-# not used anymore, bbm is split into bbm and bbm-macros which work
-# out of the box
-sub MAKEbbm {
- &setup;
- &xchdir("$DEST/doc/latex/$package/fonts");
- &buildfilelist;
- &domf;
- chdir("$DEST/doc/latex/$package");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEeskdx {
- &setup;
- &xchdir ("$DEST/doc/$whichdocformat/$package");
- print "\t SPECIAL $package: flatten unpacked/ dir (only)\n";
- &SYSTEM ("$MV unpacked/Makefile Makefile.unpacked");
- &SYSTEM ("$MV unpacked/* .");
- &SYSTEM ("rmdir unpacked");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEmathdesign {
- &setup ();
- &xchdir ($DOCDIR);
- #
- # basically have several tds hiers to unzip, with some cleanups.
- print "\t SPECIAL $package: unzip etc.\n";
- for my $zip (<*.zip>) {
- &SYSTEM ("cd $DEST && unzip -q -o $DOCDIR/$zip; rm -f $DOCDIR/zip");
- }
- &SYSTEM ("rm -rf commercialfonts");
- &SYSTEM ("mv $DEST/dvips/config $DEST/dvips/mathdesign");
-}
-
-sub MAKEmetauml {
- &setup;
- &xchdir ("$DEST/doc/$whichdocformat/$package");
- &SYSTEM ("$MV doc/* examples/* inputs/* .");
- &SYSTEM ("rmdir doc examples inputs");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEmflogo{
- &setup;
- chdir("$DEST");
- &runjob("tar xvf $DEST/doc/latex/$package/logofont.tar");
- chdir("$DEST/doc/latex/$package");
- &donormal;
- }
-
-sub MAKEfp {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &runjob("mkdir -p $DEST/tex/plain/fp; $CP fp.tex $DEST/tex/plain/fp");
- &donormal;
-}
-
-sub MAKEgermbib {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package remove symlinks\n";
- &SYSTEM ("find . -type l | xargs --no-run-if-empty rm");
- #
- # we can't conflict with standard apalike.sty.
- print "\t SPECIAL $package rename second apalike.sty\n";
- &SYSTEM ("$MV styles/apalike.sty styles/apalike.germbib_sty");
- #
- # spurious ^M's.
- &SYSTEM ("perl -pie 'tr/\r//' document/btxdoc.tex");
- #
- &xchdir ("..");
- &MAKEflatten ();
-}
-
-sub MAKEhyperref {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package unzip tds and copy\n";
- &SYSTEM ("rm -rf doc test"); # we will use prepared zip
- &SYSTEM ("unzip -q $package-tds.zip");
- &SYSTEM ("rm -f * 2>/dev/null"); # remove top-level files
- #
- &xchdir ("..");
- &MAKEcopy ();
-}
-
-sub MAKEoberdiek {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package unzip tds and copy\n";
- &SYSTEM ("unzip -q $package-tds.zip");
- &SYSTEM ("rm -f * 2>/dev/null"); # remove top-level files
- #
- &xchdir ("..");
- &MAKEcopy ();
-}
-
-sub MAKExkeyval {
- # needs files in both latex and generic.
- &MAKEflatten ();
- print "\t SPECIAL $package moving .tex\n";
- my $generic = "$DEST/tex/generic/$package/";
- &SYSTEM ("mkdir -p $generic; mv *.tex $generic");
-}
-
-sub MAKExymtex {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("$MV doc200/* .");
- &SYSTEM("rmdir doc");
- &buildfilelist;
- &donormal;
-}
-
-# handle mpp script a la perltex.
-sub MAKEmpattern {
- &setup;
- &buildfilelist;
- &donormal;
- print "\t SPECIAL move mpp from doc to /tmp\n";
- &SYSTEM("$MV $DEST/doc/metapost/$package/mpp /tmp");
- &SYSTEM("chmod a+x /tmp/mpp");
- print "YOU-MUST-DO! update mpp to source/.../texlive/\n";
-}
-
-sub MAKEpbdiagram {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("rm -rf mf tfm");
- &buildfilelist;
- &donormal;
-}
-
-# the perltex.pl generated from perltex.dtx must go to the source dir,
-# so it ends up installed in the bin dir for each arch.
-sub MAKEperltex {
- &setup;
- &buildfilelist;
- &donormal;
- print "\t SPECIAL move $package.pl from doc to /tmp\n";
- &SYSTEM("$MV $DEST/doc/latex/$package/$package.pl /tmp");
- &SYSTEM("chmod a+x /tmp/$package.pl");
- print "YOU-MUST-DO! update /tmp/$package.pl to source/.../texlive/\n";
-}
-
-# pgf mostly is just a copy to the tex dir, but Till has a doc dir at
-# the same level.
-#
-sub MAKEpgf
-{
- print "\t SPECIAL pgf\n";
- &MAKEcopy ("$DEST/tex");
- chdir ("$DEST/tex") || die "chdir($DEST/tex) failed: $!";
-
- print "\t SPECIAL move tex/doc/generic/pgf to doc/generic/pgf\n";
- &SYSTEM ("mkdir -p $DEST/doc/generic");
- &SYSTEM ("$MV doc/generic/pgf $DEST/doc/generic/pgf");
-}
-
-
-# copy seminar files.
-sub MAKEseminar {
- &SYSTEM("mkdir -p $DEST/tex/latex/$package");
- &SYSTEM("$CP $packagedir/inputs/* $DEST/tex/latex/$package");
- #
- &SYSTEM("mkdir -p $DEST/source/latex/$package");
- &SYSTEM("$CP $packagedir/src/* $DEST/doc/latex/$package");
- #
- &SYSTEM("mkdir -p $DEST/doc/latex/$package");
- &SYSTEM("$CP $packagedir/*read* $packagedir/doc/* $DEST/doc/latex/$package");
-}
-
-sub MAKExypic {
-# this simply copies source files as per INSTALL instructions
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/fonts/source/$Foundry/xypic");
- &runjob("mkdir -p $DEST/fonts/type1/$Foundry/xypic");
- &runjob("mkdir -p $DEST/fonts/tfm/$Foundry/xypic");
- &runjob("mkdir -p $DEST/fonts/pk/cx/$Foundry/xypic");
- &runjob("mkdir -p $DEST/tex/generic/xypic");
- &runjob("mkdir -p $DEST/dvips/xypic");
- &runjob("mkdir -p $DEST/doc/generic/xypic");
- &runjob("mkdir -p $DEST/source/generic/xypic");
- &runjob("$CP texinputs/* $DEST/tex/generic/xypic");
- &runjob("$CP texfonts/* $DEST/fonts/tfm/$Foundry/xypic");
- &runjob("$CP mfinputs/* $DEST/fonts/source/$Foundry/xypic");
- &runjob("$CP src/* $DEST/doc/generic/xypic");
- &runjob("$CP type1/* $DEST/fonts/type1/$Foundry/xypic");
- &runjob("$CP ps/* $DEST/dvips/xypic");
- &runjob("$CP doc/*.* $DEST/doc/generic/xypic");
- &runjob("$CP [A-Z]* $DEST/doc/generic/xypic");
- open (TMP,">$DEST/texmf-dist/dvips/xypic/config.xyp");
- print TMP "p +xypic.map";
- close(TMP);
-# do the PK files
- chdir("pkfonts");
- &buildfilelist;
- for (@filenames) {
- if (-d $_) {
- chdir $_;
- s/cx([0-9]*)//;
- $dpi=$1;
- opendir(DIR,'.');
- @ffontnames =grep(!/^\.\.?$/,readdir(DIR));
- closedir(DIR);
- for (@ffontnames) {
-($FileBase,$Filepath,$Filesuffix) = fileparse($_,"\.[A-z0-9]*");
- &SYSTEM("mkdir -p $DEST/fonts/pk/cx/$Foundry/xypic/dpi$dpi");
- &SYSTEM("$MV $_ $DEST/fonts/pk/cx/$Foundry/xypic/dpi$dpi/$FileBase.pk");
- }
- chdir '..';
- }
- }
-}
-
-
-sub MAKEborceux {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package/user-guides");
- &SYSTEM("$MV -f * $DEST/doc/$whichdocformat/$package");
- chdir("$DEST/doc/$whichdocformat/$package/diagram");
- &SYSTEM("$MV -f * $DEST/tex/$whichformat/$package");
-}
-
-sub MAKEbarr {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("rm *.zip");
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &domakeindex;
- &dotex;
- &dosource;
-}
-
-sub MAKEconcmath {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV fonts/*/* .");
- &buildfilelist;
- &domf;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &domakeindex;
- &dotex;
- &dosource;
-}
-
-sub MAKEplqx {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV tex/* .");
- &SYSTEM("$MV doc/* .");
- &SYSTEM("rmdir doc tex");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEaugie {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV dvips/* .");
- &SYSTEM("$MV tfm/* .");
- &SYSTEM("$MV afm/* .");
- &SYSTEM("$MV doc/* .");
- &SYSTEM("$MV vf/* .");
- &SYSTEM("$MV tex/* .");
- &SYSTEM("$MV type1/* .");
- &SYSTEM("rmdir type1 tex vf afm dvips doc tfm");
- &buildfilelist;
- &donormal;
-}
-sub MAKEae {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV tfm/* .");
- &SYSTEM("$MV vf/* .");
- &SYSTEM("$MV src/* .");
- &SYSTEM("$MV tex/* .");
- &SYSTEM("rmdir tex vf src tfm");
- &buildfilelist;
- &dosource;
- &dotex;
- &domakeindex;
- &runfonts;
-}
-
-sub MAKEdevanagr {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package: renaming README files\n";
- &SYSTEM('for f in *; do test -r $f/README && mv $f/README README.$f; done');
- #
- print "\t SPECIAL $package: moving .c and .exe to /tmp\n";
- &SYSTEM('mv bin/devnag.c bin/devnag.exe /tmp');
- #
- print "\t SPECIAL $package: flatten\n";
- &xchdir ("..");
- &MAKEflatten;
- print "YOU-MUST-DO! update /tmp/devnag.c and devnag.exe into Build\n";
-}
-
-# We don't want to flatten the templates, only the source.
-#
-sub MAKEdisser
-{
- &setup;
- &xchdir ("$DEST/doc/$whichdocformat/$package");
- print "\t SPECIAL $package\n";
- &SYSTEM ("$MV -f src/* .");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEeasy {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("rm doc/*.ps");
- &SYSTEM("$MV doc/* $DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &dotex;
- &domakeindex;
- &dosource;
-}
-
-sub MAKEebong {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package: moving .py to /tmp\n";
- &SYSTEM('mv -v *.py /tmp');
- #
- print "\t SPECIAL $package: flatten\n";
- &xchdir ("..");
- &MAKEflatten;
- print "YOU-MUST-DO! update /tmp/ebong.py into Build\n";
-}
-
-sub MAKEfootnpag {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV src/* .");
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &dotex;
- &domakeindex;
- &dosource;
-}
-
-
-sub MAKEeplain {
- print "\t SPECIAL $package\n";
- &setup;
- chdir ($DEST) || die "chdir($DEST) failed: $!";
- rename ("tex/eplain/eplain", "tex/eplain/base");
- &SYSTEM ("$MV $DOCDIR/eplain.tex tex/eplain/base");
- &SYSTEM ("$MV $DOCDIR/btxmac.tex tex/eplain/base");
- &SYSTEM ("$MV $DOCDIR/arrow.tex tex/eplain/base");
-
- &SYSTEM ("$MV $DOCDIR/doc doc/eplain/base");
- &SYSTEM ("$MV $DOCDIR/[A-L]* $DOCDIR/[M-Z]* doc/eplain/base/");
- unlink ("doc/eplain/base/texinfo.tex");
-
- rename ("source/eplain/eplain", "source/eplain/base");
- &SYSTEM ("$MV $DOCDIR/* source/eplain/base");
-
-}
-
-sub MAKEeqnarray {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
-open(TMP,">eqnarray.ins");
- print TMP "\\def\\batchfile{eqnarray.ins}\n";
-print TMP "\\input docstrip\n";
-print TMP " \\keepsilent\n";
-print TMP " \\generateFile{eqnarray.sty}f{\\from{eqnarray.dtx}{code}}\n";
-print TMP "\\end\n";
- close(TMP);
- &buildfilelist;
- &runins($standardins);
- &dodvi;
- &dotex;
- &domakeindex;
- &dosource;
-}
-
-sub MAKEfeynmf {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("gunzip manual.ps");
- &buildfilelist;
- &runins('feynmf.ins');
- &buildfilelist;
- &dosimplemf;
- &dodvi;
- &buildfilelist;
- &domp;
- &dotex;
- &domakeindex;
- &dosource;
- killfiles($cleanpatt);
-}
-
-sub MAKEchangebar {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEot2cyr {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &dodvi;
- &buildfilelist;
- &dotex;
- &domakeindex;
- &dosource;
- &SYSTEM("mkdir -p $DEST/fonts/afm/monotype/timescyr");
- &SYSTEM("$MV mnt*.afm $DEST/fonts/afm/monotype/timescyr");
- &SYSTEM("mkdir -p $DEST/fonts/tfm/monotype/timescyr");
- &SYSTEM("$MV mnt*.tfm $DEST/fonts/tfm/monotype/timescyr");
- &SYSTEM("mkdir -p $DEST/fonts/vf/monotype/timescyr");
- &SYSTEM("$MV mnt*.vf $DEST/fonts/vf/monotype/timescyr");
- &SYSTEM("mkdir -p $DEST/fonts/tfm/bh/luccyr");
- &SYSTEM("$MV hl*.tfm ls*.tfm $DEST/fonts/tfm/bh/luccyr");
- &SYSTEM("mkdir -p $DEST/fonts/vf/bh/luccyr");
- &SYSTEM("$MV hl*.vf $DEST/fonts/vf/bh/luccyr");
- killfiles($cleanpatt);
-}
-sub MAKEsiam {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &dodvi;
- &buildfilelist;
- &dobst;
- &dotex;
- &domakeindex;
- &dosource;
- &SYSTEM("mkdir -p $DEST/doc/plain/siam");
- &SYSTEM("mkdir -p $DEST/doc/amstex/siam");
- &SYSTEM("mkdir -p $DEST/tex/plain/siam");
- &SYSTEM("mkdir -p $DEST/tex/plain/amstex");
- &SYSTEM("$MV plain/*doc* $DEST/doc/plain/siam");
- &SYSTEM("$MV plain/* $DEST/tex/plain/siam");
- &SYSTEM("$MV amstex/*doc* $DEST/doc/amstex/siam");
- &SYSTEM("$MV amstex/* $DEST/tex/amstex/siam");
- killfiles($cleanpatt);
-}
-
-sub MAKEmisc {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &dotex;
- &domakeindex;
- killfiles($cleanpatt);
-}
-
-sub MAKEtamethebeast {
- my $destdir = "$DEST/doc/english/$package";
- &SYSTEM("mkdir -p $destdir");
- &SYSTEM("$CP -r $packagedir/* $destdir");
-}
-
-sub MAKEtexdraw {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
- &dotex;
- &domakeindex;
- &SYSTEM("mkdir -p $DEST/doc/generic/texdraw");
- &SYSTEM("$MV manual/* $DEST/doc/generic/texdraw");
- killfiles($cleanpatt);
-}
-
-sub MAKEexpressg {
- &setup;
-chdir("$DEST/doc/$whichdocformat/$package");
-&buildfilelist;
- $inspatt = $specialins{$package};
- &buildfilelist;
- if ($inspatt eq "") {
- $inspatt=$standardins;
- }
-&runins($inspatt);
- &SYSTEM("mpost expeg.mp");
-# rebuild the list of files in the directory
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &runfonts;
-&dobst;
- &dobib;
-&dotex;
- &domakeindex;
- &dosource;
- &dotype1;
-#
-# this is a bit weird, but its an easy way to remove
-# empty directories that we never used.
-#
- &SYSTEM("rmdir $DEST/tex/$whichformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/doc/$whichdocformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/source/$whichformat/$package 2> /dev/null");
- killfiles($cleanpatt);
-}
-
-sub MAKEtipa {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/fonts/source/$Foundry/tipa");
- &runjob("mkdir -p $DEST/fonts/type1/$Foundry/tipa");
- &runjob("mkdir -p $DEST/fonts/tfm/$Foundry/tipa");
- &runjob("mkdir -p $DEST/fonts/map/dvips/tipa");
- &runjob("mkdir -p $DEST/tex/latex/tipa");
- &runjob("mkdir -p $DEST/doc/fonts/tipa");
- &runjob("mkdir -p $DEST/source/latex/tipa");
- &runjob("$CP dvips/* $DEST/fonts/map/dvips/tipa");
- &runjob("$CP sty/* $DEST/tex/latex/tipa");
- &runjob("$CP tfm/* $DEST/fonts/tfm/$Foundry/tipa");
- &runjob("$CP type1/* $DEST/fonts/type1/$Foundry/tipa");
- &runjob("$CP mf/* $DEST/fonts/source/$Foundry/tipa");
- &runjob("$CP doc/* $DEST/doc/fonts/tipa");
-}
-
-sub MAKEpslatex {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/fonts/tfm/$Foundry/pslatex");
- &runjob("mkdir -p $DEST/fonts/vf/$Foundry/pslatex");
- &runjob("mkdir -p $DEST/tex/latex/pslatex");
- &runjob("mkdir -p $DEST/dvips/pslatex");
- &runjob("mkdir -p $DEST/doc/latex/pslatex");
- &runjob("$CP latex/* $DEST/tex/latex/pslatex");
- &runjob("$CP tfm/* $DEST/fonts/tfm/$Foundry/pslatex");
- &runjob("$CP vf/* $DEST/fonts/vf/$Foundry/pslatex");
- &runjob("$CP dvips/* $DEST/dvips/pslatex");
- &runjob("$CP -r fontinst $DEST/doc/latex/pslatex");
- &runjob("$CP -r shell $DEST/doc/latex/pslatex");
-
-}
-sub MAKEeco {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/fonts/tfm/$Foundry/eco");
- &runjob("mkdir -p $DEST/fonts/vf/$Foundry/eco");
- &runjob("mkdir -p $DEST/tex/latex/eco");
- &runjob("mkdir -p $DEST/dvips/eco");
- &runjob("mkdir -p $DEST/doc/latex/eco");
- &runjob("$CP src/*sty $DEST/tex/latex/eco");
- &runjob("$CP fd/* $DEST/tex/latex/eco");
- &runjob("$CP tfm/* $DEST/fonts/tfm/$Foundry/eco");
- &runjob("$CP vf/* $DEST/fonts/vf/$Foundry/eco");
- &runjob("$CP -r src/*tex src/*x src/*sh $DEST/doc/latex/eco");
- &runjob("$CP -r [A-Z]* $DEST/doc/latex/eco");
- }
-
-sub MAKEelhyphen {
- &setup;
- &buildfilelist;
- &donormal;
-
- print "\t SPECIAL $package: lowercase names\n";
- &SYSTEM('for f in GR*hyph*.tex; do mv $f `echo $f | tr A-Z a-z`; done');
-
- print "\t SPECIAL $package: install gr*hyph.tex files\n";
- my $generichyphdir = "$TOPDEST/texmf/tex/generic/hyphen";
- &SYSTEM("mkdir -p $generichyphdir");
- &SYSTEM("$MV gr*hyph*.tex $generichyphdir");
-
- print "YOU-MUST-DO! $package: update texmf/tex/generic/config/language.gr.dat\n";
- print "YOU-MUST-DO! $package: update texmf/tpm/hyphen-greek.tpm\n";
- print "YOU-MUST-DO! $package: add to texmf/tpm/collection-langgreek.tpm\n";
-}
-
-sub MAKEcatalog {
-# this simply copies source files
- $DEST="$TDS/catalogue/texmf-doc";
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/doc/english/catalogue");
- &runjob("$CP -r * $DEST/doc/english/catalogue");
- chdir("$DEST/doc/html/catalogue/entries") || die ("ERROR cannot chdir $DEST/doc/english/catalogue/entries");
- &buildfilelist;
- foreach $File (grep(/.html$/,@filenames)) {
- print "process $File\n";
- open FOO,">$File.new";
- open BAR,"$File";
- while (<BAR>) {
- s|\.\./\.\./\.\.|http://theory.uwinnipeg.ca/scripts/CTAN|g;
- print FOO ;
- }
- close FOO;
- close BAR;
- &SYSTEM("$MV $File.new $File");
- }
- }
-
-# all the lshort translations are pretty similar.
-sub MAKElshort {
- print "MAKElshort\n";
- (my $lang = $package) =~ s,.*-,,; # lshort-english -> english
- my $destdir = "$DEST/doc/$lang/$package";
- &SYSTEM("mkdir -p $destdir");
- &SYSTEM("$CP -r $packagedir/* $destdir");
- # keep only pdf's to save space.
- &SYSTEM("cd $destdir && rm -f lshort*.ps *lshort*.ps.*z* lshort*.dvi lshort-*-book.zip");
-}
-
-sub MAKEltt {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/doc/ltt");
- &runjob("$CP * $DEST/doc/ltt");
- }
-
-sub MAKEpstricks {
-# this simply copies source files
- &xchdir ($packagedir);
- &runjob("mkdir -p $DEST/tex/generic/pstricks");
- &runjob("mkdir -p $DEST/doc/generic/pstricks");
- &runjob("mkdir -p $DEST/source/generic/pstricks");
- &runjob("mkdir -p $DEST/tex/latex/pstricks");
- &runjob("mkdir -p $DEST/dvips/pstricks");
- &runjob("$CP generic/* $DEST/tex/generic/pstricks");
- &runjob("$CP latex/* $DEST/tex/latex/pstricks");
- &runjob("$CP -r doc/* $DEST/doc/generic/pstricks");
- &runjob("mv $DEST/doc/generic/pstricks/Changes $DEST/doc/generic/pstricks/Changes.doc");
- &runjob("$CP dvips/* $DEST/dvips/pstricks");
- &runjob("$CP [A-Z]* $DEST/doc/generic/pstricks");
- chdir($packagedir);
- }
-
-sub MAKEwilson {
- &setup;
-
- my $docdir = "$DEST/doc/$whichdocformat/$package";
- chdir ($docdir) || die "chdir($docdir) failed: $!";
-
- my $mapdir = "$DEST/fonts/map/dvips/$package";
- -d $mapdir || &SYSTEM ("mkdir -p $mapdir");
- &SYSTEM ("$MV *.map $mapdir"); # archaicprw.map
-
- opendir(DIR,'.') || die "opendir(.) failed: $!";
- @dirnames =grep(!/^\.\.?$/,readdir(DIR));
- closedir(DIR);
-
- for my $d (@dirnames) {
- if ($d =~ /\.zip$/) {
- unlink ("$docdir/$d");
- next;
- }
-
- my $target = "$docdir/$d";
- next if ! -d $target; # samples/readme files
- print "PROCESS Wilson subdir $d\n";
- chdir ($target) || die "chdir($target) failed: $!";
-
- if ($d) {
- for my $f (glob ("try*"), glob ("*.pdf"), "README") {
- my $dest = "$docdir/";
- $dest .= "$d-" if $f !~ /$d/;
- $dest .= $f;
- &runjob("$MV $f $dest");
- }
- }
-
- &buildfilelist;
-# run the .ins files (if any) supplied
- $inspatt = $specialins{$package};
- &buildfilelist;
- &runins($inspatt || $standardins);
- &dodvi;
- &domf;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &runfonts;
- &dobst;
- &dobib;
- &dotex;
- &domakeindex;
- &dosource;
- &dotype1;
- killfiles($cleanpatt);
- }
- killfiles($cleanpatt);
-}
-
-sub MAKEt2 {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/dvips/t2");
- &runjob("mkdir -p $DEST/tex/fontinst/cyrfinst");
- &runjob("mkdir -p $DEST/tex/plain/cyrplain");
- &runjob("mkdir -p $DEST/tex/latex/t2");
- &runjob("mkdir -p $DEST/doc/generic/t2");
- &runjob("$CP -r cyrfinst/* $DEST/tex/fontinst/cyrfinst");
- &runjob("$CP -r cyrplain/* $DEST/tex/plain/cyrplain");
- &runjob("$CP enc-maps/encfiles/* $DEST/fonts/enc/t2");
- &runjob("$CP enc-maps/*.* enc-maps/[A-Z]* $DEST/doc/generic/t2");
- &runjob("$CP -r etc examples $DEST/doc/generic/t2");
- chdir("$DEST/doc/generic/t2/etc");
- &runjob("latex mathtext.ins");
- &runjob("rm *log; mv *sty $DEST/tex/latex/t2");
- }
-
-sub MAKEcontext {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST");
- &runjob("$CP cont-tmf.zip cont-wrk.zip cont-uti.zip $DEST");
- chdir($DEST) || die ("ERROR: cannot open directory");
- &runjob("unzip -o cont-tmf");
- &runjob("unzip -o cont-uti");
- &runjob("unzip -o cont-wrk");
- &runjob("mkdir web2c");
- &runjob("cd tex/context/config; mv texexec.rm texexec.ini");
- &runjob("rm cont-tmf.zip cont-wrk.zip cont-uti.zip ");
-open FOO,">tex/context/config/cont-cz.ini";
-print FOO "\\input cont-cz.tex\n";
-print FOO "\\endinput";
-close FOO;
-open FOO,">tex/context/config/cont-de.ini";
-print FOO "\\input cont-de.tex\n";
-print FOO "\\endinput";
-close FOO;
-open FOO,">tex/context/config/cont-en.ini";
-print FOO "\\input cont-en.tex\n";
-print FOO "\\endinput";
-close FOO;
-open FOO,">tex/context/config/cont-nl.ini";
-print FOO "\\input cont-nl.tex\n";
-print FOO "\\endinput";
-close FOO;
-open FOO,">tex/context/config/cont-uk.ini";
-print FOO "\\input cont-uk.tex\n";
-print FOO "\\endinput";
-close FOO;
-open FOO,">tex/context/config/context.ini";
-print FOO "\\input context.tex\n";
-print FOO "\\endinput";
-close FOO;
-# &runjob("sed 's/\#\#//' < `kpsewhich fmtutil.cnf` > /tmp/fmtutil.$Jobid");
-# &runjob("TEXMFLOCAL=$DEST VARTEXMF=$DEST fmtutil --cnffile /tmp/fmtutil.$Jobid --fmtdir web2c --byfmt cont-en");
-# &runjob("TEXMFLOCAL=$DEST VARTEXMF=$DEST fmtutil --cnffile /tmp/fmtutil.$Jobid --fmtdir web2c --byfmt cont-de");
-# &runjob("TEXMFLOCAL=$DEST VARTEXMF=$DEST fmtutil --cnffile /tmp/fmtutil.$Jobid --fmtdir web2c --byfmt cont-nl");
-# &runjob("rm /tmp/fmtutil.$Jobid");
- }
-
-# docs in two languages. The English one is in a separate package,
-# mathmode. Just remove it from the copy when building the German one.
-#
-sub MAKEvossde {
- my $docdir = "$DEST/doc/german/$package";
- &SYSTEM("mkdir -p $docdir");
- &SYSTEM("$CP -r $packagedir/* $docdir");
- &SYSTEM("rm -r $docdir/mathmode");
-}
-
-
-# includes shell script.
-sub MAKEvpe {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package: moving vpe.pl to /tmp\n";
- &SYSTEM('mv vpe.pl /tmp/vpe');
- #
- &xchdir ("..");
- &donormal ();
- #
- print "YOU-MUST-DO! update /tmp/vpe to source/texk/texlive\n";
-}
-
-sub MAKEwordcount {
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package: moving wordcount.sh to /tmp\n";
- &SYSTEM('mv wordcount.sh /tmp/');
- #
- &xchdir ("..");
- &donormal ();
- #
- print "YOU-MUST-DO! update /tmp/wordcount.sh to source/texk/texlive\n";
-}
-
-sub MAKEukrhyph {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/tex/generic/ukrhyph");
- &runjob("mkdir -p $DEST/doc/generic/ukrhyph");
- &runjob("$CP README $DEST/doc/generic/ukrhyph");
- &runjob("$CP *.* $DEST/tex/generic/ukrhyph");
- &runjob("$MV $DEST/tex/generic/ukrhyph/*.pdf $DEST/doc/generic/ukrhyph");
- &runjob("rm $DEST/tex/generic/ukrhyph/*.ps");
- }
-
-sub MAKElfb {
- # remove pregenerated pk files.
- &MAKEflatten ();
- print "\t SPECIAL removing lfb PK files\n";
- &SYSTEM("rm *pk");
-}
-
-sub MAKElibertine
-{
- print "\t SPECIAL copy of $package\n";
- &SYSTEM ("mkdir -p $DEST");
-
- # eliminate texmf level.
- &xchdir ("$packagedir/texmf");
-
- # do the copy.
- &SYSTEM ("$CP -rv * $DEST");
-
- # remove extra libertine.map.
- &SYSTEM ("rm -f $DEST/dvips/config/libertine.map");
- &SYSTEM ("rmdir -p $DEST/dvips/config");
-}
-
-sub MAKEliterat {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/fonts/tfm/paragrap/literat");
- &runjob("mkdir -p $DEST/fonts/vf/paragrap/literat");
- &runjob("mkdir -p $DEST/fonts/type1/paragrap/literat");
- &runjob("mkdir -p $DEST/fonts/afm/paragrap/literat");
- &runjob("mkdir -p $DEST/tex/latex/literat");
- &runjob("mkdir -p $DEST/dvips/literat");
- &runjob("mkdir -p $DEST/doc/fonts/literat");
-
- &runjob("$CP dvips/* $DEST/dvips/literat");
- &runjob("$CP tex/*tex $DEST/doc/fonts/literat");
- &runjob("$CP psfonts/*pfb $DEST/fonts/type1/paragrap/literat");
- &runjob("$CP psfonts/*inf $DEST/fonts/type1/paragrap/literat");
- &runjob("$CP psfonts/*afm $DEST/fonts/afm/paragrap/literat");
- &runjob("$CP tex/*sty tex/*fd $DEST/tex/latex/literat");
- &runjob("$CP tfm/* $DEST/fonts/tfm/paragrap/literat");
- &runjob("$CP tfm-raw/* $DEST/fonts/tfm/paragrap/literat");
- &runjob("$CP vf/* $DEST/fonts/vf/paragrap/literat");
- &runjob("$CP [A-Z]* insta* license $DEST/doc/fonts/literat");
- }
-
-
-sub MAKExmltex {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
- &runjob("mkdir -p $DEST/tex/xmltex/config");
- &runjob("mkdir -p $DEST/tex/xmltex/base");
- &runjob("mkdir -p $DEST/doc/xmltex/base");
-
- &runjob("$CP *.ini $DEST/tex/xmltex/config");
- &runjob("$CP xmltex.tex *xmt xmltex.cfg $DEST/tex/xmltex/base");
- &runjob("$CP manual* *xml test* *txt $DEST/doc/xmltex/base");
- }
-
-sub MAKEbase {
- &SYSTEM("mkdir -p $DEST/tex/latex/base");
- &SYSTEM("mkdir -p $DEST/doc/latex/base");
- &SYSTEM("mkdir -p $DEST/doc/latex/base");
- if (-f "$packagedir/00Contents" ) { unlink "$packagedir/00Contents" ; }
- &SYSTEM("$CP -r $packagedir/* $DEST/doc/latex/base");
- chdir($packagedir) || die ("ERROR: cannot open directory");
- $package="base";
- $DEST="$TDS/ltxbase/texmf-dist";
- print "!$whichformat $packagedir ($package) -> $DEST\n";
- &donormal;
- }
-
-sub MAKEfancyvrb {
- &setup;
- chdir("$DEST/doc/latex/$package");
- print "\t SPECIAL $package: move contrib\n";
- &SYSTEM("$MV contrib/README README.contrib");
- &SYSTEM("$MV contrib/* .; rmdir contrib");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEfeatpost {
- &setup;
- chdir("$DEST/doc/metapost/$package")
- || die "chdir($DEST/doc/metapost/$package) failed: $!";
- print "\t SPECIAL $package, leaving most in doc\n";
- @filenames = glob("macro/*.mp");
- &install("$DEST/metapost/featpost", ".mp");
- &SYSTEM("rm -rf system"); # seeing his texmf.cnf will only confuse people
-}
-
-sub MAKEucs {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("$MV data $DEST/tex/latex/ucs");
- &SYSTEM("$MV *def *sty $DEST/tex/latex/ucs");
- &SYSTEM("$MV contrib/* $DEST/tex/latex/ucs");
-}
-
-sub MAKEtexsis {
- &setup;
- chdir("$DEST/doc/texsis/$package");
- &SYSTEM("make TXSsite.tex");
- &buildfilelist;
- &donormal;
- &SYSTEM("rm *.ps");
-}
-
-
-sub MAKEthumbpdf {
- &donormal;
- my $myscriptdir = "$TOPDEST/texmf/scripts/thumbpdf";
- &SYSTEM("mkdir -p $myscriptdir/");
- &SYSTEM("mv thumbpdf.pl $myscriptdir/");
-}
-
-sub MAKEIEEEtran {
- print "\t SPECIAL renaming README files, then flatten\n";
- chdir ($packagedir) || die "chdir($packagedir) failed: $!";
- &SYSTEM('for f in *; do test -r $f/README && mv $f/README README.$f; done');
- chdir ("..");
- &MAKEflatten;
- # let's not worry about the fact that the tex run on testflow fails (it
- # wants a paper size); we still get the distributed pdf, which is good enough.
-}
-
-sub MAKEbardiag {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("$MV doc/* .");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEmathpazo {
- &setup;
- chdir("$DEST/doc/latex/$package");
- &SYSTEM("$MV latex/* type1/* afm/* vf/* tfm/* dvips/* .; rmdir latex type1 afm vf tfm dvips");
- &buildfilelist;
- &donormal;
-}
-
-sub MAKEhaprosper {
- &setup ("nocopytodoc"); # create dirs but that's all
- chdir("$packagedir");
- &SYSTEM("mkdir -p $DEST");
- print "\t SPECIAL copying HA-prosper\n";
- &SYSTEM("$CP -r README Doc/* $DEST/doc/latex/HA-prosper");
- &SYSTEM("$CP -r Run/* $DEST/tex/latex/HA-prosper");
- &SYSTEM("$CP -r Source/* $DEST/source/latex/HA-prosper");
-}
-
-sub MAKEpclnfss {
- chdir("$packagedir");
- &SYSTEM("mkdir -p $DEST/source/fonts/pclnfss");
- &SYSTEM("mkdir -p $DEST/doc/fonts/pclnfss");
- &SYSTEM("$CP -r [A-Z]* $DEST/doc/fonts/pclnfss");
- &SYSTEM("$CP -r fonts $DEST");
- &SYSTEM("$CP -r tex $DEST");
- &SYSTEM("$CP -r src/* tests $DEST/source/fonts/pclnfss");
-
-}
-
-sub MAKEpdf_forms_tutorial
-{
- # called for both the en and de versions.
- &xchdir ($packagedir);
-
- my $lang;
- my $ll = substr ($package, -2); # en or de
- if ($ll eq "en") {
- $lang = "english";
- } elsif ($ll eq "de") {
- $lang = "german";
- } else {
- die "unexpected language code for $package: $ll";
- }
-
- my $dest_lang = "$DEST/doc/$lang";
- my $dest_pkg = "$dest_lang/pdf-forms-tutorial-$ll";
- &SYSTEM ("mkdir -p $dest_lang");
- &SYSTEM ("$CP -r $ll $dest_pkg");
- &SYSTEM ("$CP README fdl.txt $dest_pkg");
-}
-
-sub MAKEbeamer {
- &xchdir ($packagedir);
- my $destdoc = "$DEST/doc/latex/beamer";
- &SYSTEM ("mkdir -p $destdoc");
- &SYSTEM ("$CP -r * $destdoc");
- &xchdir ($destdoc);
-
- my $desttex = "$DEST/tex/latex/beamer";
- &SYSTEM("mkdir -p $desttex");
- &SYSTEM("$MV base/* themes emulation extensions/multimedia $desttex");
-}
-
-
-# this doesn't work.
-sub MAKEbeebe {
- &setup;
- print "\t SPECIAL moving beebe .bib and .bst\n";
- chdir ("$DEST/doc/latex/$package") || die;
- &SYSTEM("mkdir -p $DEST/bibtex/bib/beebe $DEST/bibtex/bst/beebe");
- &SYSTEM("$MV tex*.bib tug*.bib $DEST/bibtex/bib/beebe");
-#xx ugh, they aren't there &SYSTEM("$MV *.bst $DEST/bibtex/bst/beebe");
- &SYSTEM("rm *");
-
-}
-# pstricks packages usually support both plain and latex.
-#
-sub MAKEpst {
- print "\t SPECIAL pst $package starts\n";
- $standardtex = qq{^$package(Obj)?\.(tex|sty)}; # for pst-laboObj.tex
- $whichformat='generic';
- $whichdocformat='generic';
- $specialsourcefmt{$package}='generic';
- &setup;
- &xchdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
-
- $inspatt=$standardins if ! $inspatt;
- &runins($inspatt);
- &buildfilelist;
- &dosource;
- &dotex;
- &dotype1;
- killfiles($cleanpatt);
- &SYSTEM("mkdir -p $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/tex/generic/$package/*sty $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/doc/generic/$package/*sty $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/doc/generic/$package/*cfg $DEST/tex/latex/$package");
-
- if (-f "scripts/ps4pdf") {
- print "YOU-MUST-DO! copy scripts/ps4pdf to source/texk/tetex\n";
- }
-}
-
-# pst-geo specialities
-#
-sub MAKEpstgeo {
- print "\t SPECIAL pst-geo $package starts\n";
- $standardtex = qq{^$package(Obj)?\.(tex|sty)}; # for pst-laboObj.tex
- $whichformat='generic';
- $whichdocformat='generic';
- $specialsourcefmt{$package}='generic';
- &setup;
- &xchdir("$DEST/doc/$whichdocformat/$package");
- -d <*/*/*/*/*/.> && &SYSTEM("$MV -f */*/*/*/* .");
- -d <*/*/*/*/.> && &SYSTEM("$MV -f */*/*/* .");
- -d <*/*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/*/.> && &SYSTEM("$MV -f */*/* .");
- -d <*/.> && &SYSTEM("$MV -f */* .");
- &SYSTEM("find -type d -print | xargs rmdir 2>/dev/null");
- &SYSTEM("find -type f -print >/tmp/find");
- &buildfilelist;
-
- $inspatt=$standardins if ! $inspatt;
- &runins($inspatt);
- &buildfilelist;
- &dosource;
- &dotex;
- &dotype1;
- killfiles($cleanpatt);
- &SYSTEM("mkdir -p $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/tex/generic/$package/*sty $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/doc/generic/$package/*sty $DEST/tex/latex/$package");
- &SYSTEM("mv $DEST/doc/generic/$package/*cfg $DEST/tex/latex/$package");
-}
-
-
-sub MAKEfontinst {
-chdir("$packagedir");
-&runjob("mkdir -p $DEST/tex/latex/fontinst");
-&runjob("mkdir -p $DEST/tex/fontinst");
-&runjob("mkdir -p $DEST/source/fontinst");
-&runjob("mkdir -p $DEST/doc/fontinst/base");
-&runjob("$CP -r examples test $DEST/doc/fontinst/base");
-&runjob("$CP -r doc/* README test $DEST/doc/fontinst/base");
-&runjob("$CP -r source $DEST/source/fontinst/base");
-&runjob("$CP -r latex/* $DEST/tex/latex/fontinst");
-&runjob("$CP -r inputs/* $DEST/tex/fontinst");
-}
-
-sub MAKEpsnfss {
- # we use the psnfss.zip from the latex-tds project.
- # But we don't want the actual tfm/vf; TL has many more tfm's (in
- # different packages), and we don't want to mess with that. So just
- # remove the fonts subdir -- except for the map files, which we do want.
- #
- print "\t SPECIAL omit fonts from latex-tds $package\n";
-
- # Start with the usual straight copy.
- &MAKEcopy ();
-
- # Then remove the entire fonts tree.
- &xchdir ("$DEST/fonts");
- &SYSTEM ("rm -rf enc tfm vf");
-}
-
-sub MAKEkoma {
- # tds zip file provided, unzip and copy.
- #
- &xchdir ($packagedir);
- #
- print "\t SPECIAL $package unzip and copy\n";
- &SYSTEM ("unzip -q komascript.tds.zip");
- &SYSTEM ("rm -f *"); # remove the top-level files, they're in the zip
- #
- &xchdir ("..");
- &MAKEcopy ();
-}
-
-sub MAKEcmlgc {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("rm -rf vtex");
- &MAKEflatten;
-}
-
-sub MAKEpict2e {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &buildfilelist;
-# run the .ins files (if any) supplied
- $inspatt = $specialins{$package} || $standardins;
- $Foundry = $specialfoundry{$package} || $standardfoundry;
- &runins($inspatt);
-# rebuild the list of files in the directory
- &SYSTEM("$MV pict2e-example.cfg pict2e.cfg");
- &buildfilelist;
- &dodvi;
-# rebuild again, as we have .dvi files now
- &buildfilelist;
- &dotex;
- &dosource;
- &SYSTEM("rmdir $DEST/tex/$whichformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/source/$whichformat/$package 2> /dev/null");
- &SYSTEM("rmdir $DEST/doc/$whichdocformat/$package 2> /dev/null");
- killfiles($cleanpatt);
-}
-
-
-sub MAKEpictex {
- &setup;
- chdir ($DOCDIR) || die "chdir($DOCDIR) failed: $!";
- &SYSTEM("rm -rf mathspic"); # separate package
- &SYSTEM("$MV addon/* .; rmdir addon");
- &donormal;
-}
-
-
-sub MAKElistings {
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &setup;
- chdir("$DEST/doc/$whichdocformat/$package");
- &SYSTEM("$MV listings*pdf listings.pdf");
- &donormal;
-}
-
-sub POSTfpl
-{
- &SYSTEM ("$MV README.source $DEST/source/fonts/fpl/README");
-}
-
-sub POSTinteractiveworkbook
-{
- my $dest = "$DEST/tex/latex/$package";
- &SYSTEM ("mkdir -p $dest");
- &SYSTEM ("$MV interactiveworkbook.sty/* $dest/");
- &SYSTEM ("rmdir interactiveworkbook.sty");
-}
-
-
-# Allow overrides. In particular, CTAN can change some hashes to make
-# packages with licenses that TL doesn't allow.
-#
-# Put the config file "ctan2tds-config.pl" in the dir from which you
-# run this script, or better, set the environment variable "CTAN2TDS_CONFIG".
-#
-sub readconfig
-{
- my ($base,$dir,$ext) = fileparse ($0,'\.pl');
-
- my $configFileName = "$dir/$base-config.pl";
- $configFileName = $ENV{"CTAN2TDS_CONFIG"} || $configFileName;
-
- my $result;
- if (-f $configFileName) {
- my $err = "Error: CTAN config file $configFileName";
- $result = eval `cat $configFileName`; # like require, but no look in INC
- die "$err; evaluation in file failed: $@"
- if $@;
- die "$err; yielded result that is false"
- unless $result;
- } else {
- $result=1;
- }
- return $result;
-}
diff --git a/Build/cdbuild/docstrip.cfg b/Build/cdbuild/docstrip.cfg
deleted file mode 100644
index f1717501c4c..00000000000
--- a/Build/cdbuild/docstrip.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-\askforoverwritefalse
-\endinput
diff --git a/Build/cdbuild/dupl.pl b/Build/cdbuild/dupl.pl
deleted file mode 100644
index c98ac231bb3..00000000000
--- a/Build/cdbuild/dupl.pl
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/perl
-use English;
-use Getopt::Long;
-use FileHandle;
-use File::Basename;
-use File::Find;
-use Cwd;
-$_=`kpsewhich -expand-var '\$TEXMFDIST'`;
-chop;
-print "texmf is rooted at $_\n";
-chdir $_ || die "cannot change directory to [$_]\n";
-&Check("tex");
-&Check("tex/plain");
-&Check("tex/generic");
-&Check("tex/latex");
-&Check("doc");
-&Check("source");
-&Check("fonts");
-
-sub Check{
-(my $Dir) = @_;
-print "\nDUPLICATES in $Dir\n";
-find(\&lfiles,$Dir);
-foreach $i (sort keys %Files) {
- $_ = $Files{$i};
- if (/ /) { print "$i: $_\n";
- @d=split(" ",$_,);
- foreach (@d) {
- system "ls -l $_/$i >> /tmp/$$.log";
- }
- open (L,"/tmp/$$.log") || die "where is /tmp/$$.log?";
- while (<L>) { print " $_";}
- close L;
- unlink "/tmp/$$.log";
- }
- $Files{$i}="";
-}
-}
-sub lfiles {
- if (-f) {
- if (/README/) {}
- elsif (/MANIFEST/) {}
- elsif (/TODO/) {}
- elsif (/makefile/) {}
- elsif (/Makefile/) {}
- elsif (/READ.ME/) {}
- elsif (/readme/) {}
- elsif (/patch/) {}
- elsif (/Change/) {}
- elsif (/CHANGE/) {}
- elsif (/FILE/) {}
- elsif (/NOTE/) {}
- elsif (/INSTALL/) {}
- elsif (/install\.*/) {}
- elsif (/NEWS/) {}
- elsif (/CATALOG/) {}
- elsif (/catalog/) {}
- elsif (/changes\.*/) {}
- elsif (/ANNOUNCE/) {}
- elsif (/COPY/) {}
- elsif (/node.*html/) {}
- elsif (/index.html/) {}
- elsif (/example.*tex/) {}
- elsif (/example.*dvi/) {}
- elsif (/sample.*tex/) {}
- elsif (/sample.*dvi/) {}
- elsif (/\.pk$/) {}
- elsif (/\.gif$/) {}
- elsif (/\.inl$/) {}
-else
- { $dir=$File::Find::dir;
- if ( $Files{$_} ne "") { $Files{$_} .= " $dir"; }
- else { $Files{$_}=$dir; }}
- }
-}
-
diff --git a/Build/cdbuild/gind.ist b/Build/cdbuild/gind.ist
deleted file mode 100644
index 2a80b23f790..00000000000
--- a/Build/cdbuild/gind.ist
+++ /dev/null
@@ -1,126 +0,0 @@
-%%
-%% This is file `gind.ist',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% doc.dtx (with options: `gind')
-%%
-%%
-%% This is a generated file.
-%%
-%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
-%% authors listed elsewhere in this file.
-%%
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%%
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%% This system is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%%
-%% For error reports concerning UNCHANGED versions of this file no
-%% more than one year old, see bugs.txt.
-%%
-%% Please do not request updates from us directly. Primary
-%% distribution is through the CTAN archives.
-%%
-%%
-%% IMPORTANT COPYRIGHT NOTICE:
-%%
-%% You are NOT ALLOWED to distribute this file alone.
-%%
-%% You are allowed to distribute this file under the condition that it
-%% is distributed together with all the files listed in manifest.txt.
-%%
-%% If you receive only some of these files from someone, complain!
-%%
-%%
-%% Permission is granted to copy this file to another file with a
-%% clearly different name and to customize the declarations in that
-%% copy to serve the needs of your installation, provided that you
-%% comply with the conditions in the file legal.txt.
-%%
-%% However, NO PERMISSION is granted to generate or to distribute a
-%% modified version of this file under its original name.
-%%
-%% You are NOT ALLOWED to change this file.
-%%
-%%
-%% MODIFICATION ADVICE:
-%%
-%% If you want to customize this file, it is best to make a copy of
-%% the source file(s) from which it was produced. Use a different
-%% name for your copy(ies) and modify the copy(ies); this will ensure
-%% that your modifications do not get overwritten when you install a
-%% new release of the standard system. You should also ensure that
-%% your modified source file does not generate any modified file with
-%% the same name as a standard file.
-%%
-%% You can then easily distribute your modifications by distributing
-%% the modified and renamed copy of the source file, taking care to
-%% observe the conditions in legal.txt; this will ensure that other
-%% users can safely use your modifications.
-%%
-%% You will also need to produce your own, suitably named, .ins file to
-%% control the generation of files from your source file; this file
-%% should contain your own preambles for the files it generates, not
-%% those in the standard .ins files.
-%%
-%% The names of the source files used are shown above.
-%%
-%%
-%%
-%% \CharacterTable
-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
-%% Package `doc' to use with LaTeX 2e
-%% Copyright (C) 1989-1995 Frank Mittelbach, all rights reserved.
-%% This is a MAKEINDEX style file which should be used to
-%% generate the formatted index for use with the doc
-%% package. The TeX commands used below are defined in
-%% doc.sty. The commands for MAKEINDEX like `level'
-%% `item_x1' are described in `` Makeindex, A General
-%% Purpose, Formatter-Independent Index Processor'' by
-%% Pehong Chen.
-
-actual '='
-quote '!'
-level '>'
-preamble
-"\n \\begin{theindex} \n \\makeatletter\\scan@allowedfalse\n"
-postamble
-"\n\n \\end{theindex}\n"
-item_x1 "\\efill \n \\subitem "
-item_x2 "\\efill \n \\subsubitem "
-delim_0 "\\pfill "
-delim_1 "\\pfill "
-delim_2 "\\pfill "
-% The next lines will produce some warnings when
-% running Makeindex as they try to cover two different
-% versions of the program:
-lethead_prefix "{\\bfseries\\hfil "
-lethead_suffix "\\hfil}\\nopagebreak\n"
-lethead_flag 1
-heading_prefix "{\\bfseries\\hfil "
-heading_suffix "\\hfil}\\nopagebreak\n"
-headings_flag 1
-
-%%
-%% End of file `gind.ist'.
diff --git a/Build/cdbuild/grab b/Build/cdbuild/grab
deleted file mode 100755
index 65f36c28baa..00000000000
--- a/Build/cdbuild/grab
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-HERE=`cd \`dirname $0\` && /bin/pwd`
-cd $HERE || exit 1
-ROOT=`cd ../../Master && /bin/pwd`
-MASTER=$ROOT/texmf-dist/tpm
-cd $HERE/cooked || exit 1
-mkdir $1
-cd $1
-echo process $1 from $MASTER
-test -f $MASTER/$1.tpm \
- && xsltproc -o /var/tmp/$$.list $HERE/tpm2files.xsl $MASTER/$1.tpm
-(cd $ROOT; tar -c -T /var/tmp/$$.list -f - ) | tar xf -
-rm -rf texmf-dist/tpm/lists texmf-dist/tpm
-chmod -R u+w .
-echo Should have written `cat /var/tmp/$$.list | wc -l` files
-rm /var/tmp/$$.list
diff --git a/Build/cdbuild/grab-doc b/Build/cdbuild/grab-doc
deleted file mode 100755
index 27f1a7e0a5d..00000000000
--- a/Build/cdbuild/grab-doc
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-HERE=`cd \`dirname $0\` && /bin/pwd`
-cd $HERE || exit 1
-ROOT=`cd ../../Master && /bin/pwd`
-MASTER=$ROOT/texmf-doc/tpm
-cd $HERE/cooked || exit 1
-mkdir $1
-cd $1
-echo process $1 from $MASTER
-test -f $MASTER/$1.tpm \
- && xsltproc -o /var/tmp/$$.list $HERE/tpm2files.xsl $MASTER/$1.tpm
-(cd $ROOT; tar -c -T /var/tmp/$$.list -f - ) | tar xf -
-rm -rf texmf-dist/tpm/lists texmf-doc/tpm
-chmod -R u+w .
-echo Should have written `cat /var/tmp/$$.list | wc -l` files
-rm /var/tmp/$$.list
diff --git a/Build/cdbuild/listbysize b/Build/cdbuild/listbysize
deleted file mode 100644
index fa330422613..00000000000
--- a/Build/cdbuild/listbysize
+++ /dev/null
@@ -1 +0,0 @@
-find /texlive -type f -printf "%s %p\n" | sort -n
diff --git a/Build/cdbuild/macmap b/Build/cdbuild/macmap
deleted file mode 100644
index 2d4ec5b1e62..00000000000
--- a/Build/cdbuild/macmap
+++ /dev/null
@@ -1,4 +0,0 @@
-
-# EXTN XLate CREATOR TYPE Comment
-.hqx Ascii 'BnHq' 'TEXT' "BinHex file"
-* Ascii 'ttxt' 'TEXT' "Text file"
diff --git a/Build/cdbuild/make-package-sizes b/Build/cdbuild/make-package-sizes
deleted file mode 100755
index 3c7d9d9c955..00000000000
--- a/Build/cdbuild/make-package-sizes
+++ /dev/null
@@ -1,11 +0,0 @@
-cd /texlive/Master
-for i in `find texmf-dist/lists -type f `
-do
- cat $i | sed -e "/^ *$/d" -e 's/^ *//' > /tmp/zz
- tar --create --totals -f /tmp/xx -T /tmp/zz >& /tmp/yy
- sed 's/Total bytes written://' < /tmp/yy > /tmp/xx
- echo $i: `cat /tmp/xx`
- rm /tmp/yy
- rm /tmp/xx
- rm /tmp/zz
-done
diff --git a/Build/cdbuild/make-system-sizes b/Build/cdbuild/make-system-sizes
deleted file mode 100755
index abd8abee316..00000000000
--- a/Build/cdbuild/make-system-sizes
+++ /dev/null
@@ -1,15 +0,0 @@
-cd /texlive/Master
-for j in 1 2 3
-do
-for i in `find /texlive/Master/texmf-dist/lists/systems$j -type f -print`
-do
- S=p_`echo $i | sed -e 's/.*systems..//' -e 's/\.//g' -e 's/-/_/g'`_du
- tar --create --totals -f /tmp/XX -T $i >& /tmp/YY
- grep Total /tmp/YY | tail -1 | awk '{print $4}' | sed 's/...$//' > /tmp/XX
-# -> p_sparc_solaris25_du='7065'
- echo $S$j=\'`cat /tmp/XX`\'
- rm /tmp/YY
- rm /tmp/XX
-done
-done
-
diff --git a/Build/cdbuild/makeimage b/Build/cdbuild/makeimage
deleted file mode 100755
index 2543061b323..00000000000
--- a/Build/cdbuild/makeimage
+++ /dev/null
@@ -1,13 +0,0 @@
-cd /
-cd texlive/Master
-#chmod -R u+w texlive
-#chmod -R g+rw texlive
-#chmod -R o-w texlive
-D=`date '+%Y%m%d'`
-echo Making image dated $D
-rm /texlive/Images/*.iso*
-mkhybrid -J -T -r -v -o /texlive/Images/.texlive.iso . >& /texlive/makeimage.log
-cd /texlive/Images
-bzip2 .texlive.iso
-mv .texlive.iso.bz2 texlive-$D.iso.bz2
-chmod 666 texlive-$D.iso.bz2
diff --git a/Build/cdbuild/place b/Build/cdbuild/place
deleted file mode 100755
index 86ae3d0dc76..00000000000
--- a/Build/cdbuild/place
+++ /dev/null
@@ -1,273 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-# License: public domain. Originally written by Sebastian Rahtz.
-#
-# Process a tree in the Build/cdbuild/cooked directory (probably created
-# by ctan2tds.pl) and integrate into the main texmf trees.
-#
-# Basic usage: place PKG
-# to process Build/cdbuild/cooked/PKG.
-
-BEGIN {
- chomp ($mydir = `dirname $0`);
- unshift (@INC, "$mydir/../../Master/tlpkg");
-}
-
-use File::Basename;
-use File::Find;
-use Cwd;
-use TeXLive::TLPSRC;
-use TeXLive::TLPOBJ;
-use TeXLive::TLPDB;
-use TeXLive::TLTREE;
-
-if ($ARGV[0] eq "-n") {
- $chicken = 1;
- shift;
-} else {
- $chicken = 0;
-}
-print "place: chicken mode = $chicken\n";
-
-die "usage: $0 PKGNAME\n" unless @ARGV == 1;
-$package = $ARGV[0];
-
-$newpackage = 0;
-%dirs = (); # dirs we make changes in
-$TMP = $ENV{"TMPDIR"} || "/tmp";
-
-xchdir (dirname($0) . "/cooked");
-$mydir = getcwd();
--d "$mydir/$package" || die "$0: No such package in $mydir: $package\n";
-
-xchdir ("../../../Master");
-$M = getcwd();
-
-xchdir ("$mydir/$package");
-if (-d "texmf-dist") {$Root="texmf-dist"; }
-elsif (-d "texmf-doc") {$Root="texmf-doc"; }
-elsif (-d "texmf") {$Root="texmf"; }
-else { die ("no top level texmf in " . `pwd`); }
-
-if ($Root eq 'texmf-doc') {
- $Type = 'Documentation';
-} elsif ($Root eq 'texmf-dist') {
- $Type = 'Package';
-} elsif ($Root eq 'texmf') {
- # can't handle binary stuff yet, but can do some hyphenations.
- $Type = 'TLCore';
-} else {
- die "cannot handle Root=$Root";
-}
-
-# initialize TLPDB
-my $tlpdb = new TeXLive::TLPDB ( location => "$M/texlive.tlpdb" );
-# create TLTREE from stuff in cooked/$pkg
-my $tltree = TeXLive::TLTREE->new( 'svnroot' => "$mydir/$package" );
-$tltree->init_from_files;
-
-# get package from TLPDB;
-my $tlpold = $tlpdb->get_package("$package");
-if (defined($tlpold)) {
- # what to do with binfiles, but they are not place-ed!!!
- foreach ($tlpold->srcfiles, $tlpold->runfiles, $tlpold->docfiles) {
- $Old{$_} = 1;
- }
-} else {
- $newpackage = 1;
-}
-
-# create new tlpsrc and tlpobj
-my $tlpsrc = TeXLive::TLPSRC;
-if (! -r "$M/tlpkg/tlpsrc/$package.tlpsrc") {
- $tlpsrc->name("$package");
- $tlpsrc->category($Type);
- if (!$chicken) {
- open TMP, ">$M/tlpkg/tlpsrc/$package.tlpsrc" or die "Cannot open tlpsrc file!";
- $tlpsrc->writeout(\*TMP);
- close TMP
- }
-} else {
- $tlpsrc->from_file("$M/tlpkg/tlpsrc/$package.tlpsrc");
-}
-
-my $tlpnew = $tlpsrc->make_tlpobj($tltree);
-
-# we took over the comparison of files from the ctan2tl script since
-# we are here in perl world, which makes it easier ...
-print "\n\f ";
-if (!defined($tlpold)) {
- print "place: $package not present in $M/texlive.tlpdb\n\n";
-} else {
- print "new vs. present $package\n";
- my @oldfiles;
- push @oldfiles, $tlpold->srcfiles;
- push @oldfiles, $tlpold->runfiles;
- push @oldfiles, $tlpold->docfiles;
- `rm -f $TMP/tlplace.old`;
- foreach (sort @oldfiles) {
- `echo $_ >> $TMP/tlplace.old`;
- }
- my @newfiles;
- push @newfiles, $tlpnew->srcfiles;
- push @newfiles, $tlpnew->runfiles;
- push @newfiles, $tlpnew->docfiles;
- `rm -f $TMP/tlplace.new`;
- foreach (sort @newfiles) {
- `echo $_ >> $TMP/tlplace.new`;
- }
- print `comm -3 $TMP/tlplace.new $TMP/tlplace.old`;
- my @difffiles = `comm -12 $TMP/tlplace.new $TMP/tlplace.old`;
- chomp (@difffiles);
- my $sum = 0;
- my $diff_file = "$TMP/tlplace.diff";
- unlink ($diff_file);
- my $diff_cmd = "diff --text --ignore-all-space -U 0 -s";
- foreach (@difffiles) {
- my @foo = `$diff_cmd $M/$_ $mydir/$package/$_ | tee -a $diff_file`;
- $sum += $#foo; # zero-based, so first line doesn't count.
- }
- my $nrcommfiles = @difffiles;
- chomp (my $identical = `grep 'are identical' $diff_file | wc -l`);
- print "$nrcommfiles common files, $identical unchanged, ~$sum lines different ($diff_file)\n\n\f\n";
- #`rm -f $TMP/tlplace.new $TMP/tlplace.old $TMP/tlplace.diff`;
-}
-
-
-&xchdir ("$mydir/$package");
-find (\&files,".");
-foreach $file (sort keys %Old) {
- print "* $file: [retained=$New{$file}]\n";
-
- # if the old file does not exist, don't try to remove it -- we
- # probably did so by hand and didn't bother to update.
- next unless -e "$M/$file";
-
- my $dname = dirname ("$M/$file");
- $dirs{$dname}++;
-}
-
-# copy files
-my $job = "tar cf - . | (cd $M && tar xf - )";
-&my_system ($job);
-
-# sort so dirs will be added before subdirs.
-foreach $file (sort keys %New) {
- if (! $Old{$file}) {
- &add_file ("$M/$file");
- }
-}
-
-xchdir ($mydir);
-&my_system ("mv $package $package.done");
-
-
-chomp (my $tools = `cd $mydir/../../tools && pwd`);
-
-if ($newpackage) {
- &add_file ("$M/tlpkg/tlpsrc/$package.tlpsrc");
-}
-
-# this file will often change, so be sure and include it.
-$dirs{"$M/tlpkg/tlpsrc/$package.tlpsrc"}++;
-
-# print dirs with changed files, for svn commit purposes.
-# if other files have been modified in those same dirs, though, this
-# won't detect it. It would be better to list exactly the *files* which
-# should be committed, but ... lazy.
-#
-# also write dir list to a separate file, for easy passing to a commit.
-#
-$DIRLIST = ">$TMP/tlplace.dirs";
-open (DIRLIST) || die "open($DIRLIST) failed: $!";
-#
-for my $dir (sort keys %dirs) {
- print "$dir\n";
- print DIRLIST "$dir\n";
-}
-#
-close (DIRLIST) || warn "close($DIRLIST) failed: $!";
-
-#xx warn "WARNING WARNING Things we SHOULD/COULD do here:\n - Update the texlive.tlpdb\n - Compare the files ACTUALLY present in cooked/package with those included via tlpsrc/tltree generation!!!\n - Create list file\n - Update the list of available packages for web update\n - Create zip file(s)\n\n\n";
-
-exit (0);
-
-
-
-#--------------------------------------
-sub dirs
-{
- local @filenames;
- if (-d) {
- @filenames=&buildfilelist($File::Find::name);
- if (!@filenames) { rmdir $File::Find::name;}
- }}
-
-sub buildfilelist
-{
- my($me) = @_;
- my @files;
- opendir(DIR,$me) || cleanup ("cannot open directory $me");
- @files =grep(!/^\.\.?/,readdir(DIR));
- closedir(DIR);
- return @files;
-}
-
-
-sub files
-{
- if (-f || -l) { # consider files or symlinks
- $This = $File::Find::name;
- $This =~ s/^\.\///;
- $New{$This} = 1;
- }
-}
-
-
-# add a file to the repository. for svn, we also have to add the
-# containing dir, and the parent of that dir, if they are new.
-# (Should really just traverse )
-#
-sub add_file
-{
- my ($newfile) = @_;
-
- my $newdir = dirname ($newfile);
-
- # when it's needed, parent must come first, else have svn "not working copy".
- my $parentdir = dirname ($newdir);
- unless (-d "$parentdir/.svn") {
- &my_system ("svn add -N $parentdir");
- $dirs{$parentdir}++;
- }
-
- unless (-d "$newdir/.svn") {
- &my_system ("svn add -N $newdir");
- }
-
- &my_system ("svn add $newfile");
-
- # remember that we changed this directory.
- $dirs{$newdir}++;
-}
-
-
-sub xchdir
-{
- my ($dir) = @_;
- chdir ($dir) || die "chdir($dir) failed: $!";
- print "place: chdir($dir)\n";
-}
-
-
-sub my_system
-{
- my ($cmd) = @_;
-
- print "place: SYSTEM $cmd\n";
-
- unless ($chicken) {
- my $ret = system ($cmd);
- die "`$cmd' failed, status=$ret, goodbye\n" if $ret != 0;
- }
-}
diff --git a/Build/cdbuild/refer.bst b/Build/cdbuild/refer.bst
deleted file mode 100644
index 33498d9e167..00000000000
--- a/Build/cdbuild/refer.bst
+++ /dev/null
@@ -1,163 +0,0 @@
-%
-% 8/4/'90
-%Ciaran McHale
-%Department of Computer Science, Trinity College, Dublin 2, Ireland.
-%Telephone: +353-1-772941 ext 1538 FAX: +353-1-772204 Telex: 93782 TCD EI
-%email: cjmchale@cs.tcd.ie or cjmchale%cs.tcd.ie@cunyvm.cuny.edu
-% Hacked together by Ciaran McHale (cjmchale@cs.tcd.ie) to translate
-% BibTeX bibliographies into refer format
-% Based on a bib style file by Kannan Varadhan
-%
-
-
-ENTRY
- { % entry fields
- abstract % non standard
- address
- annote % non standard
- author
- booktitle
- chapter
- edition
- editor
- howpublished
- institution
- journal
- key
- keywords % non standard
- month
- note
- number
- organization
- pages
- publisher
- school
- series
- title
- type
- volume
- year
- }
- {} % no integer entry variables
- { label extra.label sort.label } % label entry variables
-
-
-STRINGS { s t a.name }
-
-
-FUNCTION {not}
-{ { #0 }
- { #1 }
- if$
-}
-
-FUNCTION {and}
-{ 'skip$
- { pop$ #0 }
- if$
-}
-
-FUNCTION {or}
-{ { pop$ #1 }
- 'skip$
- if$
-}
-
-INTEGERS { nameptr namesleft numnames }
-
-FUNCTION {handle.names}
-{ 't := % type e.g. "A" for authors, "E" for editors
- 's := % the string containing the names
- #1 'nameptr :=
- s num.names$ 'numnames :=
- numnames 'namesleft :=
- { namesleft #0 > }
-
- { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 'a.name :=
-
- a.name "others" =
- 'skip$ % don't print out "%A others"
- { "%" t * " " * a.name * write$ newline$ }
- if$
- nameptr #1 + 'nameptr :=
- namesleft #1 - 'namesleft :=
- }
- while$
-}
-
-FUNCTION {handle.maybe.empty}
-{
- 't :=
- duplicate$
- empty$
- 'pop$
- { "%" t * " " * swap$ * write$ newline$ }
- if$
-}
-
-FUNCTION {translate}
-{
- newline$ % get a blank line between each entry
-
- title "T" handle.maybe.empty
- booktitle "B" handle.maybe.empty
-
- % there may be multiple authors so handle it differently
- author empty$
- { " empty author in " cite$ * warning$ }
- { author "A" handle.names }
- if$
- editor "E" handle.maybe.empty
- journal "J" handle.maybe.empty
- keywords "K" handle.maybe.empty
- cite$ "L" handle.maybe.empty
- volume "V" handle.maybe.empty
- abstract "X" handle.maybe.empty
-
- % The date, if present may be just the year or both the month and year
- % or might even be just the month
- month empty$ year empty$ and
- 'skip$ % no date of publication so nothing to do
- {
- month empty$ % I'm using the if statement because I'm not
- { "" } % sure that--- month " " year * --- would work.
- { month " " * } % (The manual doesn't mention anything about
- if$ % this so I'm playing safe)
- year empty$
- { "" }
- { year }
- if$
- *
- "D" handle.maybe.empty
- }
- if$
- pages "P" handle.maybe.empty
- note "O" handle.maybe.empty
- number "N" handle.maybe.empty
- series "S" handle.maybe.empty
- annote "Y" handle.maybe.empty
- address "C" handle.maybe.empty
-
-}
-
-
-FUNCTION {article} { translate }
-FUNCTION {book} { translate }
-FUNCTION {booklet} { translate }
-FUNCTION {inbook} { translate }
-FUNCTION {incollection} { translate }
-FUNCTION {inproceedings} { translate }
-FUNCTION {manual} { translate }
-FUNCTION {mastersthesis} { translate }
-FUNCTION {misc} { translate }
-FUNCTION {phdthesis} { translate }
-FUNCTION {proceedings} { translate }
-FUNCTION {techreport} { translate }
-FUNCTION {unpublished} { translate }
-FUNCTION {default.type} { translate }
-
-
-READ
-
-ITERATE {call.type$}
-
diff --git a/Build/cdbuild/rmpackage b/Build/cdbuild/rmpackage
deleted file mode 100755
index e93f8cc836a..00000000000
--- a/Build/cdbuild/rmpackage
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-R=/texlive/Master
-P4OPTS=" -p sun2.dante.de:1666 -c tex"
-cd $R
-cat $R/texmf-dist/tpm/lists/$1 | sed -e '/^ *$/d' -e 's/^ *//' | p4 $P4OPTS -x - delete
-
-
diff --git a/Build/cdbuild/scheme2list.xsl b/Build/cdbuild/scheme2list.xsl
deleted file mode 100644
index e07f741d01d..00000000000
--- a/Build/cdbuild/scheme2list.xsl
+++ /dev/null
@@ -1,100 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:exsl="http://exslt.org/common"
- exclude-result-prefixes="exsl"
- extension-element-prefixes="exsl"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:output method="text" omit-xml-declaration="yes"/>
-
-<xsl:strip-space elements="*"/>
-
-<xsl:variable name="Master">/texlive/Master/texmf-dist/tpm/lists/</xsl:variable>
-<xsl:variable name="TPM">/texlive/Master/texmf-dist/tpm/package/</xsl:variable>
-<xsl:variable name="COL">texmf-dist/tpm/scheme/</xsl:variable>
-<xsl:variable name="LISTS">texmf-dist/tpm/lists/</xsl:variable>
-
-<xsl:template match="/">
- <xsl:message>Write <xsl:value-of select="concat($Master,.//TPM:Name)"/>.scheme</xsl:message>
- <exsl:document href="{concat($Master,//TPM:Name)}.scheme" method="text">
-<xsl:text>*Title: </xsl:text>
- <xsl:value-of select="normalize-space(.//TPM:Title)"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:variable name="foo">
- <xsl:apply-templates select=".//TPM:Requires" mode="size"/>
-</xsl:variable>
-<xsl:text>*Size: </xsl:text>
-<xsl:variable name="S">
- <xsl:value-of select="sum(exsl:node-set($foo)/S/size)"/>
-</xsl:variable>
-<xsl:choose>
- <xsl:when test="$S='NaN'">1</xsl:when>
- <xsl:when test="contains($S,'.')">
- <xsl:value-of select="substring-before($S,'.')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$S"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:Requires"/>
- <xsl:apply-templates select=".//TPM:DocFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:SourceFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:RunFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:BinFiles"/>
- <xsl:text>&#10;</xsl:text>
- <xsl:value-of select="$COL"/>
- <xsl:value-of select=".//TPM:Name"/><xsl:text>.tpm&#10;</xsl:text>
- <xsl:text>&#10;</xsl:text>
- <xsl:value-of select="$LISTS"/>
- <xsl:value-of select=".//TPM:Name"/>
- <xsl:text>.scheme&#10;</xsl:text>
- </exsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:DocFiles|TPM:SourceFiles|TPM:RunFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:BinFiles">
- <xsl:message>Write <xsl:value-of
- select="concat($Master,//TPM:Name)"/>
- <xsl:text>.vlist.</xsl:text>
- <xsl:value-of select="@arch"/></xsl:message>
- <exsl:document method="text" href="{$Master}{//TPM:Name}.vlist.{@arch}">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:value-of select="concat($LISTS,//TPM:Name)"/>
- <xsl:text>.vlist.</xsl:text>
- <xsl:value-of select="@arch"/>
-<xsl:text>&#10;</xsl:text>
-</exsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:Requires">
-<xsl:for-each select="TPM:Package|TPM:Binary">
-<xsl:text>+</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-<xsl:for-each select="TPM:Collection">
-<xsl:text>-</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-</xsl:template>
-
-<xsl:template match="TPM:Requires" mode="size">
-<S>
-<xsl:for-each select="TPM:Package">
- <size><xsl:value-of select="document(concat($TPM,concat(@name,'.tpm')))//TPM:DocFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($TPM,concat(@name,'.tpm')))//TPM:RunFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($TPM,concat(@name,'.tpm')))//TPM:SourceFiles/@size div 1000"/></size>
-</xsl:for-each>
-</S>
-</xsl:template>
-
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/share2bin b/Build/cdbuild/share2bin
deleted file mode 100644
index 9d35f4bf3f5..00000000000
--- a/Build/cdbuild/share2bin
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/local/bin/perl
-chdir ("/texlive/bin");
-&builddirlist;
- for (@dirnames) {
- print "Remove links from $_ directory\n";
- chdir($_);
- &buildlinklist;
- for (@linknames) {
- print " Delete link $_\n";
- unlink $_;
- }
- chdir("..");
-}
-chdir ("share");
-&buildfilelist;
-&buildlinklist;
-for (@filenames) {
- print "FILE $_\n";
- $File=$_;
- for (@dirnames) {
- print " cp -f $File ../$_/$File\n";
- if (/.*ultrix.*/)
- {
- system "sed 's/bin\\/sh/bin\\/sh5/' < $File > ../$_/$File";
- }
- else
- {
- system("cp -f $File ../$_/$File");
- }
- }
-}
-for (@linknames) {
- print "LINK $_\n";
- $File=$_;
- $real = readlink($File);
- for (@dirnames) {
- print " process link of $File to $_: ln -s $real $File\n";
- system("cd ../$_; rm $File; ln -s $real $File");
- }
- }
-
-;
-# rebuild list of files
-sub buildfilelist {
- opendir(DIR,'.') || die ("ERROR: cannot open directory");
- @filenames =grep(!/^\.\.?$/,grep(!/share2bin/,grep(!-l,readdir(DIR))));
- closedir(DIR);
-}
-# rebuild list of files
-sub buildlinklist {
- opendir(DIR,'.') || die ("ERROR: cannot open directory");
- @linknames =grep(-l,readdir(DIR));
- closedir(DIR);
-}
-# rebuild list of directories
-sub builddirlist {
- opendir(DIR,'.') || die ("ERROR: cannot open directory");
- @dirnames =grep(/.*-/,grep(!/amiga/,grep(!/^\.\.?$/,grep(-d,readdir(DIR)))));
- closedir(DIR);
-}
diff --git a/Build/cdbuild/sizes b/Build/cdbuild/sizes
deleted file mode 100644
index 0fc7930e868..00000000000
--- a/Build/cdbuild/sizes
+++ /dev/null
@@ -1,6 +0,0 @@
-grep TPM:Size ../../Master/texmf-doc/tpm/* | sed 's/..TPM:Size.//g' | awk '{print $2,$1}' > 1
-grep TPM:Size ../../Master/texmf/tpm/* | sed 's/..TPM:Size.//g' | awk '{print $2,$1}' > 2
-grep TPM:Size ../../Master/texmf-dist/tpm/* | sed 's/..TPM:Size.//g' | awk '{print $2,$1}' > 3
-cat 1 2 3 | sort -n | sed 's/ .*texmf/ /'
-rm 1 2 3
-
diff --git a/Build/cdbuild/summary.pl b/Build/cdbuild/summary.pl
deleted file mode 100644
index d5b2a9684a8..00000000000
--- a/Build/cdbuild/summary.pl
+++ /dev/null
@@ -1,10 +0,0 @@
-#/texlive/texmf-dist/lists/fonts1/fontmisc : 419840
-while (<>) {
- chop;
- ($bundle,$size) = /.*lists.([^\/]*)\/.*: (.*).../;
- $Sizes{$bundle} = $Sizes{$bundle} + $size;
-}
-foreach $i (keys %Sizes) {
- $S=$Sizes{$i}/1000;
- print "p_",$i,"_du=\'$S\'\n";
-}
diff --git a/Build/cdbuild/tar2find.pl b/Build/cdbuild/tar2find.pl
deleted file mode 100755
index 70e8925e87d..00000000000
--- a/Build/cdbuild/tar2find.pl
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/local/bin/perl
-while (@ARGV && ($List = $ARGV[0])) {
- print "Process $List\n";
- open(TMP,"$List");
- while (<TMP>) {
- chop;
- $found{$_} = 1;
- while ($_ ne "") {
- if (/(.*)\/(.*)/) {
- $found{$1. "/"} = 0;
- $found{$1} = 0;
- $_=$1;
- }
- else { last; }
- }
- }
- close(TMP);
- open(TMP,">$List");
- foreach $key (sort keys(%found)) {
- print TMP "$key\n" if ($found{$key} eq 1);
-}
- close(TMP);
- shift(@ARGV);
-}
-;
diff --git a/Build/cdbuild/tpm2/Makefile b/Build/cdbuild/tpm2/Makefile
deleted file mode 100644
index fc0f7b44d1f..00000000000
--- a/Build/cdbuild/tpm2/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-run: run1 run2
-
-run1:
- for i in `ls /texlive/Master/texmf-dist/tpm/package/*tpm /texlive/Master/texmf-package/tpm/binary/*tpm `; do xsltproc -o `basename $$i .tpm`.xml tpm2xml.xsl $$i; done
-
-run2:
- for i in \
- abc2mtex \
- adfathesis \
- afthesis \
- arabtex \
- askinclude \
- auctex \
- biblio-perl \
- catdoc \
- catdvi \
- cmactex \
- dvi2bitmap \
- dvi2tty \
- dviconcat \
- dvicopy \
- dviout \
- dvips \
- eco \
- emtex \
- fbithesis \
- floatfig \
- foiltex \
- fptex \
- gentl-gr \
- gnuplot \
- gsview \
- javascript-texed \
- jdvi \
- jkthesis \
- jpeg2ps \
- labelmag \
- latable \
- latexdraw \
- latexwide \
- llncs \
- lollipop \
- malvern \
- miktex \
- mnras \
- muthesis \
- oztex \
- pitthesis \
- pstoedit \
- revtex \
- scientificviewer \
- svjour \
- taylor \
- techexplorer \
- texaide \
- texdoctk \
- texniccenter \
- texshell32 \
- texsis \
- text1 \
- textmerg \
- thesis \
- tmview \
- transfig \
- ttf2mf \
- ttf2pk \
- tth \
- ucthesis \
- ut-thesis \
- utorontothesis \
- utthesis \
- uwthesis \
- vfinst \
- vicentino \
- vtex \
- winedt \
- winlatex \
- winshell \
- wmf2eps \
- wp2latex \
- xdvik \
- xfig \
- xtexcad \
- ; do xsltproc -o $$i.xml xml2xml.xsl /texlive/Master/texmf-dist/doc/html/catalogue/entries/$$i.xml; done
-
-allvalid:
- echo "<TPMS>" > tmp.xml
- (for i in *.xml; do echo "<xs:include xmlns:xs=\"http://www.w3.org/2001/XInclude\" href=\"$$i\"/>"; done) |grep -v cats.xml | grep -v tmp.xml | grep -v all.xml >> tmp.xml
- echo "</TPMS>" >> tmp.xml
- xmllint --xinclude tmp.xml > all.xml
- rm tmp.xml
- xmllint --noout --relaxng tpm2.rng all.xml
-
-valid:
- for i in `ls *.xml | grep -v cats.xml | grep -v all.xml`; do rxp -V -s $$i;done
-
-
-clean:
- -rm *.xml
diff --git a/Build/cdbuild/tpm2/TODO b/Build/cdbuild/tpm2/TODO
deleted file mode 100644
index 7fc726e4d48..00000000000
--- a/Build/cdbuild/tpm2/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-taxonomy
-
diff --git a/Build/cdbuild/tpm2/cat b/Build/cdbuild/tpm2/cat
deleted file mode 100644
index cc4375be313..00000000000
--- a/Build/cdbuild/tpm2/cat
+++ /dev/null
@@ -1,1464 +0,0 @@
-a0poster
-a2ac
-a4
-a4wide
-a5
-a5comb
-aaai
-aastex
-abbrevs
-abc2mtex
-abstbook
-abstract
-abstyles
-accents
-accfonts
-achemso
-achicago
-achicago-bst
-acmconf
-acronym
-acroread
-acrotex
-adfathesis
-adobe
-adobeother
-adobestd
-adrlist
-advdate
-ae
-aeguill
-afterpage
-afthesis
-aguplus
-aiaa
-aifont
-akletter
-alatex
-alg
-algorithmic
-algorithms
-allrunes
-alltt
-alphalph
-alphanum
-alphanumb
-altfont
-amiweb2c
-amsart
-amsbook
-amsbsy
-amscd
-amscls
-amsfonts
-amslatex
-amsltx11
-amsmath
-amsppt
-amsppt1
-amsproc
-amssym
-amssymb
-amstex
-amstext
-amsthm
-anonchap
-answers
-antomega
-antp
-antt
-anttvf
-apa
-apacite
-apasoft
-apl
-appendix
-ar
-arabtex
-archaic
-armenian
-armtex
-arosgn
-array
-arrayjob
-arraymaker
-arrow
-arydshln
-asaetr
-ascelike
-ascii
-askinclude
-astro
-at
-attrib
-auctex
-auncial
-aurora
-authblk
-authorindex
-autotab
-babel
-backgammon
-backgrnd
-bakoma
-bakoma-fonts
-bakoma-games
-bakoma-malvern
-balance
-bar
-barcode2
-barcodes
-barr
-barracuda
-base
-bbding
-bbl2html
-bbm
-bbold
-beebe
-beletter
-belleek
-beton
-bez123
-bezos
-bibarts
-bibdb
-bibfind
-bibhtml
-bibindex
-biblio
-biblio-perl
-biblios
-biblist
-biblook
-bibsort
-bibtex
-bibtex8bit
-bibtool
-bibtools
-bibtopic
-bibunits
-bibweb
-bidstobibtex
-bigdelim
-bigstrut
-binhex
-bitfield
-bits
-bitstrea
-bizcard
-blackboard
-blackletter1
-blkarray
-blkcntrl
-block
-blu
-blue
-bluesky
-bm
-bmeps
-boites
-bookhands
-booklet
-booktabs
-bophook
-borceux
-bosisio
-boundbox
-boxedminipage
-bpchem
-braille
-braket
-brclc
-breqn
-bridge
-brief
-briefkopf
-brushscr
-btool
-bundledoc
-bytefield
-bzip2
-c-pascal
-c2cweb
-calc
-calendar
-calligra
-calrsfs
-calxxxx
-camel
-cancel
-capt-of
-captcont
-caption
-caption2
-carlisle
-cases
-casyl
-catalogue
-catdoc
-catdvi
-cbgreek
-cc-pl
-cc-plps
-ccaption
-ccfonts
-cchess
-cdcover
-cdlabeler
-cdpbundl
-cellular
-cep
-changebar
-chappg
-chapterbib
-chbibref
-chem-journal
-chemarr
-chemcono
-chemsym
-cheq
-cherokee
-chess
-chicago
-china2e
-chktex
-chngcntr
-chngpage
-circ
-circle
-circuit-macros
-cirth
-citation
-cite
-citeref
-cj
-cjhhebrew
-cjk
-cjk-fonts
-clock
-cm
-cmactex
-cmbright
-cmcyr
-cmcyralt
-cmdtrack
-cmextra
-cmolddig
-cmpica
-cmps
-cmsd
-cmtt
-cmyk-hax
-code128
-codepage
-color
-colorsep
-colortab
-colortbl
-combine
-comma
-comment
-compactbib
-comprehensive
-compsci
-concmath
-concprog
-concrete
-concrete-wrap
-consdiag
-context
-contour
-cooking
-corelfonts
-corelpak
-count1to
-covfonts
-covington
-croatian
-crop
-crosswrd
-cryst
-csfonts
-cslatex
-csplain
-cspsfonts
-cstug
-csx
-ctable
-ctib4tex
-currvita
-cursor
-curve
-curves
-custom-bib
-cuted
-cv
-cwebbin
-cwebhy
-cwebx
-cwpuzzle
-cypriot
-cyrillic
-cyrtug
-czech
-dancers
-dante-src
-dashbox
-datenumber
-dates
-datetime
-dayroman
-dblfont
-dbprocess
-dcolumn
-dcounter
-dcpic
-default
-delarray
-deleq
-delimtxt
-devanagari
-development
-diagxy
-dialogl
-dialogue
-dichokey
-dinat
-dinbrief
-directory
-dn2
-doc
-docmfp
-docstrip
-dotlessi
-dotlessj
-dotseqn
-doublespace
-doublestroke
-dp
-dpfloat
-draftcopy
-drafthead
-drama
-dratex
-drftcite
-dropcaps
-dropping
-dstroke
-dtxtut
-duerer
-dvgtk
-dvi2bitmap
-dvi2tty
-dvichk
-dviconcat
-dvicopy
-dvii
-dviincl
-dviljk
-dviout
-dvipaste
-dvipdfm
-dvips
-dvips-os2
-dvips-shell
-dvipsconfig
-dvipsdoc
-dvipsk
-dviwin
-ean
-easy
-easybib
-easybmat
-easyeqn
-easymat
-easytable
-easyvector
-ec
-ec-plain
-ecc
-ecltree
-eco
-ecpk
-ecta
-edmac
-eepic
-egplot
-eiad
-eijkhout
-eline
-elsevier
-elvish
-emp
-empheq
-emtex
-emtex-os2
-emtexgi
-emtextds
-emulateapj
-encodings
-enctex
-endfloat
-endnotes
-engwar
-enumerate
-envbig
-envlab
-epic
-epigraph
-epix
-eplain
-epmtfe
-epsfig
-epsfview
-epsfx
-epsincl
-epslatex
-epstopdf
-eqname
-eqnarray
-esieecv
-esindex
-eso-pic
-esvect
-et
-etexbase
-ethiop
-etruscan
-euler
-eulervm
-euro
-eurofont
-europs
-eurosans
-eurosym
-euxm
-everysel
-everyshi
-evweek
-exam
-examdesign
-exams
-excalibur
-excel2latex
-exerquiz
-expdlist
-expl3
-export
-expressg
-exscale
-extdash
-extsizes
-fancybox
-fancyhdr
-fancyhdrBoxed
-fancynum
-fancyref
-fancyvrb
-faq
-faq-es
-fax
-fbithesis
-fc
-featpost
-fepslatex
-feyn
-feynmf
-fig2sty
-figcaps
-figfrag
-fihyph
-filecontents
-filehdr
-finbib
-fink
-finplain
-fix2col
-fixbbl
-fixfoot
-fixmath
-fixme
-flabels
-flashcard
-flatex
-flatten
-float
-floatfig
-floatflt
-floatpag
-fltpage
-fltpoint
-flushend
-fmp
-fncychap
-fncylab
-fnpara
-foilhtml
-foiltex
-font-selection
-fontinst
-fontmisc
-fontname
-fontsmpl
-footbib
-footmisc
-footnpag
-formats
-formlett
-formula
-fourproject
-fourspell
-fourtex
-fp
-fptex
-framed
-frankenbundle
-frankenstein
-freetype
-french
-frenchpourwin
-frhyph
-fribrief
-ftcap
-ftetx
-ftn
-ftnright
-fullblck
-fullpage
-fullpict
-fundus
-funnelweb
-futhark
-g-brief
-galois
-gb4e
-gchords
-gellmu
-genealogy
-genmisc
-genmpage
-gensymb
-gentl-gr
-gentle
-geometry
-geomsty
-german
-germbib
-germdoc
-getrefs
-ghostscript
-ghostview-mac
-ghyphen
-gleitobjekte
-gloss
-glosstex
-gn-logic
-gnhyph
-gnuplot
-gnuplot-ps
-go
-gothic
-graphfig
-graphics
-graphicx
-graphpap
-gray
-greek4cbc
-greek6cbc
-greenpoint
-grfguide
-grfpaste
-grnumalt
-grtimes
-gsftopk
-gsview
-gtex-letter
-gustlib
-hands
-hangcaption
-hanging
-harpoon
-harvard
-harvmac
-hatching
-hcbundle
-hellas
-here
-hexdump
-hfbright
-hh
-hhline
-hieroglf
-hilowres
-histogr
-hlatex
-hoekwater
-hrhyph
-html
-html2latex
-html2text
-huhyph
-huncial
-hvdashln
-hvmath
-hypbmsec
-hyper
-hyperlatex
-hypernat
-hyperref
-hyphenat
-hyphenation-greek
-hypht1
-iagproc
-iahyphen
-ibm
-icomma
-idealfonts
-ieeepes
-ieeetran
-ifacmtg
-ifmslide
-ifmtarg
-ifpdf
-ifsym
-ifthen
-imac
-import
-impose
-includex
-indentfirst
-index
-indxcite
-info
-inhyph
-initials
-inlinebib
-inputenc
-insbox
-invoice
-ipa
-isi2bibtex
-isodate
-isorot
-isostds
-ite
-ithyph
-izhitsa
-jadetex
-jas99m
-javascript-texed
-javatex
-jbibtexmanager
-jdvi
-jed
-jeep
-jhep
-jknappen
-jkthesis
-jpeg2ps
-jpeg2ps-os2
-jqt1999
-jsmisc
-jspell
-jtbnew
-jura
-jurabib
-kalendar
-kalender
-karnaugh
-kdgreek
-keystroke
-kix
-kluwer
-knst
-knuth
-koi8
-koma-script
-kpathsea
-ktexshell
-kuvio
-labelmag
-labels
-lamstex
-lastpage
-latable
-lated
-latex
-latex209
-latex2e
-latex2html
-latex2man
-latex2rtf
-latex4jed
-latex4wp
-latexcad
-latexdraw
-latexfonts
-latexmake
-latexmk
-latexn
-latexpix
-latexwide
-latin2jk
-layout
-layouts
-lcg
-leaflet
-leftidx
-letter
-letterspacing
-lettre
-lettrine
-levy
-lexikon
-lgreek
-lgrind
-lh
-lhcyr
-lhelp
-ligatex
-lilypond
-limap
-linearb
-lineno
-linguex
-lintex
-lips
-listbib
-listing
-listings
-lkort
-llncs
-localloc
-logic
-logo-ps
-lollipop
-longtable
-losymbol
-lscape
-lshort-english
-lshort-finnish
-lshort-french
-lshort-german
-lshort-italian
-lshort-japanese
-lshort-mongolian
-lshort-polish
-lshort-portuguese
-lshort-portuguese-br
-lshort-russian
-lshort-slovak
-lshort-spanish
-lshort-ukr
-ltablex
-ltnews
-ltoh
-ltt
-ltx2rtf
-ltx2x
-ltxbase
-ltxdoc
-ltxinput
-ltxmisc
-ltxsrc
-ltxtable
-lucida
-lucold
-lw35nfsx
-ly1
-m-pictex
-macbibtex
-macgreek
-magaz
-mailing
-makecmds
-makefonts
-makeglos
-makeidx
-makeindex
-makor
-makor2
-malayalam
-malvern
-manfnt
-manjutex
-manyfoot
-mapcodes
-maple
-maplems
-margbib
-marginal
-marvosym
-marvosym-mac
-mathcmd
-mathcomp
-mathdots
-mathematica
-mathenv
-mathinst
-mathkit
-mathpazo
-mathpple
-mathptm
-mathrsfs
-mathspad
-mathspic
-mathtime
-matlabweb
-mbboard
-mcite
-mdvi
-mdwtools
-memoir
-meta-mode
-metafp
-metaobj
-metapost
-metapost-examples
-method
-mex
-mf-ps
-mf2pt1
-mf2pt3
-mf2tex
-mff
-mflogo
-mfnfss
-mfpic
-mhequ
-mhs
-midfloat
-midnight
-midpage
-mif2xfig
-miktex
-miktex-axp
-mil3
-miniltx
-miniplot
-minitoc
-minutes
-mirr
-mitpress
-mk
-mkpic
-mla
-mlbib
-mltex
-mmafm
-mmpfb
-mmtools
-mnras
-modes
-monotype
-monster
-montex
-moredefs
-morefloats
-morehelp
-moresize
-moreverb
-morse
-mparhack
-mpattern
-mpedit
-mpfnmark
-ms
-mslapa
-mt11p
-mtbe
-mtgreek
-multenum
-multibib
-multicap
-multicol
-multido
-multirow
-multitoc
-musicref
-musictex
-musixtex
-muthesis
-mxedruli
-mylatex
-myletter
-nassflow
-natbib
-nath
-nb4latex
-nccfoots
-ncctools
-needspace
-nestquot
-neuron
-newalg
-newclude
-newcommand
-newlfm
-newsletr
-newthm
-newvbtm
-nextpage
-ngerman
-niceframe
-noindent
-nomencl
-nonfloat
-nopageno
-norbib
-notex
-notoccite
-nrc
-ntabbing
-ntemacs
-ntg
-ntgclass
-ntheorem
-numline
-numprint
-oands
-obas
-objectz
-oca
-ochem
-ocr-a
-ocr-b
-ogham
-ogonek
-oldstyle
-oletex
-omega
-omegabase
-omegafonts
-onepagem
-onlyamsmath
-optional
-oriya
-oryia
-os2tex
-osmanian
-ot2cyr
-othello
-outliner
-overcite
-overpic
-overword
-oxford
-oztex
-oztex-german
-pacioli
-pagedraw
-pageno
-pagesel
-pandey
-pandora
-paper
-paralist
-parallel
-parskip
-passivetex
-patch
-path
-pawpict
-pb-diagram
-pbmtogf
-pcap
-pcfonts
-pdcmac
-pdfcrop
-pdfcrypt
-pdfpages
-pdfscreen
-pdfslide
-pdftex
-pdftex-djgpp
-pdftex_oztex
-pdftricks
-permute
-petri-nets
-pf2afm
-phoenician
-phonetic
-photo
-phppcf
-physe
-phyzzx
-picinpar
-picins
-pictex
-pictex2
-piff
-piq
-pitthesis
-pkfind
-pkfix
-pl
-pl-mf
-placeins
-plain
-plainmisc
-plaintex
-plari
-platex
-play
-plcalendar
-plfonts
-plgraph
-plpatch
-plpsfont
-pmcstex
-pmgraph
-poligraf
-polish-doc
-polyglot
-polynom
-postcards
-poster
-ppchtex
-ppower4
-prelim2e
-presfull
-prettyref
-preview-latex
-progkeys
-program
-proof
-proofs
-prosper
-protex
-protocol
-prv
-ps2eps
-ps_conv
-ps_view
-psboxit
-psfig
-psfixbb
-psfont
-psfonts
-psfrag
-psfrag-italian
-psizzl
-pslatex
-psmerge
-psnfss
-psnfss-source
-psnfssx
-pspicture
-psrip
-pssplit
-pst-optic
-pstoedit
-pstotext
-pstricks
-psutils
-punk
-pybliographer
-qbibman
-qfig
-qfonts
-qobitree
-qsymbols
-quotchap
-quotes
-qxcm
-r-und-s
-ragged
-ragged2e
-raggedr
-rail
-random
-rangecite
-rawfonts
-rawprint
-rccol
-rcs
-rcsinfo
-realcalc
-recipe
-refcheck
-refer2bibtex
-references
-refman
-regcount
-register
-relenc
-relsize
-remreset
-repeat
-res
-revnum
-revtex
-rfc2bib
-rlepsf
-rmligs
-rmpage
-romaniantex
-romanneg
-romannum
-rotating
-rotfloat
-rotpages
-rplain
-rsfs
-rsfs-ps
-rtf2latex2e
-ruhyphen
-ruler
-runic
-russian-help
-s2latex
-saferef
-sanskrit
-sauter
-sauterfonts
-savefnmark
-scale
-scalefnt
-schedule
-scientificviewer
-sciwordconv
-script
-scrnger
-secdot
-section
-sectsty
-selectp
-semantic
-semaphor
-seminar
-serial
-setspace
-sf298
-sfg
-sfheaders
-sgmlcmpt
-shadbox
-shadethm
-shading
-shadow
-shalom
-shapepar
-shapepatch
-shhyphl
-shortlst
-shorttoc
-showdim
-showkeys
-showlabels
-siam
-sidecap
-siggraph
-simplified-latex
-simpsons
-sinhala
-sirlin
-siunits
-skak
-slashbox
-slashed
-slemph
-slidenotes
-slides
-slovak
-smallcap
-smartmn
-smartref
-smflatex
-snapshot
-snviewer
-sober
-sobolev
-somedefs
-songbook
-sorhyph
-soul
-spanish
-spanishb
-sphack
-spie
-splitindex
-sprite
-sqltex
-srcltx
-ssqquote
-stabular
-startex
-statex
-stdclsdv
-stfloats
-stmaryrd
-stmaryrd-ps
-sttools
-subeqn
-subeqnarray
-subfigure
-subfiles
-subfloat
-sublabel
-subscript
-substr
-supertabular
-svjour
-swebib
-swiftex
-swimgraph
-swrule
-symbols
-syngen
-syntax-mdw
-syntax2
-syntonly
-synttree
-t-angles
-t1utils
-t2
-tabbing
-tabls
-tabularx
-tap
-taylor
-tbe
-tcvn
-tcx
-tds
-techexplorer
-teencontrex
-tengwar
-tensind
-tensor
-termcal
-testmath
-tetex
-teubner
-tex-math
-tex-ps
-tex2bib
-tex2html
-tex2ltx
-tex2rtf
-tex4ht
-tex98
-texaide
-texdepend
-texdoc
-texdoctk
-texdraw
-texed
-texemplar
-texi2html
-texi2www
-texinfo
-texip
-texlist
-texlive
-texmacs
-texmalli
-texniccenter
-texperf
-texpict
-texshade
-texshell32
-texsis
-texsk
-texsort
-text1
-textcase
-textcomp
-textfit
-textmerg
-textoolspro
-textopo
-textpos
-tfmpk
-theorem
-thesis
-threed
-threeparttable
-thumb
-thumbpdf
-ticket
-tif2eps
-tiff
-time
-times
-timesht
-timing
-tinyc2l
-tipa
-tipos
-titlefoot
-titleref
-titles
-titlesec
-titletoc
-titling
-tkbibtex
-tmmath
-tmview
-tocbibind
-tocloft
-tocvsec2
-toil
-toolbox
-topcapt
-topfloat
-totpages
-tracking
-trajan
-trans
-transfig
-treesvr
-treetex
-trfsigns
-truetype
-truncate
-tsconfig
-ttf-tetex
-ttf2mf
-ttf2pk
-ttf2pt1
-ttf2tex
-ttf2tfm
-ttftogf
-tth
-tth-rpm
-tth-win
-ttt
-tubtoc
-tugboat
-tugboat-toc
-tvs
-twg-list
-twoinone
-twoopt
-twoup
-twoupltx
-txt2latex
-txt2tex
-type1
-type1cm
-typearea
-typehtml
-typespec
-u8tex
-uaclasses
-ucthesis
-uhc-gothic
-ukhyph
-ukrhyph
-ulem
-ulsy
-umlaute
-umoline
-umrand
-uncial
-underlin
-underscore
-uni
-unicode
-uniqleaf
-units
-universa
-unsupported
-upgreek
-url
-urlbst
-urw
-urwstd
-urwvf
-ushort
-ut-backref
-ut-thesis
-utf2any
-utorontothesis
-utthesis
-uwmslide
-uwthesis
-varindex
-varioref
-varwidth
-vdm
-vector
-verbatim
-verbdef
-verse
-version
-vertex
-vfcomb
-vfinst
-vicentino
-viiptart
-vita
-vmargin
-vncmr
-vntex
-vpage
-vpp
-vrb
-vrsion
-vruler
-vtex
-warning
-warpcol
-wasy
-wasy-ps
-wasy2
-wasy2-ps
-wasysym
-wbarcode
-web
-web2c
-web2c-win32
-webfiles
-webguide
-webomints
-williams
-win95-guide
-windvi
-winedt
-winemtex
-winlatex
-winshell
-wmf2eps
-wnri
-wntamil
-word2x
-wordcount
-wp-conv
-wp2latex
-wrapfig
-wsuipa
-wsuipa2tipa
-wtex95
-xarticle
-xbibfile
-xcomment
-xdvi
-xdvik
-xfig
-xl2latex
-xml-catalogue
-xmlplay
-xmltex
-xr
-xspace
-xtab
-xtcapts
-xtem
-xtexcad
-xtrcode
-xymtex
-xypic
-yafoot
-yannisgr
-yfonts
-yhmath
-yi4latex
-yinit
-youngtab
-yplan
-ytex
-zed-csp
-zefonts
diff --git a/Build/cdbuild/tpm2/cat.only b/Build/cdbuild/tpm2/cat.only
deleted file mode 100644
index ddfbc849a5a..00000000000
--- a/Build/cdbuild/tpm2/cat.only
+++ /dev/null
@@ -1,493 +0,0 @@
-a2ac
-aaai
-abbrevs
-abstbook
-achicago
-achicago-bst
-acroread
-acrotex
-adobe
-adobeother
-adobestd
-aifont
-algorithmic
-algorithms
-alphanumb
-amiweb2c
-antomega
-anttvf
-apasoft
-arosgn
-arraymaker
-arrow
-attrib
-backgrnd
-bakoma-fonts
-bakoma-games
-bakoma-malvern
-barracuda
-base
-bbl2html
-beletter
-bibdb
-bibfind
-bibindex
-biblio
-biblios
-biblook
-bibsort
-bibtex8bit
-bibtool
-bibtools
-bibweb
-bidstobibtex
-binhex
-bits
-bitstrea
-blackboard
-blackletter1
-blkcntrl
-blu
-blue
-bosisio
-brclc
-brief
-briefkopf
-btool
-c2cweb
-cbgreek
-cc-plps
-cdcover
-cdlabeler
-cep
-chbibref
-chicago
-chngcntr
-chngpage
-circuit-macros
-citation
-cj
-cjhhebrew
-cjk-fonts
-cmolddig
-cmps
-cmyk-hax
-code128
-comprehensive
-compsci
-concrete-wrap
-consdiag
-corelfonts
-corelpak
-covfonts
-csx
-ctib4tex
-cwebbin
-cwebhy
-cwebx
-cyrtug
-dante-src
-dayroman
-dblfont
-dbprocess
-default
-delimtxt
-development
-diagxy
-dialogue
-dn2
-docstrip
-doublespace
-dp
-drafthead
-drama
-dropcaps
-dstroke
-dtxtut
-dvgtk
-dvichk
-dvii
-dviincl
-dvips-os2
-dvips-shell
-dvipsconfig
-dvipsdoc
-dviwin
-ec-plain
-ecpk
-ecta
-eline
-emtex-os2
-emtexgi
-emtextds
-encodings
-enctex
-epix
-epmtfe
-epsfview
-epsfx
-epsincl
-epslatex
-et
-etexbase
-evweek
-exam
-exams
-excalibur
-excel2latex
-exerquiz
-fancyhdrBoxed
-faq
-faq-es
-fepslatex
-fig2sty
-figfrag
-fihyph
-filehdr
-finplain
-fixbbl
-flashcard
-flatex
-flatten
-fltpage
-font-selection
-fontmisc
-formats
-fourproject
-fourspell
-fourtex
-frankenbundle
-frankenstein
-freetype
-french
-frenchpourwin
-frhyph
-ftetx
-ftn
-funnelweb
-g-brief
-gb4e
-gchords
-gellmu
-gentle
-getrefs
-ghostscript
-ghostview-mac
-ghyphen
-gleitobjekte
-glosstex
-gnhyph
-gnuplot-ps
-graphfig
-gray
-grfguide
-gtex-letter
-hcbundle
-hellas
-hexdump
-hfbright
-hlatex
-hrhyph
-html2latex
-html2text
-huhyph
-hvdashln
-hyperlatex
-hyphenation-greek
-hypht1
-iagproc
-iahyphen
-idealfonts
-ieeetran
-impose
-includex
-indxcite
-info
-inhyph
-initials
-isi2bibtex
-isostds
-ite
-ithyph
-izhitsa
-jas99m
-javatex
-jbibtexmanager
-jed
-jeep
-jpeg2ps-os2
-jqt1999
-jspell
-jtbnew
-kalendar
-knst
-koi8
-ktexshell
-lated
-latex209
-latex2e
-latex2man
-latex2rtf
-latex4jed
-latex4wp
-latexcad
-latexmake
-latexmk
-latexn
-latexpix
-latin2jk
-letterspacing
-lgrind
-ligatex
-lilypond
-lintex
-lips
-logo-ps
-losymbol
-lshort-portuguese-br
-lshort-ukr
-ltnews
-ltoh
-ltt
-ltx2x
-ltxdoc
-ltxinput
-ltxsrc
-ltxtable
-lw35nfsx
-macbibtex
-macgreek
-makefonts
-makeglos
-makor
-makor2
-maplems
-margbib
-marvosym-mac
-mathcmd
-mathdots
-mathinst
-mathkit
-mathspad
-mathspic
-matlabweb
-mbboard
-mdvi
-meta-mode
-metafp
-mf2pt1
-mf2pt3
-mf2tex
-mif2xfig
-miktex-axp
-mil3
-miniltx
-mirr
-mk
-mkpic
-mla
-mlbib
-mmafm
-mmpfb
-mmtools
-modes
-monotype
-monster
-moredefs
-mpedit
-mpfnmark
-mt11p
-mtbe
-musicref
-mylatex
-myletter
-nb4latex
-nestquot
-neuron
-newclude
-newcommand
-noindent
-norbib
-notex
-ntemacs
-obas
-ochem
-ocr-b
-oletex
-omegabase
-onlyamsmath
-oriya
-oryia
-os2tex
-oztex-german
-pagedraw
-pandey
-pbmtogf
-pcap
-pcfonts
-pdfcrop
-pdftex-djgpp
-pdftex_oztex
-pf2afm
-phppcf
-piq
-pkfind
-pl-mf
-plpsfont
-pmcstex
-poster
-ppchtex
-presfull
-preview-latex
-protex
-prv
-ps2eps
-ps_conv
-ps_view
-psfixbb
-psfonts
-psfrag-italian
-psmerge
-psnfss-source
-psrip
-pssplit
-pstotext
-pybliographer
-qbibman
-qfig
-quotes
-ragged
-rail
-random
-rangecite
-rawprint
-recipe
-refer2bibtex
-repeat
-res
-revnum
-rfc2bib
-rmligs
-romaniantex
-rsfs-ps
-rtf2latex2e
-ruler
-russian-help
-s2latex
-saferef
-scrnger
-selectp
-serial
-sfg
-sfheaders
-shading
-shalom
-shapepatch
-shhyphl
-simplified-latex
-sinhala
-sirlin
-siunits
-slemph
-snviewer
-sober
-sobolev
-sorhyph
-spanishb
-sqltex
-stmaryrd-ps
-subfiles
-subscript
-swiftex
-swimgraph
-syngen
-syntax-mdw
-syntax2
-tbe
-tcvn
-tcx
-teencontrex
-termcal
-testmath
-tex-math
-tex2bib
-tex2html
-tex2ltx
-tex2rtf
-tex98
-texdepend
-texed
-texemplar
-texi2html
-texi2www
-texip
-texlist
-texlive
-texmacs
-texmalli
-texperf
-texpict
-texsk
-textoolspro
-tfmpk
-tif2eps
-tiff
-tinyc2l
-tipos
-titles
-tkbibtex
-toil
-trans
-treesvr
-tsconfig
-ttf-tetex
-ttf2tex
-ttf2tfm
-ttftogf
-tth-rpm
-tth-win
-ttt
-tubtoc
-tugboat-toc
-tvs
-twg-list
-twoinone
-twoupltx
-txt2latex
-txt2tex
-type1
-u8tex
-uhc-gothic
-ukhyph
-uniqleaf
-urw
-urwvf
-ut-backref
-utf2any
-uwmslide
-verbdef
-vfcomb
-viiptart
-vncmr
-vpp
-wasy-ps
-wasy2
-wasy2-ps
-wbarcode
-web
-web2c
-web2c-win32
-webfiles
-webomints
-win95-guide
-winemtex
-word2x
-wsuipa2tipa
-wtex95
-xarticle
-xbibfile
-xl2latex
-xml-catalogue
-xtem
-xtrcode
-yinit
diff --git a/Build/cdbuild/tpm2/cat.styles b/Build/cdbuild/tpm2/cat.styles
deleted file mode 100644
index 8e01c3f33bf..00000000000
--- a/Build/cdbuild/tpm2/cat.styles
+++ /dev/null
@@ -1,57 +0,0 @@
-ltxmisc/a4wide.sty
-ltxmisc/a5.sty
-ltxmisc/a5comb.sty
-ltxmisc/advdate.sty
-ltxmisc/anonchap.sty
-ltxmisc/boxedminipage.sty
-ltxmisc/braket.sty
-ltxmisc/cancel.sty
-ltxmisc/capt-of.sty
-ltxmisc/cases.sty
-ltxmisc/chappg.sty
-ltxmisc/circle.sty
-ltxmisc/endnotes.sty
-ltxmisc/fncylab.sty
-ltxmisc/fnpara.sty
-ltxmisc/framed.sty
-ltxmisc/ftcap.sty
-ltxmisc/here.sty
-ltxmisc/hypernat.sty
-ltxmisc/import.sty
-ltxmisc/kix.sty
-ltxmisc/listing.sty
-ltxmisc/magaz.sty
-ltxmisc/mitpress.sty
-ltxmisc/morefloats.sty
-ltxmisc/needspace.sty
-ltxmisc/notoccite.sty
-ltxmisc/optional.sty
-ltxmisc/parskip.sty
-ltxmisc/path.sty
-ltxmisc/placeins.sty
-ltxmisc/proof.sty
-ltxmisc/raggedr.sty
-ltxmisc/relsize.sty
-ltxmisc/romanneg.sty
-ltxmisc/secdot.sty
-ltxmisc/section.sty
-ltxmisc/sphack.sty
-ltxmisc/statex.sty
-ltxmisc/swrule.sty
-ltxmisc/tabls.sty
-ltxmisc/threeparttable.sty
-ltxmisc/titleref.sty
-ltxmisc/topcapt.sty
-ltxmisc/truncate.sty
-ltxmisc/ulem.sty
-ltxmisc/underscore.sty
-ltxmisc/url.sty
-ltxmisc/varwidth.sty
-ltxmisc/vpage.sty
-ltxmisc/vruler.sty
-ltxmisc/wrapfig.sty
-misc209/bar.sty
-misc209/hangcaption.sty
-misc209/psboxit.sty
-misc209/shadow.sty
-misc209/version.sty
diff --git a/Build/cdbuild/tpm2/cats.xmlcat b/Build/cdbuild/tpm2/cats.xmlcat
deleted file mode 100644
index 7bdf8ecf386..00000000000
--- a/Build/cdbuild/tpm2/cats.xmlcat
+++ /dev/null
@@ -1,1175 +0,0 @@
-<cats>
-<cat name="IEEEtran" type="collection" value="publishers"/>
-<cat name="SIunits" type="collection" value="latex-extra"/>
-<cat name="a0poster" type="collection" value="latex-extra"/>
-<cat name="aastex" type="collection" value="latex-extra"/>
-<cat name="abstract" type="collection" value="latex-extra"/>
-<cat name="abstyles" type="biblio"/>
-<cat name="abstyles" type="collection" value="generic-extra"/>
-<cat name="accfonts" type="collection" value="fonts-extra"/>
-<cat name="achemso" type="collection" value="latex-extra"/>
-<cat name="acmconf" type="collection" value="publishers"/>
-<cat name="acmtrans" type="collection" value="publishers"/>
-<cat name="acronym" type="collection" value="latex-extra"/>
-<cat name="adfathesis" type="macros" value="latex"/>
-<cat name="adrconv" type="collection" value="latex-extra"/>
-<cat name="adrlist" type="collection" value="latex-extra"/>
-<cat name="ae" type="collection" value="latex-recommended"/>
-<cat name="aeguill" type="language" value="french"/>
-<cat name="afthesis" type="macros" value="latex"/>
-<cat name="aguplus" type="collection" value="publishers"/>
-<cat name="ai" type="collection" value="fonts-extra"/>
-<cat name="aiaa" type="collection" value="publishers"/>
-<cat name="akletter" type="collection" value="latex-extra"/>
-<cat name="alatex" type="collection" value="formats"/>
-<cat name="alg" type="collection" value="latex-extra"/>
-<cat name="allrunes" type="collection" value="fonts-extra"/>
-<cat name="altfont" type="collection" value="latex-extra"/>
-<cat name="amsfonts" type="collection" value="latex-recommended"/>
-<cat name="amslatex" type="collection" value="latex-base"/>
-<cat name="amstex" type="collection" value="math-extra"/>
-<cat name="answers" type="collection" value="latex-extra"/>
-<cat name="antp" type="language" value="polish"/>
-<cat name="antt" type="language" value="polish"/>
-<cat name="anysize" type="collection" value="latex-recommended"/>
-<cat name="apa" type="collection" value="latex-extra"/>
-<cat name="apacite" type="collection" value="bibtex-extra"/>
-<cat name="apl" type="collection" value="fonts-extra"/>
-<cat name="appendix" type="collection" value="latex-extra"/>
-<cat name="ar" type="collection" value="fonts-extra"/>
-<cat name="arabtex" type="macros" value="generic"/>
-<cat name="archaic" type="collection" value="fonts-extra"/>
-<cat name="armenian" type="language" value="armenian"/>
-<cat name="arrayjob" type="collection" value="latex-extra"/>
-<cat name="arydshln" type="collection" value="latex-extra"/>
-<cat name="asaetr" type="collection" value="latex-extra"/>
-<cat name="ascelike" type="collection" value="latex-extra"/>
-<cat name="ascii" type="collection" value="fonts-extra"/>
-<cat name="askinclude" type="macros" value="latex"/>
-<cat name="astro" type="collection" value="fonts-extra"/>
-<cat name="attachfile" type="collection" value="latex-extra"/>
-<cat name="auctex" type="tool"/>
-<cat name="augie" type="collection" value="fonts-extra"/>
-<cat name="aurora" type="collection" value="generic-extra"/>
-<cat name="aurora" type="dvips-tool"/>
-<cat name="authorindex" type="collection" value="latex-extra"/>
-<cat name="autotab" type="collection" value="latex-extra"/>
-<cat name="babel" type="collection" value="latex-recommended"/>
-<cat name="backgammon" type="collection" value="games"/>
-<cat name="bakoma" type="collection" value="basic"/>
-<cat name="bangtex" type="language" value="indic"/>
-<cat name="barcode2" type="collection" value="fonts-extra"/>
-<cat name="barcodes" type="collection" value="fonts-extra"/>
-<cat name="barr" type="collection" value="generic-extra"/>
-<cat name="basic" type="collection" value="bin-extra"/>
-<cat name="basic" type="collection" value="chemistry"/>
-<cat name="basic" type="collection" value="context"/>
-<cat name="basic" type="collection" value="etex"/>
-<cat name="basic" type="collection" value="font-tool"/>
-<cat name="basic" type="collection" value="fonts-extra"/>
-<cat name="basic" type="collection" value="formats"/>
-<cat name="basic" type="collection" value="generic-extra"/>
-<cat name="basic" type="collection" value="htmlxml"/>
-<cat name="basic" type="collection" value="metapost"/>
-<cat name="basic" type="collection" value="omega"/>
-<cat name="basic" type="collection" value="pdftex"/>
-<cat name="basic" type="collection" value="pictures"/>
-<cat name="basic" type="collection" value="plain-extra"/>
-<cat name="bbding" type="collection" value="fonts-extra"/>
-<cat name="bbm" type="collection" value="fonts-extra"/>
-<cat name="bbold" type="collection" value="fonts-extra"/>
-<cat name="beebe" type="biblio"/>
-<cat name="beebe" type="collection" value="bibtex-extra"/>
-<cat name="belleek" type="collection" value="psfonts"/>
-<cat name="bengali" type="language" value="indic"/>
-<cat name="beton" type="collection" value="latex-extra"/>
-<cat name="bez123" type="collection" value="latex-extra"/>
-<cat name="bezos" type="collection" value="latex-extra"/>
-<cat name="bibarts" type="collection" value="bibtex-extra"/>
-<cat name="bibhtml" type="biblio"/>
-<cat name="bibhtml" type="collection" value="bibtex-extra"/>
-<cat name="biblio-perl" type="tool"/>
-<cat name="biblist" type="collection" value="bibtex-extra"/>
-<cat name="bibtex" type="biblio"/>
-<cat name="bibtex" type="collection" value="basic"/>
-<cat name="bibtex8" type="biblio"/>
-<cat name="bibtex8" type="collection" value="basic"/>
-<cat name="bibtopic" type="collection" value="bibtex-extra"/>
-<cat name="bibunits" type="collection" value="bibtex-extra"/>
-<cat name="biocon" type="collection" value="latex-extra"/>
-<cat name="bitfield" type="collection" value="latex-extra"/>
-<cat name="bizcard" type="collection" value="latex-extra"/>
-<cat name="bluesky" type="collection" value="basic"/>
-<cat name="bmeps" type="graphics"/>
-<cat name="boites" type="collection" value="latex-extra"/>
-<cat name="bookhands" type="collection" value="fonts-extra"/>
-<cat name="booklet" type="collection" value="latex-extra"/>
-<cat name="booktabs" type="collection" value="latex-recommended"/>
-<cat name="bophook" type="collection" value="latex-extra"/>
-<cat name="borceux" type="collection" value="generic-extra"/>
-<cat name="bpchem" type="collection" value="chemistry"/>
-<cat name="braille" type="collection" value="games"/>
-<cat name="breqn" type="collection" value="math-extra"/>
-<cat name="bridge" type="collection" value="games"/>
-<cat name="brushscr" type="collection" value="fonts-extra"/>
-<cat name="bundledoc" type="collection" value="latex-extra"/>
-<cat name="bundledoc" type="tool"/>
-<cat name="burmese" type="language" value="indic"/>
-<cat name="bytefield" type="collection" value="latex-extra"/>
-<cat name="bzip2" type="collection" value="basic"/>
-<cat name="bzip2" type="collection" value="documentation"/>
-<cat name="bzip2" type="tool"/>
-<cat name="c-pascal" type="collection" value="generic-extra"/>
-<cat name="calendar" type="collection" value="latex-extra"/>
-<cat name="calligra" type="collection" value="fonts-extra"/>
-<cat name="calrsfs" type="collection" value="latex-extra"/>
-<cat name="calxxxx" type="collection" value="latex-extra"/>
-<cat name="camel" type="collection" value="latex-extra"/>
-<cat name="captcont" type="collection" value="latex-extra"/>
-<cat name="caption" type="collection" value="latex-extra"/>
-<cat name="carlisle" type="collection" value="latex-base"/>
-<cat name="casyl" type="collection" value="latex-extra"/>
-<cat name="catalogue" type="collection" value="documentation"/>
-<cat name="catalogue" type="documentation"/>
-<cat name="cb" type="language" value="greek"/>
-<cat name="cc-pl" type="language" value="polish"/>
-<cat name="ccaption" type="collection" value="latex-extra"/>
-<cat name="ccfonts" type="collection" value="math-extra"/>
-<cat name="cchess" type="collection" value="games"/>
-<cat name="cd" type="collection" value="latex-extra"/>
-<cat name="cd-cover" type="collection" value="latex-extra"/>
-<cat name="cdpbundl" type="collection" value="latex-extra"/>
-<cat name="cellular" type="collection" value="plain-extra"/>
-<cat name="changebar" type="collection" value="latex-extra"/>
-<cat name="charter" type="collection" value="psfonts"/>
-<cat name="chem-journal" type="biblio"/>
-<cat name="chem-journal" type="collection" value="publishers"/>
-<cat name="chemarrow" type="collection" value="chemistry"/>
-<cat name="chemcono" type="collection" value="chemistry"/>
-<cat name="chemsym" type="collection" value="chemistry"/>
-<cat name="cheq" type="collection" value="games"/>
-<cat name="cherokee" type="collection" value="fonts-extra"/>
-<cat name="chess" type="collection" value="games"/>
-<cat name="china2e" type="collection" value="latex-extra"/>
-<cat name="chktex" type="collection" value="bin-extra"/>
-<cat name="chktex" type="collection" value="generic-extra"/>
-<cat name="chktex" type="tool"/>
-<cat name="circ" type="collection" value="latex-extra"/>
-<cat name="cirth" type="collection" value="fonts-extra"/>
-<cat name="cite" type="collection" value="latex-extra"/>
-<cat name="citeref" type="collection" value="latex-extra"/>
-<cat name="cjk" type="language" value="cjk"/>
-<cat name="cjkutils" type="language" value="cjk"/>
-<cat name="cjw" type="collection" value="latex-extra"/>
-<cat name="clock" type="collection" value="latex-extra"/>
-<cat name="cm" type="collection" value="basic"/>
-<cat name="cm-super" type="collection" value="fonts-extra"/>
-<cat name="cmbright" type="collection" value="fonts-extra"/>
-<cat name="cmcyr" type="language" value="cyrillic"/>
-<cat name="cmcyralt" type="language" value="cyrillic"/>
-<cat name="cmdtrack" type="collection" value="latex-extra"/>
-<cat name="cmex" type="collection" value="basic"/>
-<cat name="cmextra" type="collection" value="fonts-extra"/>
-<cat name="cmpica" type="collection" value="fonts-extra"/>
-<cat name="cmpk" type="collection" value="fonts-extra"/>
-<cat name="cmsd" type="collection" value="latex-extra"/>
-<cat name="codepage" type="collection" value="latex-extra"/>
-<cat name="colorsep" type="collection" value="generic-extra"/>
-<cat name="colorsep" type="dvips-tool"/>
-<cat name="colortab" type="collection" value="plain-extra"/>
-<cat name="combine" type="collection" value="latex-extra"/>
-<cat name="comment" type="collection" value="latex-extra"/>
-<cat name="compactbib" type="collection" value="bibtex-extra"/>
-<cat name="concmath" type="collection" value="math-extra"/>
-<cat name="concprog" type="collection" value="latex-extra"/>
-<cat name="concrete" type="collection" value="math-extra"/>
-<cat name="context" type="collection" value="context"/>
-<cat name="contour" type="collection" value="latex-extra"/>
-<cat name="cooking" type="collection" value="latex-extra"/>
-<cat name="coordsys" type="collection" value="latex-extra"/>
-<cat name="coptic" type="language" value="armenian"/>
-<cat name="courier" type="collection" value="psfonts"/>
-<cat name="covington" type="collection" value="latex-extra"/>
-<cat name="croatian" type="language" value="croatian"/>
-<cat name="crop" type="collection" value="latex-extra"/>
-<cat name="crossreference" type="collection" value="latex-extra"/>
-<cat name="crossword" type="collection" value="latex-extra"/>
-<cat name="crosswrd" type="collection" value="latex-extra"/>
-<cat name="cryst" type="collection" value="latex-extra"/>
-<cat name="csfonts" type="language" value="czechslovak"/>
-<cat name="cslatex" type="language" value="czechslovak"/>
-<cat name="csplain" type="language" value="czechslovak"/>
-<cat name="cspsfonts" type="language" value="czechslovak"/>
-<cat name="cstug" type="language" value="czechslovak"/>
-<cat name="cstug" type="usergroup"/>
-<cat name="ctable" type="collection" value="latex-extra"/>
-<cat name="ctib" type="language" value="tibetan"/>
-<cat name="cuisine" type="collection" value="latex-extra"/>
-<cat name="currvita" type="collection" value="latex-extra"/>
-<cat name="cursor" type="collection" value="latex-extra"/>
-<cat name="curve" type="collection" value="latex-extra"/>
-<cat name="curves" type="collection" value="latex-extra"/>
-<cat name="custom-bib" type="collection" value="bibtex-extra"/>
-<cat name="cv" type="collection" value="latex-extra"/>
-<cat name="cweb" type="tool"/>
-<cat name="cyrillic" type="language" value="cyrillic"/>
-<cat name="dancers" type="collection" value="fonts-extra"/>
-<cat name="dashbox" type="collection" value="latex-extra"/>
-<cat name="dashrule" type="collection" value="latex-extra"/>
-<cat name="datenumber" type="collection" value="latex-extra"/>
-<cat name="datetime" type="collection" value="latex-extra"/>
-<cat name="dcpic" type="collection" value="pictures"/>
-<cat name="deleq" type="collection" value="latex-extra"/>
-<cat name="detex" type="collection" value="bin-extra"/>
-<cat name="detex" type="tool"/>
-<cat name="devanagari" type="language" value="indic"/>
-<cat name="devnag" type="language" value="indic"/>
-<cat name="devnag" type="tool"/>
-<cat name="diagnose" type="collection" value="latex-extra"/>
-<cat name="dialog" type="collection" value="basic"/>
-<cat name="dialog" type="tool"/>
-<cat name="dialogl" type="collection" value="latex-extra"/>
-<cat name="dice" type="collection" value="fonts-extra"/>
-<cat name="dichokey" type="collection" value="latex-extra"/>
-<cat name="dinat" type="biblio"/>
-<cat name="dinat" type="collection" value="generic-extra"/>
-<cat name="dinbrief" type="collection" value="latex-extra"/>
-<cat name="dingbat" type="collection" value="fonts-extra"/>
-<cat name="directory" type="collection" value="latex-extra"/>
-<cat name="dk-bib" type="biblio"/>
-<cat name="dk-bib" type="collection" value="latex-extra"/>
-<cat name="dnaseq" type="collection" value="latex-extra"/>
-<cat name="docmfp" type="collection" value="latex-extra"/>
-<cat name="dotseqn" type="collection" value="latex-extra"/>
-<cat name="doublestroke" type="collection" value="fonts-extra"/>
-<cat name="dpfloat" type="collection" value="latex-extra"/>
-<cat name="draftcopy" type="collection" value="latex-extra"/>
-<cat name="dratex" type="collection" value="pictures"/>
-<cat name="dropping" type="collection" value="latex-extra"/>
-<cat name="dtk" type="collection" value="latex-extra"/>
-<cat name="dtl" type="collection" value="bin-extra"/>
-<cat name="dtl" type="tool"/>
-<cat name="duerer" type="collection" value="fonts-extra"/>
-<cat name="dvi2bitmap" type="tool"/>
-<cat name="dvi2tty" type="collection" value="basic"/>
-<cat name="dvi2tty" type="tool"/>
-<cat name="dvi2tty" type="tool"/>
-<cat name="dvidvi" type="collection" value="basic"/>
-<cat name="dvidvi" type="collection" value="bin-extra"/>
-<cat name="dvidvi" type="tool"/>
-<cat name="dviljk" type="collection" value="basic"/>
-<cat name="dvipdfm" type="collection" value="basic"/>
-<cat name="dvipdfm" type="tool"/>
-<cat name="dvipdfm-static" type="tool"/>
-<cat name="dvipdfmx" type="tool"/>
-<cat name="dvipsk" type="collection" value="basic"/>
-<cat name="dvipsk-static" type="tool"/>
-<cat name="dviware" type="collection" value="basic"/>
-<cat name="dviware" type="tool"/>
-<cat name="ean" type="collection" value="fonts-extra"/>
-<cat name="easy" type="collection" value="latex-extra"/>
-<cat name="ebezier" type="collection" value="latex-extra"/>
-<cat name="ec" type="collection" value="latex-recommended"/>
-<cat name="ecc" type="collection" value="fonts-extra"/>
-<cat name="ecltree" type="collection" value="latex-extra"/>
-<cat name="edmac" type="collection" value="formats"/>
-<cat name="eepic" type="collection" value="pictures"/>
-<cat name="egplot" type="collection" value="latex-extra"/>
-<cat name="eiad" type="collection" value="fonts-extra"/>
-<cat name="eijkhout" type="collection" value="generic-extra"/>
-<cat name="elsevier" type="collection" value="publishers"/>
-<cat name="elvish" type="collection" value="fonts-extra"/>
-<cat name="em" type="collection" value="latex-extra"/>
-<cat name="emp" type="collection" value="latex-extra"/>
-<cat name="empheq" type="collection" value="math-extra"/>
-<cat name="emtex" type="system"/>
-<cat name="emulateapj" type="collection" value="latex-extra"/>
-<cat name="endfloat" type="collection" value="latex-extra"/>
-<cat name="engwar" type="collection" value="fonts-extra"/>
-<cat name="envbig" type="collection" value="latex-extra"/>
-<cat name="envlab" type="collection" value="latex-extra"/>
-<cat name="epigraph" type="collection" value="latex-extra"/>
-<cat name="eplain" type="collection" value="formats"/>
-<cat name="epsdice" type="collection" value="fonts-extra"/>
-<cat name="eqlist" type="collection" value="latex-extra"/>
-<cat name="eqname" type="collection" value="latex-extra"/>
-<cat name="eqnarray" type="collection" value="math-extra"/>
-<cat name="eqparbox" type="collection" value="latex-extra"/>
-<cat name="esdiff" type="collection" value="latex-extra"/>
-<cat name="esieecv" type="collection" value="latex-extra"/>
-<cat name="esint" type="collection" value="latex-extra"/>
-<cat name="eso-pic" type="collection" value="latex-extra"/>
-<cat name="esvect" type="collection" value="fonts-extra"/>
-<cat name="etex" type="collection" value="context"/>
-<cat name="etex" type="collection" value="etex"/>
-<cat name="ethiop" type="language" value="african"/>
-<cat name="euclide" type="collection" value="latex-extra"/>
-<cat name="euler" type="collection" value="latex-extra"/>
-<cat name="eulervm" type="collection" value="fonts-extra"/>
-<cat name="euro" type="collection" value="basic"/>
-<cat name="euro-ce" type="collection" value="basic"/>
-<cat name="eurofont" type="collection" value="basic"/>
-<cat name="eurosym" type="collection" value="basic"/>
-<cat name="euxm" type="collection" value="fonts-extra"/>
-<cat name="examdesign" type="collection" value="latex-extra"/>
-<cat name="expdlist" type="collection" value="latex-extra"/>
-<cat name="expl3" type="collection" value="latex-extra"/>
-<cat name="export" type="collection" value="latex-extra"/>
-<cat name="expressg" type="collection" value="metapost"/>
-<cat name="expressg" type="metapost"/>
-<cat name="extsizes" type="collection" value="latex-extra"/>
-<cat name="fancybox" type="collection" value="latex-extra"/>
-<cat name="fancyhdr" type="collection" value="latex-recommended"/>
-<cat name="fancynum" type="collection" value="latex-extra"/>
-<cat name="fancyref" type="collection" value="latex-extra"/>
-<cat name="fancyvrb" type="collection" value="latex-extra"/>
-<cat name="faq-english" type="collection" value="documentation"/>
-<cat name="faq-english" type="documentation"/>
-<cat name="faq-french" type="documentation"/>
-<cat name="faq-french" type="language" value="french"/>
-<cat name="faq-german" type="documentation"/>
-<cat name="faq-german" type="language" value="german"/>
-<cat name="fax" type="collection" value="latex-extra"/>
-<cat name="fbithesis" type="macros" value="latex"/>
-<cat name="fc" type="language" value="african"/>
-<cat name="featpost" type="collection" value="metapost"/>
-<cat name="featpost" type="metapost"/>
-<cat name="feyn" type="collection" value="fonts-extra"/>
-<cat name="feynmf" type="collection" value="metapost"/>
-<cat name="figsize" type="collection" value="latex-extra"/>
-<cat name="filecontents" type="collection" value="latex-extra"/>
-<cat name="finbib" type="biblio"/>
-<cat name="finbib" type="language" value="finnish"/>
-<cat name="fink" type="collection" value="latex-extra"/>
-<cat name="firststeps" type="collection" value="generic-extra"/>
-<cat name="firststeps" type="documentation"/>
-<cat name="fixfoot" type="collection" value="latex-extra"/>
-<cat name="fixme" type="collection" value="latex-extra"/>
-<cat name="flabels" type="collection" value="latex-extra"/>
-<cat name="flashcards" type="collection" value="latex-extra"/>
-<cat name="float" type="collection" value="latex-extra"/>
-<cat name="floatfig" type="macros" value="latex"/>
-<cat name="floatflt" type="collection" value="latex-extra"/>
-<cat name="fltpoint" type="collection" value="generic-extra"/>
-<cat name="fmp" type="collection" value="latex-extra"/>
-<cat name="fncychap" type="collection" value="latex-extra"/>
-<cat name="foilhtml" type="collection" value="latex-extra"/>
-<cat name="foiltex" type="macros" value="latex"/>
-<cat name="fontinst" type="collection" value="font-tool"/>
-<cat name="fontname" type="collection" value="basic"/>
-<cat name="fontname" type="collection" value="documentation"/>
-<cat name="fontname" type="documentation"/>
-<cat name="fontware" type="collection" value="font-tool"/>
-<cat name="fontware" type="tool"/>
-<cat name="footbib" type="collection" value="bibtex-extra"/>
-<cat name="footmisc" type="collection" value="latex-extra"/>
-<cat name="footnpag" type="collection" value="latex-extra"/>
-<cat name="formula" type="collection" value="latex-extra"/>
-<cat name="formular" type="collection" value="latex-extra"/>
-<cat name="fp" type="collection" value="latex-extra"/>
-<cat name="fribrief" type="collection" value="latex-extra"/>
-<cat name="fullblck" type="collection" value="latex-extra"/>
-<cat name="fullblck" type="macros" value="latex"/>
-<cat name="fullpict" type="collection" value="latex-extra"/>
-<cat name="fundus" type="collection" value="latex-extra"/>
-<cat name="futhark" type="collection" value="fonts-extra"/>
-<cat name="galley" type="collection" value="latex3"/>
-<cat name="galois" type="collection" value="latex-extra"/>
-<cat name="gauss" type="collection" value="latex-extra"/>
-<cat name="genealogy" type="collection" value="fonts-extra"/>
-<cat name="general" type="collection" value="basic"/>
-<cat name="general" type="documentation" />
-<cat name="genmisc" type="collection" value="generic-extra"/>
-<cat name="genmpage" type="collection" value="latex-extra"/>
-<cat name="gentl-gr" type="documentation"/>
-<cat name="geometry" type="collection" value="latex-recommended"/>
-<cat name="geomsty" type="collection" value="latex-extra"/>
-<cat name="german" type="language" value="german"/>
-<cat name="germbib" type="language" value="german"/>
-<cat name="germdoc" type="documentation"/>
-<cat name="germdoc" type="language" value="german"/>
-<cat name="getafm" type="tool"/>
-<cat name="ghostscript-free" type="collection" value="win32-support"/>
-<cat name="ghostscript-nonfree" type="collection" value="win32-support"/>
-<cat name="gloss" type="collection" value="latex-extra"/>
-<cat name="gn-logic" type="collection" value="latex-extra"/>
-<cat name="gnu-utils" type="collection" value="win32-support"/>
-<cat name="go" type="collection" value="games"/>
-<cat name="gothic" type="collection" value="fonts-extra"/>
-<cat name="graphics" type="collection" value="latex-base"/>
-<cat name="greek" type="language" value="greek"/>
-<cat name="greekdoc" type="documentation"/>
-<cat name="greekdoc" type="language" value="greek"/>
-<cat name="greenpoint" type="collection" value="fonts-extra"/>
-<cat name="grfpaste" type="collection" value="latex-extra"/>
-<cat name="grnumalt" type="collection" value="latex-extra"/>
-<cat name="grtimes" type="language" value="greek"/>
-<cat name="grverb" type="language" value="greek"/>
-<cat name="gsftopk" type="collection" value="basic"/>
-<cat name="gsftopk" type="tool"/>
-<cat name="gsftopk-static" type="tool"/>
-<cat name="gsview" type="tool"/>
-<cat name="gsview42-nonfree" type="collection" value="win32-support"/>
-<cat name="gtf" type="language" value="greek"/>
-<cat name="gtf" type="usergroup"/>
-<cat name="guides" type="collection" value="documentation"/>
-<cat name="guides" type="documentation"/>
-<cat name="guitar" type="collection" value="music"/>
-<cat name="gustlib" type="language" value="polish"/>
-<cat name="gzip" type="collection" value="basic"/>
-<cat name="gzip" type="collection" value="documentation"/>
-<cat name="gzip" type="tool"/>
-<cat name="hands" type="collection" value="fonts-extra"/>
-<cat name="hanging" type="collection" value="latex-extra"/>
-<cat name="harpoon" type="collection" value="latex-extra"/>
-<cat name="harvard" type="collection" value="bibtex-extra"/>
-<cat name="harvmac" type="collection" value="bibtex-extra"/>
-<cat name="hatching" type="collection" value="metapost"/>
-<cat name="hatching" type="metapost"/>
-<cat name="hc" type="collection" value="latex-extra"/>
-<cat name="hh" type="collection" value="latex-extra"/>
-<cat name="hilowres" type="collection" value="latex-extra"/>
-<cat name="histogr" type="collection" value="latex-extra"/>
-<cat name="hitec" type="collection" value="latex-extra"/>
-<cat name="hoekwater" type="collection" value="basic"/>
-<cat name="hpsdiss" type="collection" value="latex-extra"/>
-<cat name="html" type="collection" value="documentation"/>
-<cat name="html" type="documentation"/>
-<cat name="hvmath" type="collection" value="math-extra"/>
-<cat name="hyper" type="collection" value="latex-extra"/>
-<cat name="hyperref" type="collection" value="latex-recommended"/>
-<cat name="hyphenat" type="collection" value="latex-extra"/>
-<cat name="ibm" type="collection" value="fonts-extra"/>
-<cat name="ibycus" type="language" value="greek"/>
-<cat name="ieeepes" type="collection" value="publishers"/>
-<cat name="ifacmtg" type="collection" value="publishers"/>
-<cat name="ifmslide" type="collection" value="pdftex"/>
-<cat name="ifsym" type="collection" value="fonts-extra"/>
-<cat name="imac" type="collection" value="latex-extra"/>
-<cat name="imagick" type="collection" value="win32-support"/>
-<cat name="inlinebib" type="collection" value="bibtex-extra"/>
-<cat name="insbox" type="collection" value="generic-extra"/>
-<cat name="invoice" type="collection" value="latex-extra"/>
-<cat name="ipa" type="collection" value="latex-extra"/>
-<cat name="iso" type="collection" value="latex-extra"/>
-<cat name="iso" type="macros" value="latex"/>
-<cat name="iso10303" type="collection" value="latex-extra"/>
-<cat name="isodate" type="collection" value="latex-extra"/>
-<cat name="isorot" type="collection" value="latex-extra"/>
-<cat name="ispell" type="collection" value="basic"/>
-<cat name="ispell" type="collection" value="win32-support"/>
-<cat name="ispell" type="tool"/>
-<cat name="italian-doc" type="documentation"/>
-<cat name="italian-doc" type="language" value="italian"/>
-<cat name="itrans" type="language" value="indic"/>
-<cat name="jadetex" type="collection" value="htmlxml"/>
-<cat name="javascript-texed" type="tool"/>
-<cat name="jhep" type="collection" value="latex-extra"/>
-<cat name="jknappen" type="collection" value="latex-extra"/>
-<cat name="jkthesis" type="macros" value="latex"/>
-<cat name="jpeg2ps" type="collection" value="basic"/>
-<cat name="jpeg2ps" type="tool"/>
-<cat name="jpeg2ps" type="tool"/>
-<cat name="jsmisc" type="collection" value="plain-extra"/>
-<cat name="jura" type="language" value="german"/>
-<cat name="jurabib" type="language" value="german"/>
-<cat name="kalender" type="collection" value="latex-extra"/>
-<cat name="karnaugh" type="collection" value="latex-extra"/>
-<cat name="kastrup" type="collection" value="latex-extra"/>
-<cat name="kdgreek" type="language" value="greek"/>
-<cat name="kerkis" type="language" value="greek"/>
-<cat name="keystroke" type="collection" value="latex-extra"/>
-<cat name="kluwer" type="collection" value="publishers"/>
-<cat name="knuth" type="collection" value="documentation"/>
-<cat name="knuth" type="collection" value="texbooks"/>
-<cat name="koma-script" type="collection" value="latex-extra"/>
-<cat name="kpathsea" type="collection" value="basic"/>
-<cat name="kpathsea" type="library"/>
-<cat name="kuvio" type="collection" value="pictures"/>
-<cat name="l2hprog" type="collection" value="win32-support"/>
-<cat name="labelmag" type="tool"/>
-<cat name="labels" type="collection" value="latex-extra"/>
-<cat name="lacheck" type="collection" value="bin-extra"/>
-<cat name="lacheck" type="tool"/>
-<cat name="lamstex" type="collection" value="formats"/>
-<cat name="langpolish" type="language" value="polish"/>
-<cat name="lastpage" type="collection" value="latex-extra"/>
-<cat name="latable" type="tool"/>
-<cat name="latex" type="collection" value="bibtex-extra"/>
-<cat name="latex" type="collection" value="games"/>
-<cat name="latex" type="collection" value="htmlxml"/>
-<cat name="latex" type="collection" value="latex-extra"/>
-<cat name="latex" type="collection" value="latex-recommended"/>
-<cat name="latex" type="collection" value="math-extra"/>
-<cat name="latex" type="collection" value="music"/>
-<cat name="latex" type="collection" value="psfonts"/>
-<cat name="latex" type="collection" value="publishers"/>
-<cat name="latex2html" type="collection" value="htmlxml"/>
-<cat name="latex2html" type="tool"/>
-<cat name="latexdraw" type="tool"/>
-<cat name="latexfonts" type="collection" value="latex-base"/>
-<cat name="latexwide" type="macros" value="latex"/>
-<cat name="layouts" type="collection" value="latex-extra"/>
-<cat name="lcg" type="collection" value="latex-extra"/>
-<cat name="le" type="language" value="french"/>
-<cat name="leaflet" type="collection" value="latex-extra"/>
-<cat name="leftidx" type="collection" value="latex-extra"/>
-<cat name="lettre" type="collection" value="latex-extra"/>
-<cat name="lettrine" type="collection" value="latex-extra"/>
-<cat name="levy" type="language" value="greek"/>
-<cat name="lexikon" type="collection" value="latex-extra"/>
-<cat name="lgreek" type="language" value="greek"/>
-<cat name="lh" type="language" value="cyrillic"/>
-<cat name="lhcyr" type="language" value="cyrillic"/>
-<cat name="lhelp" type="collection" value="latex-extra"/>
-<cat name="lib-curl" type="library"/>
-<cat name="lib-expat" type="library"/>
-<cat name="lib-freetype" type="library"/>
-<cat name="lib-freetype2" type="library"/>
-<cat name="lib-geturl" type="library"/>
-<cat name="lib-gifreader" type="library"/>
-<cat name="lib-jpeg" type="collection" value="basic"/>
-<cat name="lib-jpeg" type="library"/>
-<cat name="lib-png" type="collection" value="basic"/>
-<cat name="lib-png" type="library"/>
-<cat name="lib-regex" type="library"/>
-<cat name="lib-ttf" type="collection" value="basic"/>
-<cat name="lib-ttf" type="library"/>
-<cat name="lib-zlib" type="library"/>
-<cat name="limap" type="collection" value="latex-extra"/>
-<cat name="lineno" type="collection" value="latex-extra"/>
-<cat name="linguex" type="collection" value="latex-extra"/>
-<cat name="listbib" type="collection" value="bibtex-extra"/>
-<cat name="listings" type="collection" value="latex-extra"/>
-<cat name="listliketab" type="collection" value="latex-extra"/>
-<cat name="literat" type="collection" value="fonts-extra"/>
-<cat name="literat" type="language" value="cyrillic"/>
-<cat name="lkort" type="documentation"/>
-<cat name="lkort" type="language" value="dutch"/>
-<cat name="localloc" type="collection" value="latex-extra"/>
-<cat name="logic" type="collection" value="fonts-extra"/>
-<cat name="lollipop" type="macros" value="lollipop"/>
-<cat name="lshort-english" type="collection" value="latex-recommended"/>
-<cat name="lshort-english" type="documentation"/>
-<cat name="lshort-finnish" type="documentation"/>
-<cat name="lshort-finnish" type="language" value="finnish"/>
-<cat name="lshort-french" type="documentation"/>
-<cat name="lshort-french" type="language" value="french"/>
-<cat name="lshort-german" type="documentation"/>
-<cat name="lshort-german" type="language" value="german"/>
-<cat name="lshort-italian" type="documentation"/>
-<cat name="lshort-italian" type="language" value="italian"/>
-<cat name="lshort-japanese" type="documentation"/>
-<cat name="lshort-japanese" type="language" value="cjk"/>
-<cat name="lshort-korean" type="documentation"/>
-<cat name="lshort-korean" type="language" value="cjk"/>
-<cat name="lshort-mongolian" type="documentation"/>
-<cat name="lshort-mongolian" type="language" value="mongolian"/>
-<cat name="lshort-polish" type="documentation"/>
-<cat name="lshort-polish" type="language" value="polish"/>
-<cat name="lshort-portuguese" type="documentation"/>
-<cat name="lshort-portuguese" type="language" value="portuguese"/>
-<cat name="lshort-russian" type="documentation"/>
-<cat name="lshort-russian" type="language" value="cyrillic"/>
-<cat name="lshort-slovak" type="documentation"/>
-<cat name="lshort-slovak" type="language" value="czechslovak"/>
-<cat name="lshort-spanish" type="documentation"/>
-<cat name="lshort-spanish" type="language" value="spanish"/>
-<cat name="lshort-ukrainian" type="documentation"/>
-<cat name="ltablex" type="collection" value="latex-extra"/>
-<cat name="ltx2rtf" type="collection" value="generic-extra"/>
-<cat name="ltx2rtf" type="tool"/>
-<cat name="ltx2rtf-static" type="tool"/>
-<cat name="ltxbase" type="collection" value="latex-base"/>
-<cat name="ltxmisc" type="collection" value="latex-recommended"/>
-<cat name="lucida" type="collection" value="fonts-extra"/>
-<cat name="lucold" type="collection" value="fonts-extra"/>
-<cat name="ly1" type="collection" value="psfonts"/>
-<cat name="mailing" type="collection" value="latex-extra"/>
-<cat name="makecmds" type="collection" value="latex-extra"/>
-<cat name="makeindex" type="collection" value="basic"/>
-<cat name="makeindex" type="collection" value="basic"/>
-<cat name="malayalam" type="language" value="indic"/>
-<cat name="manfnt" type="collection" value="latex-extra"/>
-<cat name="manjutex" type="language" value="manju"/>
-<cat name="mapcodes" type="collection" value="latex-extra"/>
-<cat name="maple" type="collection" value="latex-extra"/>
-<cat name="marvosym" type="collection" value="psfonts"/>
-<cat name="mathcomp" type="collection" value="math-extra"/>
-<cat name="mathematica" type="collection" value="fonts-extra"/>
-<cat name="mathpazo" type="collection" value="math-extra"/>
-<cat name="mathtime" type="collection" value="fonts-extra"/>
-<cat name="mattens" type="collection" value="latex-extra"/>
-<cat name="mceinleger" type="collection" value="latex-extra"/>
-<cat name="mcite" type="collection" value="latex-extra"/>
-<cat name="mdwtools" type="collection" value="latex-extra"/>
-<cat name="memoir" type="collection" value="latex-extra"/>
-<cat name="metafont" type="collection" value="basic"/>
-<cat name="metafont" type="tex-tool"/>
-<cat name="metaobj" type="collection" value="metapost"/>
-<cat name="metaobj" type="metapost"/>
-<cat name="metapost" type="collection" value="metapost"/>
-<cat name="metapost" type="tex-tool"/>
-<cat name="metapost-examples" type="collection" value="metapost"/>
-<cat name="metapost-examples" type="documentation"/>
-<cat name="metasupp" type="collection" value="basic"/>
-<cat name="method" type="collection" value="latex-extra"/>
-<cat name="metre" type="collection" value="latex-extra"/>
-<cat name="mex" type="language" value="polish"/>
-<cat name="mf-ps" type="collection" value="pictures"/>
-<cat name="mf-ps" type="tool"/>
-<cat name="mff" type="collection" value="latex-extra"/>
-<cat name="mflogo" type="collection" value="basic"/>
-<cat name="mfmisc" type="collection" value="basic"/>
-<cat name="mfnfss" type="collection" value="latex-recommended"/>
-<cat name="mfpic" type="collection" value="metapost"/>
-<cat name="mft" type="collection" value="font-tool"/>
-<cat name="mft" type="tool"/>
-<cat name="mftinc" type="collection" value="latex-extra"/>
-<cat name="mhequ" type="collection" value="latex-extra"/>
-<cat name="mhs" type="collection" value="latex-extra"/>
-<cat name="midnight" type="collection" value="generic-extra"/>
-<cat name="miller" type="collection" value="latex-extra"/>
-<cat name="miniplot" type="collection" value="pictures"/>
-<cat name="minitoc" type="collection" value="latex-extra"/>
-<cat name="minutes" type="collection" value="latex-extra"/>
-<cat name="misc209" type="collection" value="latex-extra"/>
-<cat name="mltex" type="collection" value="basic"/>
-<cat name="mminstance" type="collection" value="font-tool"/>
-<cat name="mminstance" type="tool"/>
-<cat name="mnras" type="collection" value="publishers"/>
-<cat name="mnras" type="macros" value="latex"/>
-<cat name="montex" type="language" value="mongolian"/>
-<cat name="morehelp" type="collection" value="latex-extra"/>
-<cat name="moresize" type="collection" value="latex-extra"/>
-<cat name="moreverb" type="collection" value="latex-extra"/>
-<cat name="morse" type="collection" value="fonts-extra"/>
-<cat name="mparhack" type="collection" value="latex-extra"/>
-<cat name="mpattern" type="collection" value="metapost"/>
-<cat name="mpattern" type="metapost"/>
-<cat name="ms" type="collection" value="latex-extra"/>
-<cat name="msc" type="collection" value="latex-extra"/>
-<cat name="mslapa" type="collection" value="latex-extra"/>
-<cat name="mtgreek" type="collection" value="latex-extra"/>
-<cat name="multenum" type="collection" value="latex-extra"/>
-<cat name="multi" type="collection" value="generic-extra"/>
-<cat name="multi" type="dvips-tool"/>
-<cat name="multibbl" type="collection" value="latex-extra"/>
-<cat name="multibib" type="collection" value="bibtex-extra"/>
-<cat name="multicap" type="collection" value="latex-extra"/>
-<cat name="multirow" type="collection" value="latex-extra"/>
-<cat name="musictex" type="collection" value="music"/>
-<cat name="musixflx" type="collection" value="music"/>
-<cat name="musixflx" type="tool"/>
-<cat name="musixlyr" type="collection" value="music"/>
-<cat name="musixtex" type="collection" value="music"/>
-<cat name="muthesis" type="macros" value="latex"/>
-<cat name="mwcls" type="language" value="polish"/>
-<cat name="mwrite" type="collection" value="latex-extra"/>
-<cat name="mxd" type="collection" value="omega"/>
-<cat name="mxedruli" type="collection" value="omega"/>
-<cat name="nassflow" type="collection" value="latex-extra"/>
-<cat name="natbib" type="collection" value="latex-recommended"/>
-<cat name="nath" type="collection" value="math-extra"/>
-<cat name="ncclatex" type="collection" value="latex-extra"/>
-<cat name="ncctools" type="collection" value="latex-extra"/>
-<cat name="netpbm" type="collection" value="win32-support"/>
-<cat name="newalg" type="collection" value="latex-extra"/>
-<cat name="newfile" type="collection" value="latex-extra"/>
-<cat name="newlfm" type="collection" value="latex-extra"/>
-<cat name="newsletr" type="collection" value="plain-extra"/>
-<cat name="newthm" type="collection" value="latex-extra"/>
-<cat name="newvbtm" type="collection" value="latex-extra"/>
-<cat name="niceframe" type="collection" value="latex-extra"/>
-<cat name="nomencl" type="collection" value="latex-extra"/>
-<cat name="nomentbl" type="collection" value="latex-extra"/>
-<cat name="nonfloat" type="collection" value="latex-extra"/>
-<cat name="notes" type="collection" value="latex-extra"/>
-<cat name="nrc" type="collection" value="publishers"/>
-<cat name="ntabbing" type="collection" value="latex-extra"/>
-<cat name="ntemacs" type="collection" value="win32-support"/>
-<cat name="ntg" type="collection" value="generic-extra"/>
-<cat name="ntg" type="usergroup"/>
-<cat name="ntgclass" type="collection" value="latex-extra"/>
-<cat name="ntheorem" type="collection" value="latex-extra"/>
-<cat name="numline" type="collection" value="latex-extra"/>
-<cat name="numprint" type="collection" value="latex-extra"/>
-<cat name="oberdiek" type="collection" value="latex-extra"/>
-<cat name="objectz" type="collection" value="latex-extra"/>
-<cat name="oca" type="collection" value="fonts-extra"/>
-<cat name="ocherokee" type="collection" value="omega"/>
-<cat name="ocr-a" type="collection" value="fonts-extra"/>
-<cat name="oesch" type="collection" value="fonts-extra"/>
-<cat name="ogham" type="collection" value="fonts-extra"/>
-<cat name="ogonek" type="collection" value="latex-extra"/>
-<cat name="oinuit" type="collection" value="omega"/>
-<cat name="oldstyle" type="collection" value="latex-extra"/>
-<cat name="omega" type="collection" value="omega"/>
-<cat name="omega" type="tex-tool"/>
-<cat name="omega-devanagari" type="language" value="indic"/>
-<cat name="omega-devanagari" type="omega"/>
-<cat name="omegabook" type="collection" value="omega"/>
-<cat name="omegafonts" type="collection" value="omega"/>
-<cat name="opcit" type="collection" value="latex-extra"/>
-<cat name="osmanian" type="collection" value="fonts-extra"/>
-<cat name="ot2cyr" type="language" value="cyrillic"/>
-<cat name="othello" type="collection" value="games"/>
-<cat name="otibet" type="language" value="tibetan"/>
-<cat name="outline" type="collection" value="latex-extra"/>
-<cat name="outliner" type="collection" value="latex-extra"/>
-<cat name="overpic" type="collection" value="latex-extra"/>
-<cat name="oxford" type="collection" value="latex-extra"/>
-<cat name="pacioli" type="collection" value="fonts-extra"/>
-<cat name="pageno" type="collection" value="latex-extra"/>
-<cat name="paper" type="collection" value="latex-extra"/>
-<cat name="paralist" type="collection" value="latex-extra"/>
-<cat name="parallel" type="collection" value="latex-extra"/>
-<cat name="passivetex" type="collection" value="htmlxml"/>
-<cat name="patch" type="collection" value="latex-extra"/>
-<cat name="patchcmd" type="collection" value="latex-extra"/>
-<cat name="pawpict" type="collection" value="latex-extra"/>
-<cat name="pb-diagram" type="collection" value="pictures"/>
-<cat name="pdcmac" type="collection" value="plain-extra"/>
-<cat name="pdfcprot" type="collection" value="pdftex"/>
-<cat name="pdfpages" type="collection" value="pdftex"/>
-<cat name="pdfscreen" type="collection" value="pdftex"/>
-<cat name="pdfslide" type="collection" value="pdftex"/>
-<cat name="pdftex" type="collection" value="context"/>
-<cat name="pdftex" type="collection" value="htmlxml"/>
-<cat name="pdftex" type="collection" value="pdftex"/>
-<cat name="pdftex" type="tex-tool"/>
-<cat name="pdftex-static" type="tex-tool"/>
-<cat name="pdftools" type="collection" value="pdftex"/>
-<cat name="pdftools" type="tool"/>
-<cat name="pdftricks" type="collection" value="pdftex"/>
-<cat name="perl" type="collection" value="win32-support"/>
-<cat name="permute" type="collection" value="latex-extra"/>
-<cat name="peterw" type="collection" value="latex-extra"/>
-<cat name="petri-nets" type="collection" value="pictures"/>
-<cat name="pfe" type="collection" value="win32-support"/>
-<cat name="phonetic" type="collection" value="fonts-extra"/>
-<cat name="photo" type="collection" value="latex-extra"/>
-<cat name="physe" type="collection" value="formats"/>
-<cat name="phyzzx" type="collection" value="formats"/>
-<cat name="picinpar" type="collection" value="pictures"/>
-<cat name="picins" type="collection" value="latex-extra"/>
-<cat name="pictex" type="collection" value="pictures"/>
-<cat name="pictex2" type="collection" value="pictures"/>
-<cat name="piechartmp" type="collection" value="metapost"/>
-<cat name="piechartmp" type="graphics"/>
-<cat name="piff" type="collection" value="latex-extra"/>
-<cat name="pitthesis" type="macros" value="latex"/>
-<cat name="pkfix" type="collection" value="basic"/>
-<cat name="pkfix" type="font-tool"/>
-<cat name="pl" type="collection" value="latex-extra"/>
-<cat name="plainmisc" type="collection" value="plain-extra"/>
-<cat name="plaintex" type="collection" value="basic"/>
-<cat name="plari" type="collection" value="latex-extra"/>
-<cat name="plates" type="collection" value="latex-extra"/>
-<cat name="platex" type="language" value="polish"/>
-<cat name="play" type="collection" value="latex-extra"/>
-<cat name="plcalendar" type="collection" value="plain-extra"/>
-<cat name="plfonts" type="language" value="polish"/>
-<cat name="plgraph" type="collection" value="plain-extra"/>
-<cat name="plpatch" type="collection" value="plain-extra"/>
-<cat name="pmgraph" type="collection" value="pictures"/>
-<cat name="poemscol" type="collection" value="latex-extra"/>
-<cat name="polish-doc" type="documentation"/>
-<cat name="polish-doc" type="language" value="polish"/>
-<cat name="polyglot" type="collection" value="latex-extra"/>
-<cat name="polynom" type="collection" value="latex-extra"/>
-<cat name="postcards" type="collection" value="latex-extra"/>
-<cat name="ppower4" type="collection" value="pdftex"/>
-<cat name="preprint" type="collection" value="latex-extra"/>
-<cat name="prettyref" type="collection" value="latex-extra"/>
-<cat name="preview" type="collection" value="latex-extra"/>
-<cat name="procIAGssymp" type="collection" value="publishers"/>
-<cat name="progkeys" type="collection" value="latex-extra"/>
-<cat name="program" type="collection" value="latex-extra"/>
-<cat name="proofs" type="collection" value="latex-extra"/>
-<cat name="proofs" type="macros" value="plain"/>
-<cat name="prosper" type="collection" value="latex-extra"/>
-<cat name="protocol" type="collection" value="latex-extra"/>
-<cat name="ps" type="collection" value="basic"/>
-<cat name="ps2pkm" type="collection" value="basic"/>
-<cat name="ps2pkm" type="collection" value="bin-extra"/>
-<cat name="ps2pkm" type="collection" value="font-tool"/>
-<cat name="ps2pkm" type="tool"/>
-<cat name="psafm" type="collection" value="psfonts"/>
-<cat name="pscyr" type="language" value="cyrillic"/>
-<cat name="psfig" type="collection" value="generic-extra"/>
-<cat name="psfonts" type="collection" value="math-extra"/>
-<cat name="psfrag" type="collection" value="latex-extra"/>
-<cat name="psgo" type="collection" value="games"/>
-<cat name="psizzl" type="collection" value="formats"/>
-<cat name="pslatex" type="collection" value="latex-recommended"/>
-<cat name="psnfss" type="collection" value="latex-basi"/>
-<cat name="psnfssx" type="collection" value="psfonts"/>
-<cat name="pst-optic" type="collection" value="pictures"/>
-<cat name="pstools" type="tool"/>
-<cat name="pstricks" type="collection" value="pictures"/>
-<cat name="psutils" type="collection" value="psutils"/>
-<cat name="psutils" type="tool"/>
-<cat name="punk" type="collection" value="fonts-extra"/>
-<cat name="pxfonts" type="collection" value="psfonts"/>
-<cat name="qfonts" type="language" value="polish"/>
-<cat name="qobitree" type="collection" value="latex-extra"/>
-<cat name="qpx" type="language" value="polish"/>
-<cat name="qsymbols" type="collection" value="latex-extra"/>
-<cat name="qtx" type="language" value="polish"/>
-<cat name="quotchap" type="collection" value="latex-extra"/>
-<cat name="qxcm" type="collection" value="psfonts"/>
-<cat name="r-und-s" type="language" value="german"/>
-<cat name="rccol" type="collection" value="latex-extra"/>
-<cat name="rcs" type="collection" value="latex-extra"/>
-<cat name="rcsinfo" type="collection" value="latex-extra"/>
-<cat name="realcalc" type="collection" value="generic-extra"/>
-<cat name="rectopma" type="collection" value="latex-extra"/>
-<cat name="refcheck" type="collection" value="latex-extra"/>
-<cat name="references" type="biblio"/>
-<cat name="references" type="collection" value="latex-extra"/>
-<cat name="refman" type="collection" value="latex-extra"/>
-<cat name="regcount" type="collection" value="latex-extra"/>
-<cat name="regex" type="collection" value="basic"/>
-<cat name="regex" type="library"/>
-<cat name="register" type="collection" value="latex-extra"/>
-<cat name="relenc" type="collection" value="latex-extra"/>
-<cat name="repeatindex" type="collection" value="latex-extra"/>
-<cat name="resume" type="collection" value="latex-extra"/>
-<cat name="revtex" type="collection" value="publishers"/>
-<cat name="revtex" type="macros" value="latex"/>
-<cat name="rlepsf" type="collection" value="latex-extra"/>
-<cat name="rmpage" type="collection" value="latex-extra"/>
-<cat name="romannum" type="collection" value="latex-extra"/>
-<cat name="rotating" type="collection" value="latex-recommended"/>
-<cat name="rotfloat" type="collection" value="latex-extra"/>
-<cat name="rotpages" type="collection" value="latex-extra"/>
-<cat name="rplain" type="collection" value="latex-extra"/>
-<cat name="rsfs" type="collection" value="fonts-extra"/>
-<cat name="rst" type="collection" value="latex-extra"/>
-<cat name="rtkinenc" type="collection" value="latex-extra"/>
-<cat name="ruhyphen" type="language" value="cyrillic"/>
-<cat name="sae" type="collection" value="latex-extra"/>
-<cat name="sanskrit" type="language" value="indic"/>
-<cat name="sauter" type="collection" value="fonts-extra"/>
-<cat name="sauterfonts" type="collection" value="fonts-extra"/>
-<cat name="savefnmark" type="collection" value="latex-extra"/>
-<cat name="savetrees" type="collection" value="latex-extra"/>
-<cat name="scale" type="collection" value="latex-extra"/>
-<cat name="schedule" type="collection" value="latex-extra"/>
-<cat name="scientificviewer" type="tool"/>
-<cat name="sciwordconv" type="collection" value="latex-extra"/>
-<cat name="script" type="collection" value="latex-extra"/>
-<cat name="sectsty" type="collection" value="latex-extra"/>
-<cat name="seetexk" type="collection" value="bin-extra"/>
-<cat name="seetexk" type="tool"/>
-<cat name="semantic" type="collection" value="latex-extra"/>
-<cat name="semaphor" type="collection" value="fonts-extra"/>
-<cat name="seminar" type="collection" value="latex-extra"/>
-<cat name="setspace" type="collection" value="latex-extra"/>
-<cat name="sf298" type="collection" value="latex-extra"/>
-<cat name="sffms" type="collection" value="latex-extra"/>
-<cat name="shadbox" type="collection" value="latex-extra"/>
-<cat name="shadethm" type="collection" value="latex-extra"/>
-<cat name="shapepar" type="collection" value="latex-extra"/>
-<cat name="shortlst" type="collection" value="latex-extra"/>
-<cat name="shortlst" type="macros" value="latex"/>
-<cat name="shorttoc" type="collection" value="latex-extra"/>
-<cat name="showdim" type="collection" value="latex-extra"/>
-<cat name="showlabels" type="collection" value="latex-extra"/>
-<cat name="siam" type="collection" value="publishers"/>
-<cat name="sidecap" type="collection" value="latex-extra"/>
-<cat name="siggraph" type="collection" value="latex-extra"/>
-<cat name="simpsons" type="collection" value="fonts-extra"/>
-<cat name="skak" type="collection" value="games"/>
-<cat name="skull" type="collection" value="fonts-extra"/>
-<cat name="slashbox" type="collection" value="latex-extra"/>
-<cat name="slidenotes" type="collection" value="latex-extra"/>
-<cat name="slideshow" type="collection" value="metapost"/>
-<cat name="slideshow" type="metapost"/>
-<cat name="smartref" type="collection" value="latex-extra"/>
-<cat name="smflatex" type="collection" value="latex-extra"/>
-<cat name="snapshot" type="collection" value="latex-extra"/>
-<cat name="songbook" type="collection" value="latex-extra"/>
-<cat name="soul" type="collection" value="latex-extra"/>
-<cat name="soyombo" type="language" value="mongolian"/>
-<cat name="spie" type="collection" value="publishers"/>
-<cat name="splitindex" type="collection" value="latex-extra"/>
-<cat name="sprite" type="collection" value="latex-extra"/>
-<cat name="srcltx" type="collection" value="latex-extra"/>
-<cat name="ssqquote" type="collection" value="latex-extra"/>
-<cat name="stack" type="collection" value="latex-extra"/>
-<cat name="startex" type="collection" value="formats"/>
-<cat name="stdclsdv" type="collection" value="latex-extra"/>
-<cat name="stmaryrd" type="collection" value="math-extra"/>
-<cat name="sttools" type="collection" value="latex-extra"/>
-<cat name="subeqn" type="collection" value="latex-extra"/>
-<cat name="subeqnarray" type="collection" value="latex-extra"/>
-<cat name="subfigure" type="collection" value="latex-extra"/>
-<cat name="subfloat" type="collection" value="latex-extra"/>
-<cat name="substr" type="collection" value="latex-extra"/>
-<cat name="supertabular" type="collection" value="latex-extra"/>
-<cat name="svjour" type="macros" value="latex"/>
-<cat name="swebib" type="biblio"/>
-<cat name="swebib" type="language" value="swedish"/>
-<cat name="swimgraf" type="collection" value="pictures"/>
-<cat name="symbols" type="collection" value="documentation"/>
-<cat name="symbols" type="documentation"/>
-<cat name="syntax" type="collection" value="latex-extra"/>
-<cat name="synttree" type="collection" value="latex-extra"/>
-<cat name="t-angles" type="collection" value="latex-extra"/>
-<cat name="t1utils" type="collection" value="font-tool"/>
-<cat name="t1utils" type="collection" value="t1utils"/>
-<cat name="t1utils" type="tool"/>
-<cat name="t2" type="language" value="cyrillic"/>
-<cat name="tabbing" type="collection" value="latex-extra"/>
-<cat name="tableaux" type="collection" value="latex-extra"/>
-<cat name="tap" type="collection" value="generic-extra"/>
-<cat name="tap" type="language" value="polish"/>
-<cat name="taupin" type="collection" value="latex-extra"/>
-<cat name="taylor" type="macros" value="generic"/>
-<cat name="tcldoc" type="collection" value="latex-extra"/>
-<cat name="tds" type="collection" value="basic"/>
-<cat name="tds" type="documentation"/>
-<cat name="technics" type="collection" value="latex-extra"/>
-<cat name="template" type="collection" value="latex3"/>
-<cat name="tengwar" type="collection" value="fonts-extra"/>
-<cat name="tetex" type="collection" value="basic"/>
-<cat name="tetex" type="config"/>
-<cat name="teubner" type="language" value="greek"/>
-<cat name="tex" type="collection" value="basic"/>
-<cat name="tex4htk" type="collection" value="htmlxml"/>
-<cat name="texaide" type="tool"/>
-<cat name="texconfig" type="collection" value="basic"/>
-<cat name="texdoc" type="collection" value="basic"/>
-<cat name="texdraw" type="collection" value="pictures"/>
-<cat name="texinfo" type="collection" value="bin-extra"/>
-<cat name="texlive-source" type="source"/>
-<cat name="texniccenter" type="collection" value="win32-support"/>
-<cat name="texshade" type="collection" value="latex-extra"/>
-<cat name="texshell" type="collection" value="win32-support"/>
-<cat name="texsis" type="collection" value="formats"/>
-<cat name="texsis" type="macros" value="texsis"/>
-<cat name="text1" type="macros" value="text1"/>
-<cat name="textfit" type="collection" value="latex-extra"/>
-<cat name="textmerg" type="collection" value="latex-extra"/>
-<cat name="textmerg" type="macros" value="latex"/>
-<cat name="textopo" type="collection" value="latex-extra"/>
-<cat name="textpos" type="collection" value="latex-extra"/>
-<cat name="texware" type="collection" value="bin-extra"/>
-<cat name="texware" type="tex-tool"/>
-<cat name="thesis" type="macros" value="latex"/>
-<cat name="threed" type="collection" value="metapost"/>
-<cat name="threed" type="metapost"/>
-<cat name="thumb" type="collection" value="latex-extra"/>
-<cat name="thumbpdf" type="collection" value="pdftex"/>
-<cat name="ticket" type="collection" value="latex-extra"/>
-<cat name="tiff2png" type="tool"/>
-<cat name="tiffutils" type="tool"/>
-<cat name="timesht" type="collection" value="latex-extra"/>
-<cat name="timesht" type="macros" value="latex"/>
-<cat name="timing" type="collection" value="latex-extra"/>
-<cat name="tipa" type="collection" value="basic"/>
-<cat name="titlefoot" type="collection" value="latex-extra"/>
-<cat name="titlesec" type="collection" value="latex-extra"/>
-<cat name="titling" type="collection" value="latex-extra"/>
-<cat name="tldoc-deutsch" type="documentation"/>
-<cat name="tldoc-deutsch" type="language" value="german"/>
-<cat name="tldoc-english" type="collection" value="basic"/>
-<cat name="tldoc-english" type="documentation"/>
-<cat name="tldoc-french" type="documentation"/>
-<cat name="tldoc-french" type="language" value="french"/>
-<cat name="tldoc-polish" type="documentation"/>
-<cat name="tldoc-polish" type="language" value="polish"/>
-<cat name="tldoc-russian" type="documentation"/>
-<cat name="tldoc-russian" type="language" value="cyrillic"/>
-<cat name="tldoc-slovak" type="documentation"/>
-<cat name="tldoc-slovak" type="language" value="czechslovak"/>
-<cat name="tmmath" type="collection" value="math-extra"/>
-<cat name="tocbibind" type="collection" value="latex-extra"/>
-<cat name="tocloft" type="collection" value="latex-extra"/>
-<cat name="tocvsec2" type="collection" value="latex-extra"/>
-<cat name="todo" type="collection" value="latex-extra"/>
-<cat name="toolbox" type="collection" value="latex-extra"/>
-<cat name="tools" type="collection" value="latex-basi"/>
-<cat name="topfloat" type="collection" value="latex-extra"/>
-<cat name="totpages" type="collection" value="latex-extra"/>
-<cat name="tracking" type="collection" value="latex-extra"/>
-<cat name="trajan" type="collection" value="fonts-extra"/>
-<cat name="tree-dvips" type="collection" value="latex-extra"/>
-<cat name="treetex" type="collection" value="plain-extra"/>
-<cat name="trfsigns" type="collection" value="latex-extra"/>
-<cat name="trsym" type="collection" value="latex-extra"/>
-<cat name="truetype" type="collection" value="documentation"/>
-<cat name="truetype" type="documentation"/>
-<cat name="ttex" type="collection" value="omega"/>
-<cat name="ttf2mf" type="collection" value="font-tool"/>
-<cat name="ttf2pt1" type="tool"/>
-<cat name="ttfutils" type="collection" value="ttfutils"/>
-<cat name="ttfutils" type="tool"/>
-<cat name="tth" type="tool"/>
-<cat name="tug" type="collection" value="generic-extra"/>
-<cat name="tug" type="usergroup"/>
-<cat name="tugboat" type="collection" value="latex-extra"/>
-<cat name="twoup" type="collection" value="latex-extra"/>
-<cat name="txfonts" type="collection" value="psfonts"/>
-<cat name="type1cm" type="collection" value="latex-extra"/>
-<cat name="typedref" type="collection" value="latex-extra"/>
-<cat name="typespec" type="collection" value="plain-extra"/>
-<cat name="uaclasses" type="collection" value="latex-extra"/>
-<cat name="ucthesis" type="macros" value="latex"/>
-<cat name="uhrzeit" type="collection" value="latex-extra"/>
-<cat name="ukrhyph" type="language" value="cyrillic"/>
-<cat name="ulsy" type="collection" value="latex-extra"/>
-<cat name="umlaute" type="language" value="german"/>
-<cat name="umoline" type="collection" value="latex-extra"/>
-<cat name="umrand" type="collection" value="fonts-extra"/>
-<cat name="underlin" type="collection" value="latex-extra"/>
-<cat name="undertilde" type="collection" value="latex-extra"/>
-<cat name="uni" type="collection" value="fonts-extra"/>
-<cat name="unicode" type="collection" value="latex-extra"/>
-<cat name="units" type="collection" value="latex-extra"/>
-<cat name="universa" type="collection" value="fonts-extra"/>
-<cat name="unsupported" type="collection" value="fonts-extra"/>
-<cat name="upquote" type="collection" value="latex-extra"/>
-<cat name="urlbst" type="biblio"/>
-<cat name="urlbst" type="collection" value="bibtex-extra"/>
-<cat name="urwstd" type="collection" value="psfonts"/>
-<cat name="urwvn" type="language" value="vietnamese"/>
-<cat name="ushort" type="collection" value="latex-extra"/>
-<cat name="ut-thesis" type="macros" value="latex"/>
-<cat name="utorontothesis" type="macros" value="latex"/>
-<cat name="utthesis" type="macros" value="latex"/>
-<cat name="uwthesis" type="macros" value="latex"/>
-<cat name="varindex" type="collection" value="latex-extra"/>
-<cat name="vdm" type="collection" value="latex-extra"/>
-<cat name="vector" type="collection" value="latex-extra"/>
-<cat name="venn" type="collection" value="math-extra"/>
-<cat name="venn" type="metapost"/>
-<cat name="verse" type="collection" value="latex-extra"/>
-<cat name="vertex" type="collection" value="plain-extra"/>
-<cat name="vicentino" type="fonts"/>
-<cat name="vita" type="collection" value="latex-extra"/>
-<cat name="vlna" type="language" value="czechslovak"/>
-<cat name="vlna" type="tool"/>
-<cat name="vmargin" type="collection" value="latex-extra"/>
-<cat name="vntex" type="language" value="vietnamese"/>
-<cat name="vrb" type="collection" value="latex-extra"/>
-<cat name="vrb" type="macros" value="plain"/>
-<cat name="vrsion" type="collection" value="latex-extra"/>
-<cat name="warning" type="collection" value="latex-extra"/>
-<cat name="warpcol" type="collection" value="latex-extra"/>
-<cat name="was" type="collection" value="latex-extra"/>
-<cat name="wasy" type="collection" value="basic"/>
-<cat name="wasysym" type="collection" value="basic"/>
-<cat name="webeq" type="collection" value="latex-extra"/>
-<cat name="webguide" type="collection" value="documentation"/>
-<cat name="webguide" type="documentation"/>
-<cat name="williams" type="collection" value="latex-extra"/>
-<cat name="windvi" type="collection" value="basic"/>
-<cat name="windvi" type="collection" value="win32-support"/>
-<cat name="windvi" type="tool"/>
-<cat name="windvi-static" type="tool"/>
-<cat name="winedt" type="collection" value="win32-support"/>
-<cat name="winedt" type="tool"/>
-<cat name="winlatex" type="tool"/>
-<cat name="winshell" type="collection" value="win32-support"/>
-<cat name="winshell" type="tool"/>
-<cat name="wmf2eps" type="tool"/>
-<cat name="wnri" type="language" value="indic"/>
-<cat name="wntamil" type="language" value="indic"/>
-<cat name="wordcount" type="collection" value="latex-extra"/>
-<cat name="wp-conv" type="collection" value="documentation"/>
-<cat name="wp-conv" type="documentation"/>
-<cat name="wp2latex" type="tool"/>
-<cat name="wsuipa" type="collection" value="fonts-extra"/>
-<cat name="xdvi" type="collection" value="basic"/>
-<cat name="xdvi" type="tool"/>
-<cat name="xemacs" type="collection" value="win32-support"/>
-<cat name="xinitials" type="collection" value="latex3"/>
-<cat name="xmlplay" type="collection" value="htmlxml"/>
-<cat name="xmltex" type="collection" value="htmlxml"/>
-<cat name="xor" type="collection" value="latex3"/>
-<cat name="xparse" type="collection" value="latex3"/>
-<cat name="xpdf" type="collection" value="pdftex"/>
-<cat name="xpdf" type="tool"/>
-<cat name="xtab" type="collection" value="latex3"/>
-<cat name="xtcapts" type="collection" value="latex3"/>
-<cat name="xtexcad" type="tool"/>
-<cat name="xtheorem" type="collection" value="latex3"/>
-<cat name="xymtex" type="collection" value="chemistry"/>
-<cat name="xypic" type="collection" value="pictures"/>
-<cat name="yafoot" type="collection" value="latex-eyxtra"/>
-<cat name="yannisgr" type="language" value="greek"/>
-<cat name="yfonts" type="collection" value="fonts-extra"/>
-<cat name="yhmath" type="collection" value="math-extra"/>
-<cat name="yi4latex" type="language" value="cjk"/>
-<cat name="youngtab" type="collection" value="latex-extra"/>
-<cat name="yplan" type="collection" value="latex-extra"/>
-<cat name="ytex" type="collection" value="formats"/>
-<cat name="zed-csp" type="collection" value="latex-extra"/>
-<cat name="zefonts" type="collection" value="fonts-extra"/>
-<cat name="zlib" type="collection" value="basic"/>
-<cat name="zlib" type="library"/>
-<system name="gsview" value="win32"/>
-<system name="javascript-texed" value="win32"/>
-<system name="latexdraw" value="win32"/>
-<system name="latexwide" value="win32"/>
-<system name="texaide" value="win32"/>
-<system name="ttf2mf" value="win32"/>
-<system name="windvi" value="win32"/>
-<system name="winedt" value="win32"/>
-<system name="winshell" value="win32"/>
-<system name="wmf2eps" value="win32"/>
-<system name="wp2latex" value="win32"/>
-<system name="lib-curl" value="win32"/>
-<system name="lib-expat" value="win32"/>
-<system name="lib-freetype" value="win32"/>
-<system name="lib-freetype2" value="win32"/>
-<system name="lib-geturl" value="win32"/>
-<system name="lib-gifreader" value="win32"/>
-<system name="lib-jpeg" value="win32"/>
-<system name="lib-png" value="win32"/>
-<system name="lib-regex" value="win32"/>
-<system name="lib-ttf" value="win32"/>
-<system name="lib-zlib" value="win32"/>
-<system name="cmactex" value="mac"/>
-<system name="fptex" value="win32"/>
-<system name="miktex" value="win32"/>
-<system name="oztex" value="mac"/>
-<system name="techexplorer" value="win32"/>
-<system name="texniccenter" value="win32"/>
-<system name="texshell32" value="win32"/>
-<system name="xdvik" value="unix"/>
-<system name="xfig" value="inx"/>
-
-<cat name="abc2mtex" type="tool"/>
-<cat name="catdoc" type="tool"/>
-<cat name="catdvi" type="tool"/>
-<cat name="cmactex" type="system"/>
-<cat name="dviconcat" type="tool"/>
-<cat name="dvicopy" type="tex-tool"/>
-<cat name="dviout" type="tool"/>
-<cat name="dvips" type="tex-tool"/>
-<cat name="eco" type="fonts" value="public"/>
-<cat name="fptex" type="system"/>
-<cat name="gnuplot" type="tool"/>
-<cat name="jdvi" type="tool"/>
-<cat name="llncs" type="macros" value="latex"/>
-<cat name="malvern" type="fonts" value="public"/>
-<cat name="miktex" type="system"/>
-<cat name="oztex" type="system"/>
-<cat name="pstoedit" type="tool"/>
-<cat name="techexplorer" type="tool"/>
-<cat name="texdoctk" type="tool"/>
-<cat name="texniccenter" type="tool"/>
-<cat name="texshell32" type="tool"/>
-<cat name="transfig" type="tool"/>
-<cat name="tmview" type="tool"/>
-<cat name="ttf2pk" type="tool"/>
-<cat name="vfinst" type="tool"/>
-<cat name="vtex" type="system"/>
-<cat name="xdvik" type="tex-tool"/>
-<cat name="xfig" type="tool"/>
-
-</cats>
diff --git a/Build/cdbuild/tpm2/taxonomy b/Build/cdbuild/tpm2/taxonomy
deleted file mode 100644
index 03c43bd8516..00000000000
--- a/Build/cdbuild/tpm2/taxonomy
+++ /dev/null
@@ -1,5 +0,0 @@
-<taxonomy id="Material">
-<category id="M_ST"><catDesc>stone</catDesc> </category>
-<category id="M_ME"><catDesc>metal</catDesc> </category>
-<category id="M_"><catDesc>(unrecorded)</catDesc> </category>
-</taxonomy>
diff --git a/Build/cdbuild/tpm2/tl.only b/Build/cdbuild/tpm2/tl.only
deleted file mode 100644
index 15af9a0b48d..00000000000
--- a/Build/cdbuild/tpm2/tl.only
+++ /dev/null
@@ -1,223 +0,0 @@
-< IEEEtran
-< SIunits
-< acmtrans
-< adrconv
-< ai
-< anysize
-< attachfile
-< augie
-< bangtex
-< bengali
-< bibtex8
-< biocon
-< burmese
-< cb
-< cd
-< cd-cover
-< charter
-< chemarrow
-< cjkutils
-< cjw
-< cm-super
-< cmex
-< cmpk
-< coordsys
-< coptic
-< courier
-< crossreference
-< crossword
-< ctib
-< cuisine
-< cweb
-< dashrule
-< detex
-< devnag
-< diagnose
-< dialog
-< dice
-< dingbat
-< dk-bib
-< dnaseq
-< dtk
-< dtl
-< dvidvi
-< dvipdfm-static
-< dvipdfmx
-< dvipsk-static
-< dviware
-< ebezier
-< em
-< epsdice
-< eqlist
-< eqparbox
-< esdiff
-< esint
-< etex
-< euclide
-< euro-ce
-< faq-english
-< faq-french
-< faq-german
-< figsize
-< firststeps
-< flashcards
-< fontware
-< formular
-< galley
-< gauss
-< general
-< getafm
-< greek
-< greekdoc
-< grverb
-< gsftopk-static
-< gtf
-< guides
-< guitar
-< gzip
-< hc
-< hitec
-< hpsdiss
-< ibycus
-< imagemagick
-< iso
-< iso10303
-< ispell
-< italian-doc
-< itrans
-< kastrup
-< kerkis
-< lacheck
-< langpolish
-< le
-< lib-curl
-< lib-expat
-< lib-freetype
-< lib-freetype2
-< lib-geturl
-< lib-gifreader
-< lib-jpeg
-< lib-png
-< lib-regex
-< lib-ttf
-< lib-zlib
-< listliketab
-< literat
-< lshort-korean
-< lshort-ukrainian
-< ltx2rtf-static
-< mattens
-< mceinleger
-< metafont
-< metasupp
-< metre
-< mfmisc
-< mft
-< mftinc
-< miller
-< misc209
-< mminstance
-< msc
-< multi
-< multibbl
-< musixflx
-< musixlyr
-< mwcls
-< mwrite
-< mxd
-< ncclatex
-< netpbm
-< newfile
-< nomentbl
-< notes
-< oberdiek
-< ocherokee
-< oesch
-< oinuit
-< omega-devanagari
-< omega-static
-< omegabook
-< opcit
-< otibet
-< outline
-< patchcmd
-< pdfcprot
-< pdftex-static
-< pdftools
-< perl
-< peterw
-< piechartmp
-< plates
-< poemscol
-< preprint
-< preview
-< procIAGssymp
-< ps2pkm
-< psafm
-< pscyr
-< psgo
-< pstools
-< pxfonts
-< qpx
-< qtx
-< rectopma
-< regex
-< repeatindex
-< resume
-< rst
-< rtkinenc
-< sae
-< savetrees
-< seetexk
-< sffms
-< skull
-< slideshow
-< soyombo
-< stack
-< swimgraf
-< syntax
-< tableaux
-< taupin
-< tcldoc
-< technics
-< template
-< test
-< tex
-< tex4htk
-< tex4htk-static
-< texconfig
-< texlive-source
-< texware
-< tiff2png
-< tiffutils
-< tldoc-deutsch
-< tldoc-english
-< tldoc-french
-< tldoc-polish
-< tldoc-russian
-< tldoc-slovak
-< todo
-< tools
-< tree-dvips
-< trsym
-< ttex
-< ttfutils
-< tug
-< txfonts
-< typedref
-< uhrzeit
-< undertilde
-< upquote
-< urwvn
-< venn
-< vlna
-< was
-< webeq
-< windvi-static
-< xemacs
-< xinitials
-< xor
-< xparse
-< xpdf
-< xtheorem
-< zlib
diff --git a/Build/cdbuild/tpm2/tpm2.dtd b/Build/cdbuild/tpm2/tpm2.dtd
deleted file mode 100644
index 48da2e1f02f..00000000000
--- a/Build/cdbuild/tpm2/tpm2.dtd
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml encoding="UTF-8"?>
-
-<!ELEMENT TPM (Name,Title,Source,Classification,Build,Install,Remove,
- CTAN?)>
-
-<!ATTLIST TPM
- id ID #REQUIRED>
-
-<!ELEMENT Title (#PCDATA)>
-
-<!ELEMENT Name (#PCDATA)>
-
-<!ELEMENT Source (Authorgroup,License,Date,Version,Home?,Description)>
-
-<!ELEMENT Description (#PCDATA)>
-
-<!ELEMENT Authorgroup (Author)+>
-
-<!ELEMENT Author (Forename?,Surname,Email?)>
-
-<!ELEMENT Forename (#PCDATA)>
-
-<!ELEMENT Surname (#PCDATA)>
-
-<!ELEMENT Email (#PCDATA)>
-
-<!ELEMENT License EMPTY>
-
-<!ATTLIST License
- type (artistic|bsd|dfsg|gfdl|gpl|knuth|lgpl|lppl|nocommercial|nosell
- |nosource|other|pd|shareware|unknown) 'unknown'>
-
-<!ELEMENT Date (#PCDATA)>
-
-<!ELEMENT Version (#PCDATA)>
-
-<!ELEMENT Home (Link)*>
-
-<!ELEMENT CTAN (Location,(Date,Version)?)>
-
-<!ELEMENT Location (#PCDATA)>
-
-<!ELEMENT Classification (Status,(Platform+)?,Categories,Keywords?,
- Pointers?,XPointers?,Documentation)>
-
-<!ELEMENT Categories (Category)+>
-
-<!ELEMENT Documentation (#PCDATA)>
-
-<!ELEMENT Category (#PCDATA)>
-
-<!ATTLIST Category
- type (biblio|collection|config|distribution|system|documentation
- |dvips-tool|font-tool|fonts|graphics|language|library|macros
- |metapost|omega|source|tex-tool|tool|usergroup) #IMPLIED>
-
-<!ELEMENT Status (#PCDATA)>
-
-<!ELEMENT Platform (#PCDATA)>
-
-<!ELEMENT Keywords (Keyword)+>
-
-<!ELEMENT Keyword (#PCDATA)>
-
-<!ELEMENT Build (Ins?,Run,Doc)>
-
-<!ELEMENT Ins (Pattern)*>
-
-<!ELEMENT Run (Pattern)*>
-
-<!ELEMENT Doc (Pattern)*>
-
-<!ELEMENT Pattern (#PCDATA)>
-
-<!ELEMENT Pointers (Needs*,Relates*,Opposes*)>
-
-<!ELEMENT XPointers (Link)*>
-
-<!ELEMENT Link EMPTY>
-
-<!ATTLIST Link
- url CDATA #REQUIRED>
-
-<!ELEMENT Needs EMPTY>
-
-<!ATTLIST Needs
- name CDATA #REQUIRED>
-
-<!ELEMENT Relates EMPTY>
-
-<!ATTLIST Relates
- name CDATA #REQUIRED>
-
-<!ELEMENT Opposes EMPTY>
-
-<!ATTLIST Opposes
- name CDATA #REQUIRED>
-
-<!ELEMENT Install (Before,After)>
-
-<!ELEMENT Remove (Before,After)>
-
-<!ELEMENT Before (Execute)*>
-
-<!ELEMENT After (Execute)*>
-
-<!ELEMENT Execute EMPTY>
-
-<!ATTLIST Execute
- function CDATA #REQUIRED
- parameter CDATA #REQUIRED>
-
-<!ELEMENT TPMS (TPM)+>
diff --git a/Build/cdbuild/tpm2/tpm2.rng b/Build/cdbuild/tpm2/tpm2.rng
deleted file mode 100644
index c759723468a..00000000000
--- a/Build/cdbuild/tpm2/tpm2.rng
+++ /dev/null
@@ -1,404 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
- <define name="TPM">
- <element name="TPM">
- <ref name="attlist.TPM"/>
- <ref name="Name"/>
- <ref name="Title"/>
- <ref name="Source"/>
- <ref name="Classification"/>
- <ref name="Build"/>
- <ref name="Install"/>
- <ref name="Remove"/>
- <optional>
- <ref name="CTAN"/>
- </optional>
- </element>
- </define>
- <define name="attlist.TPM" combine="interleave">
- <attribute name="id">
- <data type="ID"/>
- </attribute>
- </define>
-
- <define name="Title">
- <element name="Title">
- <text/>
- </element>
- </define>
-
- <define name="Name">
- <element name="Name">
- <text/>
- </element>
- </define>
-
- <define name="Source">
- <element name="Source">
- <ref name="Authorgroup"/>
- <ref name="License"/>
- <ref name="Date"/>
- <ref name="Version"/>
- <optional>
- <ref name="Home"/>
- </optional>
- <ref name="Description"/>
- </element>
- </define>
-
- <define name="Description">
- <element name="Description">
- <text/>
- </element>
- </define>
-
- <define name="Authorgroup">
- <element name="Authorgroup">
- <oneOrMore>
- <ref name="Author"/>
- </oneOrMore>
- </element>
- </define>
-
- <define name="Author">
- <element name="Author">
- <optional>
- <ref name="Forename"/>
- </optional>
- <ref name="Surname"/>
- <optional>
- <ref name="Email"/>
- </optional>
- </element>
- </define>
-
- <define name="Forename">
- <element name="Forename">
- <text/>
- </element>
- </define>
-
- <define name="Surname">
- <element name="Surname">
- <text/>
- </element>
- </define>
-
- <define name="Email">
- <element name="Email">
- <text/>
- </element>
- </define>
-
- <define name="License">
- <element name="License">
- <ref name="attlist.License"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.License" combine="interleave">
- <optional>
- <attribute name="type" a:defaultValue="unknown">
- <choice>
- <value>artistic</value>
- <value>bsd</value>
- <value>dfsg</value>
- <value>gfdl</value>
- <value>gpl</value>
- <value>knuth</value>
- <value>lgpl</value>
- <value>lppl</value>
- <value>nocommercial</value>
- <value>nosell</value>
- <value>nosource</value>
- <value>other</value>
- <value>pd</value>
- <value>shareware</value>
- <value>unknown</value>
- </choice>
- </attribute>
- </optional>
- </define>
- <define name="Date">
- <element name="Date">
- <text/>
- </element>
- </define>
-
- <define name="Version">
- <element name="Version">
- <text/>
- </element>
- </define>
-
- <define name="Home">
- <element name="Home">
- <zeroOrMore>
- <ref name="Link"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="CTAN">
- <element name="CTAN">
- <ref name="Location"/>
- <optional>
- <ref name="Date"/>
- <ref name="Version"/>
- </optional>
- </element>
- </define>
-
- <define name="Location">
- <element name="Location">
- <text/>
- </element>
- </define>
-
- <define name="Classification">
- <element name="Classification">
- <ref name="Status"/>
- <optional>
- <oneOrMore>
- <ref name="Platform"/>
- </oneOrMore>
- </optional>
- <ref name="Categories"/>
- <optional>
- <ref name="Keywords"/>
- </optional>
- <optional>
- <ref name="Pointers"/>
- </optional>
- <optional>
- <ref name="XPointers"/>
- </optional>
- <ref name="Documentation"/>
- </element>
- </define>
-
- <define name="Categories">
- <element name="Categories">
- <oneOrMore>
- <ref name="Category"/>
- </oneOrMore>
- </element>
- </define>
-
- <define name="Documentation">
- <element name="Documentation">
- <text/>
- </element>
- </define>
-
- <define name="Category">
- <element name="Category">
- <ref name="attlist.Category"/>
- <text/>
- </element>
- </define>
- <define name="attlist.Category" combine="interleave">
- <optional>
- <attribute name="type">
- <choice>
- <value>biblio</value>
- <value>collection</value>
- <value>config</value>
- <value>distribution</value>
- <value>system</value>
- <value>documentation</value>
- <value>dvips-tool</value>
- <value>font-tool</value>
- <value>fonts</value>
- <value>graphics</value>
- <value>language</value>
- <value>library</value>
- <value>macros</value>
- <value>metapost</value>
- <value>omega</value>
- <value>source</value>
- <value>tex-tool</value>
- <value>tool</value>
- <value>usergroup</value>
- </choice>
- </attribute>
- </optional>
- </define>
- <define name="Status">
- <element name="Status">
- <text/>
- </element>
- </define>
-
- <define name="Platform">
- <element name="Platform">
- <text/>
- </element>
- </define>
-
- <define name="Keywords">
- <element name="Keywords">
- <oneOrMore>
- <ref name="Keyword"/>
- </oneOrMore>
- </element>
- </define>
-
- <define name="Keyword">
- <element name="Keyword">
- <text/>
- </element>
- </define>
-
- <define name="Build">
- <element name="Build">
- <optional><ref name="Ins"/></optional>
- <ref name="Run"/>
- <ref name="Doc"/>
- </element>
- </define>
-
- <define name="Ins">
- <element name="Ins">
- <zeroOrMore>
- <ref name="Pattern"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Run">
- <element name="Run">
- <zeroOrMore>
- <ref name="Pattern"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Doc">
- <element name="Doc">
- <zeroOrMore>
- <ref name="Pattern"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Pattern">
- <element name="Pattern">
- <text/>
- </element>
- </define>
-
- <define name="Pointers">
- <element name="Pointers">
- <zeroOrMore>
- <ref name="Needs"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="Relates"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="Opposes"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="XPointers">
- <element name="XPointers">
- <zeroOrMore>
- <ref name="Link"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Link">
- <element name="Link">
- <ref name="attlist.Link"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.Link" combine="interleave">
- <attribute name="url"/>
- </define>
- <define name="Needs">
- <element name="Needs">
- <ref name="attlist.Needs"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.Needs" combine="interleave">
- <attribute name="name"/>
- </define>
- <define name="Relates">
- <element name="Relates">
- <ref name="attlist.Relates"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.Relates" combine="interleave">
- <attribute name="name"/>
- </define>
- <define name="Opposes">
- <element name="Opposes">
- <ref name="attlist.Opposes"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.Opposes" combine="interleave">
- <attribute name="name"/>
- </define>
- <define name="Install">
- <element name="Install">
- <ref name="Before"/>
- <ref name="After"/>
- </element>
- </define>
-
- <define name="Remove">
- <element name="Remove">
- <ref name="Before"/>
- <ref name="After"/>
- </element>
- </define>
-
- <define name="Before">
- <element name="Before">
- <zeroOrMore>
- <ref name="Execute"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="After">
- <element name="After">
- <zeroOrMore>
- <ref name="Execute"/>
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Execute">
- <element name="Execute">
- <ref name="attlist.Execute"/>
- <empty/>
- </element>
- </define>
- <define name="attlist.Execute" combine="interleave">
- <attribute name="function"/>
- <attribute name="parameter"/>
- </define>
-
-<define name="TPMS">
-<element name="TPMS">
- <oneOrMore>
- <ref name="TPM"/>
- </oneOrMore>
- </element>
-</define>
-
- <start>
- <choice>
- <ref name="TPM"/>
- <ref name="TPMS"/>
- </choice>
- </start>
-</grammar>
diff --git a/Build/cdbuild/tpm2/tpm2xml.xsl b/Build/cdbuild/tpm2/tpm2xml.xsl
deleted file mode 100644
index 36b54641cc8..00000000000
--- a/Build/cdbuild/tpm2/tpm2xml.xsl
+++ /dev/null
@@ -1,835 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- exclude-result-prefixes="rdf TPM"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
-
- <xsl:output method="xml" indent="yes" doctype-system="tpm2.dtd"/>
-
- <xsl:key name="CATS" match="cat" use="@name"/>
-
- <xsl:key name="SYS" match="system" use="@name"/>
-
- <xsl:template match="/">
- <xsl:apply-templates select="rdf:RDF/rdf:Description"/>
- </xsl:template>
-
-<xsl:template match="rdf:Description">
-
-<xsl:variable name="CAT">
- <xsl:text>/texlive/Master/texmf-dist/doc/html/catalogue/entries/</xsl:text>
- <xsl:value-of select="TPM:Name"/>
- <xsl:text>.xml</xsl:text>
-</xsl:variable>
-
-<xsl:variable name="Name">
- <xsl:value-of select="TPM:Name"/>
-</xsl:variable>
-
-<xsl:message>Read <xsl:value-of select="$CAT"/></xsl:message>
- <xsl:variable name="cattitle">
- <xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/caption"/>
- </xsl:for-each>
- </xsl:variable>
-
- <xsl:variable name="catname">
- <xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/name"/>
- </xsl:for-each>
- </xsl:variable>
-
-<TPM id="{TPM:Name}" >
- <Name>
- <xsl:choose>
- <xsl:when test="$catname=''">
- <xsl:value-of select="TPM:Name"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$catname"/>
- </xsl:otherwise>
- </xsl:choose>
- </Name>
-
- <Title>
- <xsl:choose>
- <xsl:when test="$cattitle=''">
- <xsl:value-of select="TPM:Title"/>
- </xsl:when>
- <xsl:when test="$Name='bakoma'">
- <xsl:value-of select="TPM:Title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$cattitle"/>
- </xsl:otherwise>
- </xsl:choose>
- </Title>
-
-<Source>
- <Authorgroup>
- <Author>
- <Forename>
- <xsl:for-each select="document($CAT)/entry">
-<xsl:value-of select="substring-before(concat(about/author/name,' '),' ')"/>
-</xsl:for-each>
- </Forename>
- <Surname>
- <xsl:for-each select="document($CAT)/entry">
-<xsl:value-of select="substring-after(about/author/name,' ')"/>
-</xsl:for-each>
- </Surname>
- <Email>
- <xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/author/email"/>
- </xsl:for-each>
- </Email>
- </Author>
- </Authorgroup>
- <License>
- <xsl:variable name="catlic">
- <xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/license/@type"/>
- </xsl:for-each>
-</xsl:variable>
- <xsl:attribute name="type">
-<xsl:choose>
- <xsl:when test="$catlic=''">unknown</xsl:when>
- <xsl:otherwise><xsl:value-of select="$catlic"/></xsl:otherwise>
-</xsl:choose>
- </xsl:attribute>
-</License>
- <Date> <xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/version/released"/>
- </xsl:for-each>
-</Date>
- <Version><xsl:for-each select="document($CAT)/entry">
- <xsl:value-of select="about/version/number"/>
- </xsl:for-each>
-</Version>
- <Home>
- <xsl:for-each select="document($CAT)/entry">
- <Link url="{about/author/home}"/>
- </xsl:for-each>
- </Home>
- <Description>
- <xsl:variable name="catdesc">
- <xsl:for-each select="document($CAT)">
- <xsl:value-of select="entry/description/abstract"/>
- </xsl:for-each>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$Name='bakoma'">
- <xsl:value-of select="TPM:Description"/>
- </xsl:when>
- <xsl:when test="$catdesc=''">
- <xsl:value-of select="TPM:Description"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$catdesc"/>
- </xsl:otherwise>
- </xsl:choose>
- </Description>
-</Source>
-
-<xsl:variable name="ctan">
- <xsl:for-each select="document($CAT)/entry/distribution/ctan">
- <xsl:value-of select="."/>
- </xsl:for-each>
-</xsl:variable>
-
-<Classification>
- <Status>optional</Status>
- <Platform>
- <xsl:variable name="p">
- <xsl:for-each select="document('cats.xmlcat')/cats">
- <xsl:for-each select="key('SYS',$Name)">
- <xsl:value-of select="@value"/>
- </xsl:for-each>
- </xsl:for-each>
-</xsl:variable>
-<xsl:choose>
- <xsl:when test="not($p='')"><xsl:value-of select="$p"/></xsl:when>
- <xsl:when test="TPM:Type='binary'">all</xsl:when>
- <xsl:otherwise>any</xsl:otherwise>
-</xsl:choose>
-</Platform>
- <Categories>
- <Category type="distribution">TeXLive</Category>
- <xsl:if test="contains(TPM:RunFiles,'texmf-dist/tex')">
- <Category type="macros">
- <xsl:value-of select="substring-before(substring-after(TPM:RunFiles,'texmf-dist/tex/'),'/')"/>
- </Category>
- </xsl:if>
- <xsl:if test="contains(TPM:RunFiles,'texmf-dist/fonts')">
- <Category type="fonts">
- <xsl:choose>
- <xsl:when test="$Name='archaic'">public</xsl:when>
- <xsl:when test="$Name='astro'">public</xsl:when>
- <xsl:when test="$Name='bakoma'">public</xsl:when>
- <xsl:when test="$Name='barcodes'">public</xsl:when>
- <xsl:when test="$Name='belleek'">public</xsl:when>
- <xsl:when test="$Name='bluesky'">public</xsl:when>
- <xsl:when test="$Name='bookhands'">public</xsl:when>
- <xsl:when test="$Name='charter'">public</xsl:when>
- <xsl:when test="$Name='chess'">public</xsl:when>
- <xsl:when test="$Name='cm-super'">public</xsl:when>
- <xsl:when test="$Name='cmex'">public</xsl:when>
- <xsl:when test="$Name='cmextra'">public</xsl:when>
- <xsl:when test="$Name='cmpk'">public</xsl:when>
- <xsl:when test="$Name='committee'">public</xsl:when>
- <xsl:when test="$Name='cour'">public</xsl:when>
- <xsl:when test="$Name='courier'">public</xsl:when>
- <xsl:when test="$Name='croatian'">public</xsl:when>
- <xsl:when test="$Name='engwar'">public</xsl:when>
- <xsl:when test="$Name='greenpoint'">public</xsl:when>
- <xsl:when test="$Name='grtimes'">public</xsl:when>
- <xsl:when test="$Name='halftone'">public</xsl:when>
- <xsl:when test="$Name='hoekwater'">hoekwater</xsl:when>
- <xsl:when test="$Name='itrans'">public</xsl:when>
- <xsl:when test="$Name='levy'">public</xsl:when>
- <xsl:when test="$Name='logo'">public</xsl:when>
- <xsl:when test="$Name='mathpazo'">public</xsl:when>
- <xsl:when test="$Name='mfbook'">public</xsl:when>
- <xsl:when test="$Name='oca'">public</xsl:when>
- <xsl:when test="$Name='ocr-a'">public</xsl:when>
- <xsl:when test="$Name='oesch'">public</xsl:when>
- <xsl:when test="$Name='oinuit'">public</xsl:when>
- <xsl:when test="$Name='osmanian'">public</xsl:when>
- <xsl:when test="$Name='psafm'">public</xsl:when>
- <xsl:when test="$Name='qfonts'">public</xsl:when>
- <xsl:when test="$Name='sauter'">public</xsl:when>
- <xsl:when test="$Name='simpsons'">public</xsl:when>
- <xsl:when test="$Name='skull'">public</xsl:when>
- <xsl:when test="$Name='teubner'">public</xsl:when>
- <xsl:when test="$Name='umrand'">public</xsl:when>
- <xsl:when test="$Name='unsupported'">public</xsl:when>
- <xsl:when test="$Name='yannisgr'">public</xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="substring-before(substring-after(TPM:RunFiles,'texmf-dist/fonts/tfm/'),'/')"/>
- </xsl:otherwise>
- </xsl:choose>
- </Category>
- </xsl:if>
- <xsl:for-each select="document('cats.xmlcat')/cats">
- <xsl:for-each select="key('CATS',$Name)">
- <Category type="{@type}"><xsl:value-of select="@value"/></Category>
- </xsl:for-each>
- </xsl:for-each>
- </Categories>
- <Keywords>
- <Keyword></Keyword>
- </Keywords>
- <Pointers>
- <xsl:for-each select="TPM:Requires/*">
- <Needs name="{@name}"/>
- </xsl:for-each>
- <xsl:for-each select="document($CAT)/entry/about/xref">
- <Relates name="{@refid}"/>
- </xsl:for-each>
- </Pointers>
- <XPointers></XPointers>
- <Documentation><xsl:for-each select="document($CAT)/entry/description/documentation"><xsl:value-of select="."/></xsl:for-each></Documentation>
-</Classification>
-
-<Build>
- <xsl:choose>
- <xsl:when test="$Name='feynmf'">
- <Ins><Pattern>feynmf.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='koma-script'">
- <Ins><Pattern>komascr.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='localloc'">
- <Ins><Pattern>localloc.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='bosisio'">
- <Ins><Pattern>*.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='babel'">
- <Ins><Pattern>babel.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='paper'">
- <Ins><Pattern>install.02</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='thesis'">
- <Ins>
- <Pattern>install.01</Pattern>
- <Pattern>install.ndx</Pattern>
- </Ins>
- </xsl:when>
- <xsl:when test="$Name='dotseqn'">
- <Ins><Pattern>dotseqn.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='stmaryrd'">
- <Ins><Pattern>stmaryrd.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='tugboat'">
- <Ins><Pattern>tugboat.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='iso'">
- <Ins><Pattern>alliso.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='ccfonts'">
- <Ins><Pattern>ccfonts.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='lettre'">
- <Ins><Pattern></Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='base'">
- <Ins><Pattern></Pattern></Ins>
- </xsl:when>
- <xsl:otherwise>
- <!--<Ins><Pattern>*.ins</Pattern></Ins>-->
- </xsl:otherwise>
- </xsl:choose>
- <Run>
- <xsl:choose>
-<xsl:when test="$Name='ae'">
- <Pattern>*.fd</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='base'">
- <Pattern>idx.tex</Pattern>
- <Pattern>lablst.tex</Pattern>
- <Pattern>latexbug.tex</Pattern>
- <Pattern>lablst.tex</Pattern>
- <Pattern>docstrip.tex</Pattern>
- <Pattern>nfssfont.tex</Pattern>
- <Pattern>sample2e.tex</Pattern>
- <Pattern>small2e.tex</Pattern>
- <Pattern>testpage.tex</Pattern>
- <Pattern>ltxcheck.tex</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.ist</Pattern>
-</xsl:when>
-<xsl:when test="$Name='babel'">
- <Pattern>bplain.tex</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:when>
-<xsl:when test="$Name='barr'">
- <Pattern>diagram.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='breqn'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.sym</Pattern>
-</xsl:when>
-<xsl:when test="$Name='calxxxx'">
- <Pattern>cal.**.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='carlisle'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.ltx</Pattern>
-</xsl:when>
-<xsl:when test="$Name='codepage'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='custbib'">
- <Pattern>*.mbs</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='cyrillic'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.def</Pattern>
-</xsl:when>
-<xsl:when test="$Name='custom-bib'">
- <Pattern>*.mbs</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='dialogl'">
- <Pattern>*.sty</Pattern>
- <Pattern>listouti*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ean'">
- <Pattern>ean[0-9]*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='euclide'">
- <Pattern>pst-eucl.tex</Pattern>
- <Pattern>pst-eucl.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='footnpag'">
- <Pattern>footnpag.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='hyper'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.hyp</Pattern>
-</xsl:when>
-<xsl:when test="$Name='iso10303'">
- <Pattern>a.*tex</Pattern>
- <Pattern>b.*tex</Pattern>
- <Pattern>e.*tex</Pattern>
- <Pattern>stp.*tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.4ht</Pattern>
-</xsl:when>
-<xsl:when test="$Name='isodate'">
- <Pattern>*.idf</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='insbox'">
- <Pattern>insbox.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='jadetex'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.ini</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='karnaugh'">
- <Pattern>kvmacros.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='keystroke'">
- <Pattern>keystroke_.*</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='lettre'">
- <Pattern>*.ins</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='koma-script'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.lco</Pattern>
-</xsl:when>
-<xsl:when test="$Name='kuvio'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='manjutex'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>manju.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='mff'">
- <Pattern>*.sty</Pattern>
- <Pattern>mf[f]*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ctib'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>ctib*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='mfpic'">
- <Pattern>mfpic.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='minitoc'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.mld</Pattern>
-</xsl:when>
-<xsl:when test="$Name='misc'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ntheorem'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.std</Pattern>
-</xsl:when>
-<xsl:when test="$Name='patch'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfslide'">
- <Pattern>*.jpg</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>meta*.pdf</Pattern>
-</xsl:when>
-<xsl:when test="$Name='petri-nets'">
- <Pattern>pnets*.tex</Pattern>
- <Pattern>pntext*.tex</Pattern>
- <Pattern>pndraw*.tex</Pattern>
- <Pattern>pnversion*.tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>pndraw*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='plgraph'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfcprot'">
- <Pattern>*.cpa</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ppchtex'">
- <Pattern>m.*tex</Pattern>
- <Pattern>m.*sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfscreen'">
- <Pattern>overlay*.pdf</Pattern>
- <Pattern>but*.pdf</Pattern>
- <Pattern>left*.pdf</Pattern>
- <Pattern>right*.pdf</Pattern>
- <Pattern>pdfscreen.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='prosper'">
- <Pattern>*.ps</Pattern>
- <Pattern>*.eps</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pstricks'">
- <Pattern>pst-*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='qobitree'">
- <Pattern>qobitree.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='realcalc'">
- <Pattern>realcalc.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='rlepsf'">
- <Pattern>rlepsf.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='seminar'">
- <Pattern>*.bug</Pattern>
- <Pattern>*.bg2</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>2up.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='syntax'">
- <Pattern>syntax*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='startex'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ticket'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.tdf</Pattern>
-</xsl:when>
-<xsl:when test="$Name='thumbpdf'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='texsis'">
- <Pattern>*.txs</Pattern>
- <Pattern>TXS.*tex</Pattern>
- <Pattern>texsis.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='taylor'">
- <Pattern>diagrams.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='titlesec'">
- <Pattern>*.tss</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>ttlhref.tex</Pattern>
- <Pattern>*.def</Pattern>
-</xsl:when>
-<xsl:when test="$Name='wordcount'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='zefonts'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:when>
-<xsl:when test="$Name='tools'">
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<!--
-<xsl:otherwise>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:otherwise>
--->
-</xsl:choose>
- </Run>
- <Doc>
- <xsl:choose>
- <xsl:when test="$Name='ae'">
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='aguplus'">
- <Pattern>readme.pwd</Pattern>
- <Pattern>aguplus.tex</Pattern>
- <Pattern>shorthnd.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='antyktor'">
- <Pattern>*.inf</Pattern>
- </xsl:when>
- <xsl:when test="$Name='barr'">
- <Pattern>diagdoc.dvi</Pattern>
- <Pattern>diagdoc.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='base'">
- <Pattern>*.err</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>.*info.tex</Pattern>
- <Pattern>.*guide.*tex</Pattern>
- <Pattern>.*news.*tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='calxxxx'">
- <Pattern>readme.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='chess'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='codepage'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='clock'">
- <Pattern>texclock.*</Pattern>
- <Pattern>[A-Z]*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='custbib'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='custom-bib'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='cyrillic'">
- <Pattern>*.txt</Pattern>
- </xsl:when>
- <xsl:when test="$Name='emp'">
- <Pattern>manual.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='feynmf'">
- <Pattern>man*.*</Pattern>
- <Pattern>Tutorial</Pattern>
- <Pattern>Feynman*.Diagrams</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='fncychap'">
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='footnpag'">
- <Pattern>footnpag-doc.sty</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='fp'">
- <Pattern>*.dvi</Pattern>
- <Pattern>example.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='geometry'">
- <Pattern>README</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='graphics'">
- <Pattern>grfguide.ps</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='insbox'">
- <Pattern>*.dvi</Pattern>
- <Pattern>demo.tex</Pattern>
- <Pattern>*.eps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='iso10303'">
- <Pattern>stepman.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='jadetex'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='karnaugh'">
- <Pattern>kvdoc.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='keystroke'">
- <Pattern>key*.tex</Pattern>
- <Pattern>key*.pdf</Pattern>
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='koma-script'">
- <Pattern>scrguide-english</Pattern>
- <Pattern>.*TXT</Pattern>
- <Pattern>.*Log</Pattern>
- <Pattern>Readme</Pattern>
- <Pattern>README</Pattern>
- <Pattern>.*read.*</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='mfnfss'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='mltex'">
- <Pattern>mltex.txt</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='ogonek'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='passivetex'">
- <Pattern>*.xml</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>README.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='patch'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='pdfscreen'">
- <Pattern>*.png</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>manual*.tex</Pattern>
- <Pattern>slide*.tex</Pattern>
- <Pattern>*.specimen</Pattern>
- </xsl:when>
- <xsl:when test="$Name='pdfslide'">
- <Pattern>demo*.pdf</Pattern>
- <Pattern>manual*.pdf</Pattern>
- <Pattern>mpgraph*.pdf</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.mp</Pattern>
- </xsl:when>
- <xsl:when test="$Name='plgraph'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='poligraf'">
- <Pattern>*.eps</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='psfrag'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>pfgguide.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='qobitree'">
- <Pattern>example.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='qsymbols'">
- <Pattern>qsymbols.ps</Pattern>
- <Pattern>qsymbols.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='rlepsf'">
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='rotating'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>cat.eps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='taylor'">
- <Pattern>diagrams-manual.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='texsis'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.eps</Pattern>
- <Pattern>[A-Z].*tex</Pattern>
- <Pattern>README</Pattern>
- <Pattern>NEWS</Pattern>
- <Pattern>INSTALL</Pattern>
- <Pattern>COPYING</Pattern>
- </xsl:when>
- <xsl:when test="$Name='textmerg'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.dat</Pattern>
- </xsl:when>
- <xsl:when test="$Name='thumbpdf'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='titlesec'">
- <Pattern>titlesec.tex</Pattern>
- <Pattern>titlesec.dvi</Pattern>
- <Pattern>readme</Pattern>
- </xsl:when>
- <xsl:when test="$Name='youngtab'">
- <Pattern></Pattern>
- </xsl:when>
- <!--
- <xsl:otherwise>
- <Pattern>liesmich</Pattern>
- <Pattern>LIESMICH</Pattern>
- <Pattern>LICENSE</Pattern>
- <Pattern>License</Pattern>
- <Pattern>Read*</Pattern>
- <Pattern>READ*</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.htm</Pattern>
- <Pattern>*.TXT</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.html</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.jpg</Pattern>
- <Pattern>00*</Pattern>
- <Pattern>*.faq</Pattern>
- <Pattern>*.bug</Pattern>
-</xsl:otherwise>
--->
-</xsl:choose>
-</Doc>
-</Build>
-
-<Install>
-<Before></Before>
-<After>
- <xsl:for-each select="TPM:Installation/TPM:Execute">
- <Execute function="{@function}" parameter="{@parameter}"/>
- </xsl:for-each>
- </After>
-</Install>
-
-<Remove>
- <Before></Before>
- <After></After>
-</Remove>
-<xsl:if test="not($ctan='')">
- <CTAN><Location><xsl:value-of select="$ctan"/></Location></CTAN>
-</xsl:if>
-
-
-
-</TPM>
-
- </xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/tpm2/xml2xml.xsl b/Build/cdbuild/tpm2/xml2xml.xsl
deleted file mode 100644
index da045951e48..00000000000
--- a/Build/cdbuild/tpm2/xml2xml.xsl
+++ /dev/null
@@ -1,698 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- exclude-result-prefixes="rdf TPM"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
-
- <xsl:output method="xml" indent="yes" doctype-system="tpm2.dtd"/>
-
- <xsl:key name="CATS" match="cat" use="@name"/>
-
- <xsl:key name="SYS" match="system" use="@name"/>
-
-<xsl:template match="entry">
-
-<xsl:variable name="Name">
- <xsl:value-of select="@id"/>
-</xsl:variable>
-
-
-<TPM id="{@id}">
-<Name><xsl:value-of select="about/name"/></Name>
-<Title><xsl:value-of select="about/caption"/></Title>
-<Source>
- <Authorgroup>
- <Author>
- <Forename>
- <xsl:value-of select="substring-before(concat(about/author/name,' '),' ')"/>
- </Forename>
- <Surname>
- <xsl:value-of select="substring-after(about/author/name,' ')"/>
- </Surname>
- <Email>
- <xsl:value-of select="about/author/email"/>
- </Email>
- </Author>
- </Authorgroup>
- <License type="{about/license/@type}"/>
- <Date>
- <xsl:value-of select="about/version/released"/>
-</Date>
- <Version>
- <xsl:value-of select="about/version/number"/>
-</Version>
- <Home>
- <Link url="{about/author/home}"/>
- </Home>
- <Description>
- <xsl:value-of select="description/abstract"/>
- </Description>
-</Source>
-
-<xsl:variable name="ctan">
- <xsl:value-of select="distribution/ctan"/>
-</xsl:variable>
-
-<Classification>
- <Status>optional</Status>
- <Platform>
- <xsl:variable name="p">
- <xsl:for-each select="document('cats.xmlcat')/cats">
- <xsl:for-each select="key('SYS',$Name)">
- <xsl:value-of select="@value"/>
- </xsl:for-each>
- </xsl:for-each>
-</xsl:variable>
-<xsl:choose>
- <xsl:when test="$p=''">any</xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$p"/>
- </xsl:otherwise>
-</xsl:choose>
-</Platform>
- <Categories>
- <xsl:if test="starts-with(distribution/ctan,'macros')">
- <Category type="macros">
- <xsl:value-of select="substring-after(distribution/ctan,'macros/')"/>
- </Category>
- </xsl:if>
- <xsl:for-each select="document('cats.xmlcat')/cats">
- <xsl:for-each select="key('CATS',$Name)">
- <Category type="{@type}"><xsl:value-of select="@value"/></Category>
- </xsl:for-each>
- </xsl:for-each>
- </Categories>
- <Keywords>
- <Keyword></Keyword>
- </Keywords>
- <Pointers>
- <xsl:for-each select="about/xref">
- <Relates name="{@refid}"/>
- </xsl:for-each>
- </Pointers>
- <XPointers></XPointers>
- <Documentation><xsl:value-of select="description/documentation"/></Documentation>
-</Classification>
-
-<Build>
- <xsl:choose>
- <xsl:when test="$Name='feynmf'">
- <Ins><Pattern>feynmf.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='koma-script'">
- <Ins><Pattern>komascr.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='localloc'">
- <Ins><Pattern>localloc.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='bosisio'">
- <Ins><Pattern>*.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='babel'">
- <Ins><Pattern>babel.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='paper'">
- <Ins><Pattern>install.02</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='thesis'">
- <Ins><Pattern>install.01</Pattern>
- <Pattern>install.ndx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='dotseqn'">
- <Ins><Pattern>dotseqn.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='stmaryrd'">
- <Ins><Pattern>stmaryrd.dtx</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='tugboat'">
- <Ins><Pattern>tugboat.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='iso'">
- <Ins><Pattern>alliso.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='ccfonts'">
- <Ins><Pattern>ccfonts.ins</Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='lettre'">
- <Ins><Pattern></Pattern></Ins>
- </xsl:when>
- <xsl:when test="$Name='base'">
- <Ins><Pattern></Pattern></Ins>
- </xsl:when>
- <!--
- <xsl:otherwise>
- <Ins><Pattern>*.ins</Pattern></Ins>
- </xsl:otherwise>
--->
- </xsl:choose>
- <Run>
- <xsl:choose>
-<xsl:when test="$Name='ae'">
- <Pattern>*.fd</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='base'">
- <Pattern>idx.tex</Pattern>
- <Pattern>lablst.tex</Pattern>
- <Pattern>latexbug.tex</Pattern>
- <Pattern>lablst.tex</Pattern>
- <Pattern>docstrip.tex</Pattern>
- <Pattern>nfssfont.tex</Pattern>
- <Pattern>sample2e.tex</Pattern>
- <Pattern>small2e.tex</Pattern>
- <Pattern>testpage.tex</Pattern>
- <Pattern>ltxcheck.tex</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.ist</Pattern>
-</xsl:when>
-<xsl:when test="$Name='babel'">
- <Pattern>bplain.tex</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:when>
-<xsl:when test="$Name='barr'">
- <Pattern>diagram.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='breqn'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.sym</Pattern>
-</xsl:when>
-<xsl:when test="$Name='calxxxx'">
- <Pattern>cal.**.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='carlisle'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.ltx</Pattern>
-</xsl:when>
-<xsl:when test="$Name='codepage'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='custbib'">
- <Pattern>*.mbs</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='cyrillic'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.def</Pattern>
-</xsl:when>
-<xsl:when test="$Name='custom-bib'">
- <Pattern>*.mbs</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='dialogl'">
- <Pattern>*.sty</Pattern>
- <Pattern>listouti*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ean'">
- <Pattern>ean[0-9]*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='euclide'">
- <Pattern>pst-eucl.tex</Pattern>
- <Pattern>pst-eucl.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='footnpag'">
- <Pattern>footnpag.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='hyper'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.hyp</Pattern>
-</xsl:when>
-<xsl:when test="$Name='iso10303'">
- <Pattern>a.*tex</Pattern>
- <Pattern>b.*tex</Pattern>
- <Pattern>e.*tex</Pattern>
- <Pattern>stp.*tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.4ht</Pattern>
-</xsl:when>
-<xsl:when test="$Name='isodate'">
- <Pattern>*.idf</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='insbox'">
- <Pattern>insbox.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='jadetex'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.ini</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='karnaugh'">
- <Pattern>kvmacros.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='keystroke'">
- <Pattern>keystroke_.*</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='lettre'">
- <Pattern>*.ins</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='koma-script'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.lco</Pattern>
-</xsl:when>
-<xsl:when test="$Name='kuvio'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='manjutex'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>manju.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='mff'">
- <Pattern>*.sty</Pattern>
- <Pattern>mf[f]*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ctib'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>ctib*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='mfpic'">
- <Pattern>mfpic.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='minitoc'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.mld</Pattern>
-</xsl:when>
-<xsl:when test="$Name='misc'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.ltx</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ntheorem'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.std</Pattern>
-</xsl:when>
-<xsl:when test="$Name='patch'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfslide'">
- <Pattern>*.jpg</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cfg</Pattern>
- <Pattern>meta*.pdf</Pattern>
-</xsl:when>
-<xsl:when test="$Name='petri-nets'">
- <Pattern>pnets*.tex</Pattern>
- <Pattern>pntext*.tex</Pattern>
- <Pattern>pndraw*.tex</Pattern>
- <Pattern>pnversion*.tex</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>pndraw*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='plgraph'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfcprot'">
- <Pattern>*.cpa</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ppchtex'">
- <Pattern>m.*tex</Pattern>
- <Pattern>m.*sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pdfscreen'">
- <Pattern>overlay*.pdf</Pattern>
- <Pattern>but*.pdf</Pattern>
- <Pattern>left*.pdf</Pattern>
- <Pattern>right*.pdf</Pattern>
- <Pattern>pdfscreen.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='prosper'">
- <Pattern>*.ps</Pattern>
- <Pattern>*.eps</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.cls</Pattern>
-</xsl:when>
-<xsl:when test="$Name='pstricks'">
- <Pattern>pst-*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='qobitree'">
- <Pattern>qobitree.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='realcalc'">
- <Pattern>realcalc.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='rlepsf'">
- <Pattern>rlepsf.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='seminar'">
- <Pattern>*.bug</Pattern>
- <Pattern>*.bg2</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>2up.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='syntax'">
- <Pattern>syntax*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='startex'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='ticket'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.tdf</Pattern>
-</xsl:when>
-<xsl:when test="$Name='thumbpdf'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.sty</Pattern>
-</xsl:when>
-<xsl:when test="$Name='texsis'">
- <Pattern>*.txs</Pattern>
- <Pattern>TXS.*tex</Pattern>
- <Pattern>texsis.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='taylor'">
- <Pattern>diagrams.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='titlesec'">
- <Pattern>*.tss</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>ttlhref.tex</Pattern>
- <Pattern>*.def</Pattern>
-</xsl:when>
-<xsl:when test="$Name='wordcount'">
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<xsl:when test="$Name='zefonts'">
- <Pattern>*.sty</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:when>
-<xsl:when test="$Name='tools'">
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
- <Pattern>*.tex</Pattern>
-</xsl:when>
-<!--
-<xsl:otherwise>
- <Pattern>*.cfg</Pattern>
- <Pattern>*.ist</Pattern>
- <Pattern>*.sty</Pattern>
- <Pattern>*.clo</Pattern>
- <Pattern>*.ldf</Pattern>
- <Pattern>*.cls</Pattern>
- <Pattern>*.def</Pattern>
- <Pattern>*.fd</Pattern>
-</xsl:otherwise>
--->
-</xsl:choose>
- </Run>
- <Doc>
- <xsl:choose>
- <xsl:when test="$Name='ae'">
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='aguplus'">
- <Pattern>readme.pwd</Pattern>
- <Pattern>aguplus.tex</Pattern>
- <Pattern>shorthnd.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='antyktor'">
- <Pattern>*.inf</Pattern>
- </xsl:when>
- <xsl:when test="$Name='barr'">
- <Pattern>diagdoc.dvi</Pattern>
- <Pattern>diagdoc.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='base'">
- <Pattern>*.err</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>.*info.tex</Pattern>
- <Pattern>.*guide.*tex</Pattern>
- <Pattern>.*news.*tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='calxxxx'">
- <Pattern>readme.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='chess'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='codepage'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='clock'">
- <Pattern>texclock.*</Pattern>
- <Pattern>[A-Z]*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='custbib'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='custom-bib'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='cyrillic'">
- <Pattern>*.txt</Pattern>
- </xsl:when>
- <xsl:when test="$Name='emp'">
- <Pattern>manual.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='feynmf'">
- <Pattern>man*.*</Pattern>
- <Pattern>Tutorial</Pattern>
- <Pattern>Feynman*.Diagrams</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='fncychap'">
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='footnpag'">
- <Pattern>footnpag-doc.sty</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='fp'">
- <Pattern>*.dvi</Pattern>
- <Pattern>example.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='geometry'">
- <Pattern>README</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='graphics'">
- <Pattern>grfguide.ps</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='insbox'">
- <Pattern>*.dvi</Pattern>
- <Pattern>demo.tex</Pattern>
- <Pattern>*.eps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='iso10303'">
- <Pattern>stepman.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='jadetex'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='karnaugh'">
- <Pattern>kvdoc.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='keystroke'">
- <Pattern>key*.tex</Pattern>
- <Pattern>key*.pdf</Pattern>
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='koma-script'">
- <Pattern>scrguide-english</Pattern>
- <Pattern>.*TXT</Pattern>
- <Pattern>.*Log</Pattern>
- <Pattern>Readme</Pattern>
- <Pattern>README</Pattern>
- <Pattern>.*read.*</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='mfnfss'">
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='mltex'">
- <Pattern>mltex.txt</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='ogonek'">
- <Pattern>*.ltx</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- </xsl:when>
- <xsl:when test="$Name='passivetex'">
- <Pattern>*.xml</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>README.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='patch'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='pdfscreen'">
- <Pattern>*.png</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>manual*.tex</Pattern>
- <Pattern>slide*.tex</Pattern>
- <Pattern>*.specimen</Pattern>
- </xsl:when>
- <xsl:when test="$Name='pdfslide'">
- <Pattern>demo*.pdf</Pattern>
- <Pattern>manual*.pdf</Pattern>
- <Pattern>mpgraph*.pdf</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>*.mp</Pattern>
- </xsl:when>
- <xsl:when test="$Name='plgraph'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='poligraf'">
- <Pattern>*.eps</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>README</Pattern>
- </xsl:when>
- <xsl:when test="$Name='psfrag'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.tex</Pattern>
- <Pattern>pfgguide.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='qobitree'">
- <Pattern>example.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='qsymbols'">
- <Pattern>qsymbols.ps</Pattern>
- <Pattern>qsymbols.tex</Pattern>
- </xsl:when>
- <xsl:when test="$Name='rlepsf'">
- <Pattern>*.ps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='rotating'">
- <Pattern>*.tex</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>cat.eps</Pattern>
- </xsl:when>
- <xsl:when test="$Name='taylor'">
- <Pattern>diagrams-manual.*</Pattern>
- </xsl:when>
- <xsl:when test="$Name='texsis'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.eps</Pattern>
- <Pattern>[A-Z].*tex</Pattern>
- <Pattern>README</Pattern>
- <Pattern>NEWS</Pattern>
- <Pattern>INSTALL</Pattern>
- <Pattern>COPYING</Pattern>
- </xsl:when>
- <xsl:when test="$Name='textmerg'">
- <Pattern>*.dvi</Pattern>
- <Pattern>*.dat</Pattern>
- </xsl:when>
- <xsl:when test="$Name='thumbpdf'">
- <Pattern></Pattern>
- </xsl:when>
- <xsl:when test="$Name='titlesec'">
- <Pattern>titlesec.tex</Pattern>
- <Pattern>titlesec.dvi</Pattern>
- <Pattern>readme</Pattern>
- </xsl:when>
- <xsl:when test="$Name='youngtab'">
- <Pattern></Pattern>
- </xsl:when>
- <!--
- <xsl:otherwise>
- <Pattern>liesmich</Pattern>
- <Pattern>LIESMICH</Pattern>
- <Pattern>LICENSE</Pattern>
- <Pattern>License</Pattern>
- <Pattern>Read*</Pattern>
- <Pattern>READ*</Pattern>
- <Pattern>*.txt</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.htm</Pattern>
- <Pattern>*.TXT</Pattern>
- <Pattern>*.pdf</Pattern>
- <Pattern>*.doc</Pattern>
- <Pattern>*.dvi</Pattern>
- <Pattern>*.html</Pattern>
- <Pattern>*.gif</Pattern>
- <Pattern>*.jpg</Pattern>
- <Pattern>00*</Pattern>
- <Pattern>*.faq</Pattern>
- <Pattern>*.bug</Pattern>
-</xsl:otherwise>
--->
-</xsl:choose>
-</Doc>
-</Build>
-
-<Install>
-<Before></Before>
-<After>
- <xsl:for-each select="TPM:Installation/TPM:Execute">
- <Execute function="{@function}" parameter="{@parameter}"/>
- </xsl:for-each>
- </After>
-</Install>
-
-<Remove>
- <Before></Before>
- <After></After>
-</Remove>
-
-<xsl:if test="not($ctan='')">
- <CTAN><Location><xsl:value-of select="$ctan"/></Location></CTAN>
-</xsl:if>
-
-
-</TPM>
-
- </xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/tpm2files.xsl b/Build/cdbuild/tpm2files.xsl
deleted file mode 100644
index b556df2ca09..00000000000
--- a/Build/cdbuild/tpm2files.xsl
+++ /dev/null
@@ -1,48 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:exsl="http://exslt.org/common"
- exclude-result-prefixes="exsl"
- extension-element-prefixes="exsl"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:output method="text" omit-xml-declaration="yes"/>
-
-<xsl:strip-space elements="*"/>
-
-<xsl:template match="/">
-<xsl:if test=".//TPM:BinFiles">
- <xsl:apply-templates select=".//TPM:BinFiles"/>
- <xsl:text>&#10;</xsl:text>
-</xsl:if>
-<xsl:if test=".//TPM:DocFiles">
- <xsl:apply-templates select=".//TPM:DocFiles"/>
- <xsl:text>&#10;</xsl:text>
-</xsl:if>
-<xsl:if test=".//TPM:SourceFiles">
- <xsl:apply-templates select=".//TPM:SourceFiles"/>
- <xsl:text>&#10;</xsl:text>
-</xsl:if>
-<xsl:if test=".//TPM:RunFiles">
- <xsl:apply-templates select=".//TPM:RunFiles"/>
- <xsl:text>&#10;</xsl:text>
-</xsl:if>
-</xsl:template>
-
-<xsl:template match="TPM:BinFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:DocFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:RunFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:SourceFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/tpm2list.xsl b/Build/cdbuild/tpm2list.xsl
deleted file mode 100644
index 643e00376e4..00000000000
--- a/Build/cdbuild/tpm2list.xsl
+++ /dev/null
@@ -1,76 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:output method="xml" omit-xml-declaration="yes"/>
-
-<xsl:strip-space elements="*"/>
-
-<xsl:variable name="Master">/texlive/Master/texmf-dist/tpm/lists/</xsl:variable>
-<xsl:variable name="LISTS">texmf-dist/tpm/lists/</xsl:variable>
-
-<xsl:template match="/">
- <xsl:apply-templates select="rdf:RDF/rdf:Description"/>
-</xsl:template>
-
-<xsl:template match="rdf:Description">
- <xsl:variable name="File">
- <xsl:value-of select="TPM:Name"/>
- </xsl:variable>
- <xsl:apply-templates select="TPM:BinFiles"/>
- <xsl:message>Write <xsl:value-of select="concat($Master,$File)"/></xsl:message>
- <xsl:document omit-xml-declaration="yes" method="text" href="{concat($Master,$File)}">
- <xsl:apply-templates select="TPM:DocFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select="TPM:SourceFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select="TPM:RunFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select="TPM:Installation"/>
-<xsl:text>&#10;texmf-dist</xsl:text>
- <xsl:value-of select="substring-after($Master,'texmf-dist')"/>
- <xsl:value-of select="TPM:Name"/><xsl:text>&#10;</xsl:text></xsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:BinFiles">
- <xsl:message>Write <xsl:value-of
- select="concat($Master,//TPM:Name)"/>
- <xsl:text>.</xsl:text>
- <xsl:value-of select="@arch"/></xsl:message>
- <xsl:document method="text" href="{$Master}{//TPM:Name}.{@arch}">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:value-of
- select="concat($LISTS,//TPM:Name)"/>
- <xsl:text>.</xsl:text>
- <xsl:value-of select="@arch"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:Name" mode="name">
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="TPM:DocFiles|TPM:SourceFiles|TPM:RunFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:Installation">
- <xsl:for-each select="TPM:Execute">
- <xsl:variable name="Function">
- <xsl:choose>
- <xsl:when test="@mode='mixed' and @function='addMap'">
- <xsl:text>addMixedMap</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@function"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:text>!</xsl:text>
- <xsl:value-of select="$Function"/>
- <xsl:text> </xsl:text>
- <xsl:value-of select="@parameter"/>
- <xsl:text>&#10;</xsl:text>
- </xsl:for-each>
-</xsl:template>
-</xsl:stylesheet>
diff --git a/Build/cdbuild/tpm2tpm.xsl b/Build/cdbuild/tpm2tpm.xsl
deleted file mode 100644
index 90139806e44..00000000000
--- a/Build/cdbuild/tpm2tpm.xsl
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
- resultns="">
-
-<xsl:template match="/">
- <xsl:apply-templates/>
-</xsl:template>
-
-
-<xsl:template match="TPM:Title"/>
-
-<xsl:template match="TPM:Description"/>
-
-<xsl:template match="rdf:Description">
-<xsl:variable name="Name">
- <xsl:text>/texlive/Master/texmf-dist/doc/html/catalogue/entries/</xsl:text>
- <xsl:value-of select="TPM:Name"/>
- <xsl:text>.xml</xsl:text>
-</xsl:variable>
- <xsl:copy>
- <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
- <xsl:for-each select="document($Name)">
- <TPM:Title>
- <xsl:value-of select="entry/about/caption"/>
- </TPM:Title>
- <TPM:Description>
- <xsl:value-of select="entry/description/abstract"/>
- </TPM:Description>
- </xsl:for-each>
- </xsl:copy>
-
-</xsl:template>
-
-<xsl:template match="text()">
- <xsl:value-of select="."/> <!-- could normalize() here -->
- </xsl:template>
-
-<xsl:template match="*|@*|comment()|processing-instruction()">
- <xsl:copy>
- <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
- </xsl:copy>
-</xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/tpm2xml.xsl b/Build/cdbuild/tpm2xml.xsl
deleted file mode 100644
index 9d7eb650ffd..00000000000
--- a/Build/cdbuild/tpm2xml.xsl
+++ /dev/null
@@ -1,33 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0"
- xmlns:xtfile="http://www.jclark.com/xt/java/java.io.File"
- xmlns:xt="http://www.jclark.com/xt"
- extension-element-prefixes="xt">
-
-<xsl:output method="xml"/>
-
-<xsl:variable name="Master">/texlive/Master/</xsl:variable>
-
-<xsl:variable name="package">
- <xsl:value-of select="/rdf:RDF/rdf:Description/TPM:Name"/>
-</xsl:variable>
-
-<xsl:template match="/">
- <xsl:apply-templates select="rdf:Description"/>
-</xsl:template>
-
-<!-- default template, identity transform, text normalized -->
-<xsl:template match="text()">
- <xsl:value-of select="."/> <!-- could normalize() here -->
- </xsl:template>
-
-<xsl:template match="*|@*|comment()|processing-instruction()">
- <xsl:copy>
- <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
- </xsl:copy>
- </xsl:template>
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/updatetpm.xsl b/Build/cdbuild/updatetpm.xsl
deleted file mode 100644
index 4e4a205d3c7..00000000000
--- a/Build/cdbuild/updatetpm.xsl
+++ /dev/null
@@ -1,102 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:param name="TMP"/>
-<xsl:param name="binaries"/>
-<xsl:param name="files"/>
-<xsl:param name="Who"/>
-<xsl:param name="When"/>
-<xsl:output indent="yes"
- method="xml"
- omit-xml-declaration="yes"
- doctype-system="../tpm.dtd"/>
-<xsl:template match="*|@*|processing-instruction()">
- <xsl:copy>
- <xsl:apply-templates select="*|@*|processing-instruction()|comment()|text()"/>
- </xsl:copy>
-</xsl:template>
-
-<xsl:template match="TPM:Size"/>
-<xsl:template match="TPM:Title">
- <xsl:copy-of select="."/>
- <TPM:Size><xsl:value-of select="sum(//TPM:*/@size)"/></TPM:Size>
-</xsl:template>
-
-<xsl:template match="TPM:Date">
- <TPM:Date><xsl:value-of select="$When"/></TPM:Date>
-</xsl:template>
-
-<xsl:template match="TPM:Creator">
- <TPM:Creator><xsl:value-of select="$Who"/></TPM:Creator>
-</xsl:template>
-
-<xsl:template match="text()">
- <xsl:value-of select="."/> <!-- could normalize() here -->
-</xsl:template>
-
-<xsl:template match="TPM:BinFiles">
-<xsl:choose>
-<xsl:when test="$binaries">
-<xsl:if test="not(preceding-sibling::TPM:BinFiles)">
- <xsl:message>add binaries for <xsl:value-of select="../TPM:Name"/></xsl:message>
- <xsl:for-each
- select="document(concat('/texlive/Build/cdbuild/list.',../TPM:Name))/bin/*">
- <xsl:copy-of select="."/>
- </xsl:for-each>
-</xsl:if>
-</xsl:when>
-<xsl:otherwise>
- <xsl:copy-of select="."/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-
-<xsl:template match="TPM:DocFiles">
-<xsl:choose>
-<xsl:when test="$files">
- <xsl:for-each
- select="document(concat($TMP,../TPM:Name,'.doc'))/*">
- <xsl:copy-of select="."/>
- </xsl:for-each>
-</xsl:when>
-<xsl:otherwise>
- <xsl:copy-of select="."/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="TPM:RunFiles">
-<xsl:choose>
-<xsl:when test="$files">
- <xsl:for-each
- select="document(concat($TMP,../TPM:Name,'.run'))/*">
- <xsl:copy-of select="."/>
- </xsl:for-each>
-</xsl:when>
-<xsl:otherwise>
- <xsl:copy-of select="."/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-<xsl:template match="TPM:SourceFiles">
-<xsl:choose>
-<xsl:when test="$files">
- <xsl:for-each
- select="document(concat($TMP,../TPM:Name,'.src'))/*">
- <xsl:copy-of select="."/>
- </xsl:for-each>
-</xsl:when>
-<xsl:otherwise>
- <xsl:copy-of select="."/>
-</xsl:otherwise>
-</xsl:choose>
-</xsl:template>
-
-
-
-</xsl:stylesheet>
-
diff --git a/Build/cdbuild/vpm2vlist.xsl b/Build/cdbuild/vpm2vlist.xsl
deleted file mode 100644
index 347002576a0..00000000000
--- a/Build/cdbuild/vpm2vlist.xsl
+++ /dev/null
@@ -1,91 +0,0 @@
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:exsl="http://exslt.org/common"
- exclude-result-prefixes="exsl"
- extension-element-prefixes="exsl"
- xmlns:TPM="http://texlive.dante.de/"
- version="1.0">
-
-<xsl:output method="xml" omit-xml-declaration="yes"/>
-
-<xsl:strip-space elements="*"/>
-
-<xsl:variable name="Master">/texlive/Master/texmf-dist/tpm/lists/</xsl:variable>
-<xsl:variable name="TPM">/texlive/Master/texmf-dist/tpm</xsl:variable>
-<xsl:variable name="BINARY">/texlive/Master/texmf-dist/tpm/binary/</xsl:variable>
-<xsl:variable name="PACKAGE">/texlive/Master/texmf-dist/tpm/package/</xsl:variable>
-<xsl:variable name="COL">texmf-dist/tpm/collection/</xsl:variable>
-<xsl:variable name="LISTS">texmf-dist/tpm/lists/</xsl:variable>
-
-<xsl:template match="/">
- <xsl:message>Write <xsl:value-of select="concat($Master,.//TPM:Name)"/>.vlist</xsl:message>
- <exsl:document href="{concat($Master,//TPM:Name)}.vlist" method="text">
-<xsl:text>*Title: </xsl:text>
- <xsl:value-of select="normalize-space(.//TPM:Title)"/>
-<xsl:text>&#10;</xsl:text>
-<xsl:variable name="foo">
- <xsl:apply-templates select=".//TPM:Requires" mode="size"/>
-</xsl:variable>
-<xsl:text>*Size: </xsl:text>
-<xsl:variable name="S">
- <xsl:value-of select="sum(exsl:node-set($foo)/S/size)"/>
-</xsl:variable>
-<xsl:choose>
- <xsl:when test="$S='NaN'">1</xsl:when>
- <xsl:when test="contains($S,'.')">
- <xsl:value-of select="substring-before($S,'.')"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$S"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:Requires"/>
- <xsl:apply-templates select=".//TPM:DocFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:SourceFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:apply-templates select=".//TPM:RunFiles"/><xsl:text>&#10;</xsl:text>
- <xsl:text>&#10;</xsl:text>
- <xsl:value-of select="$COL"/>
- <xsl:value-of select=".//TPM:Name"/><xsl:text>.tpm&#10;</xsl:text>
- <xsl:text>&#10;</xsl:text>
- <xsl:value-of select="$LISTS"/>
- <xsl:value-of select=".//TPM:Name"/>
- <xsl:text>.vlist&#10;</xsl:text>
- </exsl:document>
-</xsl:template>
-
-<xsl:template match="TPM:DocFiles|TPM:SourceFiles|TPM:RunFiles">
- <xsl:value-of select="translate(normalize-space(.),' ','&#10;')"/>
-</xsl:template>
-
-<xsl:template match="TPM:Requires">
-<xsl:for-each select="TPM:Package|TPM:Binary">
-<xsl:text>+</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-<xsl:for-each select="TPM:Collection">
-<xsl:text>-</xsl:text>
-<xsl:value-of select="translate(normalize-space(@name),' ','&#10;')"/>
-<xsl:text>&#10;</xsl:text>
-</xsl:for-each>
-</xsl:template>
-
-<xsl:template match="TPM:Requires" mode="size">
-<S>
-<xsl:for-each select="TPM:Binary">
- <size><xsl:value-of select="document(concat($BINARY,concat(@name,'.tpm')))//TPM:DocFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($BINARY,concat(@name,'.tpm')))//TPM:RunFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($BINARY,concat(@name,'.tpm')))//TPM:SourceFiles/@size div 1000"/></size>
-</xsl:for-each>
-<xsl:for-each select="TPM:Package">
- <size><xsl:value-of select="document(concat($PACKAGE,concat(@name,'.tpm')))//TPM:DocFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($PACKAGE,concat(@name,'.tpm')))//TPM:RunFiles/@size div 1000"/></size>
- <size><xsl:value-of select="document(concat($PACKAGE,concat(@name,'.tpm')))//TPM:SourceFiles/@size div 1000"/></size>
-</xsl:for-each>
-</S>
-</xsl:template>
-
-
-
-</xsl:stylesheet>
diff --git a/Build/cdbuild/zap-empty-dirs b/Build/cdbuild/zap-empty-dirs
deleted file mode 100755
index b34ca0708c5..00000000000
--- a/Build/cdbuild/zap-empty-dirs
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/perl -s
-
-# Usage: $0 [-debug] [-noaction] dir-name [regexp]
-
-# checks whether only files matching regexp are contained in
-# dir-name and removes the directory if this is the case.
-# -debug prints out what it does
-# -noaction suppresses the deletion
-
-$debug = 0 unless $debug;
-$noaction = 0 unless $noaction;
-
-sub usage {
- print STDERR "Usage: $0 [-debug] [-noaction] dir-name [regexp]\n";
-}
-
-
-if ($#ARGV >= 0) {
- $dir_name = shift;
-} else {
- &usage;
- exit 1;
-}
-
-if ($#ARGV < 0) {
- $regexp = "^(\\.zipped|\\.cache|\\.cache\\+|00Contents|00Description)\$";
-} elsif ($#ARGV == 0) {
- $regexp = shift;
-} else {
- &usage;
- exit 1;
-}
-
-
-opendir(DIR,$dir_name) || die "Cannot open directory `$dir_name'. Reason: $!";
-
-@all_files = grep(! /^\.\.?$/,readdir(DIR)); # exclude . and ..
-
-closedir(DIR);
-
-@files = grep(! /$regexp/,@all_files);
-
-if ($#files < 0) {
- print "Empty directory: $dir_name\n";
- &deldir;
-}
-
-exit 0;
-
-sub deldir {
-
-# system "ls -lA $dir_name";
-# return;
-
- foreach $file (@all_files) {
- $debug && print "unlink($dir_name/$file)\n";
- $noaction ||
- unlink("$dir_name/$file") ||
- die "Could not unlink file `$dir_name/$file'! Reason: $!\n";
- }
-
- $debug && print "rmdir($dir_name)\n";
- $noaction ||
- rmdir($dir_name) ||
- "Could not rmdir directory `$dir_name'! Reason: $!\n";
-}
-
diff --git a/Build/cdbuild/zapempty b/Build/cdbuild/zapempty
deleted file mode 100644
index b5c59e1b510..00000000000
--- a/Build/cdbuild/zapempty
+++ /dev/null
@@ -1,2 +0,0 @@
-cd /texlive/Master
-find . -depth -type d -exec perl /texlive/Build/cdbuild/zap-empty-dirs {} -debug \;
diff --git a/Build/cdbuild/logs/log.0500.gz b/Build/logs/log.0500.gz
index 463c11f472b..463c11f472b 100644
--- a/Build/cdbuild/logs/log.0500.gz
+++ b/Build/logs/log.0500.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.1000.gz b/Build/logs/log.1000.gz
index 4fe12156e77..4fe12156e77 100644
--- a/Build/cdbuild/logs/log.1000.gz
+++ b/Build/logs/log.1000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.1500.gz b/Build/logs/log.1500.gz
index 9dba7f90f06..9dba7f90f06 100644
--- a/Build/cdbuild/logs/log.1500.gz
+++ b/Build/logs/log.1500.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.2000.gz b/Build/logs/log.2000.gz
index f434eaacb72..f434eaacb72 100644
--- a/Build/cdbuild/logs/log.2000.gz
+++ b/Build/logs/log.2000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.2500.gz b/Build/logs/log.2500.gz
index f964c2a7c56..f964c2a7c56 100644
--- a/Build/cdbuild/logs/log.2500.gz
+++ b/Build/logs/log.2500.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.3000.gz b/Build/logs/log.3000.gz
index f68ba071edd..f68ba071edd 100644
--- a/Build/cdbuild/logs/log.3000.gz
+++ b/Build/logs/log.3000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.3500.gz b/Build/logs/log.3500.gz
index f4c2797363e..f4c2797363e 100644
--- a/Build/cdbuild/logs/log.3500.gz
+++ b/Build/logs/log.3500.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.4000.gz b/Build/logs/log.4000.gz
index f9683b5e5dc..f9683b5e5dc 100644
--- a/Build/cdbuild/logs/log.4000.gz
+++ b/Build/logs/log.4000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.4500.gz b/Build/logs/log.4500.gz
index 541a84fee33..541a84fee33 100644
--- a/Build/cdbuild/logs/log.4500.gz
+++ b/Build/logs/log.4500.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.5000.gz b/Build/logs/log.5000.gz
index 25a396c5368..25a396c5368 100644
--- a/Build/cdbuild/logs/log.5000.gz
+++ b/Build/logs/log.5000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.5496.gz b/Build/logs/log.5496.gz
index db063a05a24..db063a05a24 100644
--- a/Build/cdbuild/logs/log.5496.gz
+++ b/Build/logs/log.5496.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.5996.gz b/Build/logs/log.5996.gz
index 2dce443debe..2dce443debe 100644
--- a/Build/cdbuild/logs/log.5996.gz
+++ b/Build/logs/log.5996.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.6116.gz b/Build/logs/log.6116.gz
index b9bfd8312ff..b9bfd8312ff 100644
--- a/Build/cdbuild/logs/log.6116.gz
+++ b/Build/logs/log.6116.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.6350.gz b/Build/logs/log.6350.gz
index 6ae3cb057a9..6ae3cb057a9 100644
--- a/Build/cdbuild/logs/log.6350.gz
+++ b/Build/logs/log.6350.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.6498.gz b/Build/logs/log.6498.gz
index 606bdfc1bdc..606bdfc1bdc 100644
--- a/Build/cdbuild/logs/log.6498.gz
+++ b/Build/logs/log.6498.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.6935.gz b/Build/logs/log.6935.gz
index 81a526ddf72..81a526ddf72 100644
--- a/Build/cdbuild/logs/log.6935.gz
+++ b/Build/logs/log.6935.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.6982.gz b/Build/logs/log.6982.gz
index 99f0fbe347a..99f0fbe347a 100644
--- a/Build/cdbuild/logs/log.6982.gz
+++ b/Build/logs/log.6982.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.7499.gz b/Build/logs/log.7499.gz
index 35b75bcd73d..35b75bcd73d 100644
--- a/Build/cdbuild/logs/log.7499.gz
+++ b/Build/logs/log.7499.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.7995.gz b/Build/logs/log.7995.gz
index bc1c5cfa431..bc1c5cfa431 100644
--- a/Build/cdbuild/logs/log.7995.gz
+++ b/Build/logs/log.7995.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.8429.gz b/Build/logs/log.8429.gz
index a64460f26f0..a64460f26f0 100644
--- a/Build/cdbuild/logs/log.8429.gz
+++ b/Build/logs/log.8429.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.8499.gz b/Build/logs/log.8499.gz
index 1fba2eba32c..1fba2eba32c 100644
--- a/Build/cdbuild/logs/log.8499.gz
+++ b/Build/logs/log.8499.gz
Binary files differ
diff --git a/Build/cdbuild/logs/log.8624.gz b/Build/logs/log.8624.gz
index e27e6e62e05..e27e6e62e05 100644
--- a/Build/cdbuild/logs/log.8624.gz
+++ b/Build/logs/log.8624.gz
Binary files differ
diff --git a/Build/cdbuild/logs/svnlog b/Build/logs/svnlog
index d4a6f9b11b4..d4a6f9b11b4 100644
--- a/Build/cdbuild/logs/svnlog
+++ b/Build/logs/svnlog
diff --git a/Build/cdbuild/logs/svnlog.1000.gz b/Build/logs/svnlog.1000.gz
index 62984768ce4..62984768ce4 100644
--- a/Build/cdbuild/logs/svnlog.1000.gz
+++ b/Build/logs/svnlog.1000.gz
Binary files differ
diff --git a/Build/cdbuild/logs/svnlog.1999.gz b/Build/logs/svnlog.1999.gz
index 3eede03ff9d..3eede03ff9d 100644
--- a/Build/cdbuild/logs/svnlog.1999.gz
+++ b/Build/logs/svnlog.1999.gz
Binary files differ
diff --git a/Build/cdbuild/logs/svnlog.2988.gz b/Build/logs/svnlog.2988.gz
index 4ffab9ea7d5..4ffab9ea7d5 100644
--- a/Build/cdbuild/logs/svnlog.2988.gz
+++ b/Build/logs/svnlog.2988.gz
Binary files differ
diff --git a/Build/cdbuild/logs/svnlog.3996.gz b/Build/logs/svnlog.3996.gz
index 6c12bd57dd0..6c12bd57dd0 100644
--- a/Build/cdbuild/logs/svnlog.3996.gz
+++ b/Build/logs/svnlog.3996.gz
Binary files differ
diff --git a/Build/cdbuild/logs/svnlog.4990.gz b/Build/logs/svnlog.4990.gz
index 893ff669d53..893ff669d53 100644
--- a/Build/cdbuild/logs/svnlog.4990.gz
+++ b/Build/logs/svnlog.4990.gz
Binary files differ