On Mon 07 Apr, Wookey wrote:
Debian does not really like to use environment variables to make applications run so the little script that does: #!/bin/sh THERION=${THERION:-/usr/share/therion} MPINPUTS=${MPINPUTS:-.:$THERION/mpost:} TEXINPUTS=${TEXINPUTS:-.:$THERION/tex:} export THERION MPINPUTS TEXINPUTS exec /usr/bin/therion.bin "$@"
before running therion is something of a bodge. A better solution was to set the compiled defaults correctly (they are already in fact) for finding things in /etc and /usr/share/therion and to install the metapost and TeX macros in the right places for TeX and Metapost to find them.
So, I asked on a list and was told that I should put them in subdirs in /usr/share/texmf and then run texhash to update the index.
So I have installed the metapost macros in /usr/lib/texmf/metapost/therion/* and the TeX macros in /usr/lib/texmf/therion/* and run texhash, which has indeed updated /usr/lib/texmf/ls-R
sorry - that should have been written /usr/share/texmf/ throughout - brain failure. Please answer on that basis Wookey -- Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679 work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/