TeX Distribution Icon

The texdist tool and TeXDist design

A shell script named texdist allows to run a command in the context of a given distribution. It provides an interface to the TeX Distribution structures. The script Basic functions are listing and running commands. E.g.

texdist --texdist=gwTeX "kpsewhich fmtutil.cnf"

will run the "kpsewhich fmtutil.cnf" command with the gwTeX distribution, while

texdist --texdist=TeXLive-2007 "kpsewhich fmtutil.cnf"

will do the same with the TeX Live 2007 distribution. See "texdist --usage" for complete and up to date instructions...

texdist is located in /Library/TeX/.scripts (invisible in the Finder) and it is symlinked from /usr/local/bin.

The TeXDist directory structure and use are explained in a note from G. Wierda.

See the official documentation:

TeXDist-description