On Unix, you may want to use the
td-switch script (see below)
to avoid these installation steps and switch easily from your system's texdoc
to the development version, once you got a copy of the repository.
The following explanations use
TdDev to denote the path to the
directory holding the development version of texdoc. Names in all caps like
VARIABLE are kpse variables; you can
get their values using
kpsewhich --var-value VARIABLE.
TEXMFHOME/scripts/texdoc. Then symlink
texdoc.tlufrom this directory to
texdocin a directory that comes early in your path. On a typical machine, the following commands do the trick.
mkdir -p TEXMFHOME/scripts/; rm -rf TEXMFHOME/scripts/texdoc ln -s TdDev/script TEXMFHOME/scripts/texdoc ln -s TEXMFHOME/scripts/texdoc/texdoc.tlu ~/bin/texdoc
-distpart). It will completely override the configuration files in
Alternatively, you can skip the installation instructions above and use the
td-switch script after installing this wrapper as your texdoc program (typically in
~/bin). This is the setup I use; don't forget to adapt the
git_repo variable to your local configuration. Installation
cd ~/bin wget http://tug.org/texdoc/dev/pre-0.81/td-switch # edit git_repo wget http://tug.org/texdoc/dev/pre-0.81/texdoc chmod +x td-switch texdoc
td-switch git activates the development version of texdoc,
td-switch sys switches back to you system's version.