Hello, setuptex (sh, bash, ...) has most definitions commented out and to work with the minimals seems to need only to set the PATH. I currently use the minimals for ConTeXt, and TeXlive for LaTeX (for article submission, where I cannot use ConTeXt). Having the minimals in my PATH before TeXlive works fine this way (TeXlive lualatex is found correctly), but it does cause problems with bibtex, for example, where the minimals binary is found first with this PATH. setuptex.csh is less maintained, it appears. I no longer use (t)csh and I see that Mojca and Arthur propose to remove this script. I have no objection, but it does appears from this thread that it is indeed still used. Alan P.S. by the way [concerning the (ba)sh version], I take care of the verbose echo locally, as: if [ -r /usr/local/context/beta/tex/setuptex ]; then if [ "x$PS1" == "x" ] ; then source /usr/local/context/beta/tex/setuptex > /dev/null else source /usr/local/context/beta/tex/setuptex fi fi (otherwise this will cause trouble for rsync, for example) so the portion: # for Alan Braslau's server :) if [ "x$PS1" != "x" ] ; then echo "Setting \"$TEXROOT\" as ConTeXt root." fi can be simplified, if Mojca wishes. :) On Thursday 30 December 2010 20:29:56 Patrick Gundlach wrote:
Hi Jon,
you should post your question to the mailing list.
Patrick
Von: Jon Crump
Datum: 30. Dezember 2010 19:40:58 MEZ An: gardeners@contextgarden.net Betreff: setuptex.csh usage Hans, et alia,
[MacOSX, 10.5.8, intel Core 2 Duo, ConTeXt ver: 2010.12.22 20:18 MKIV fmt: 2010.12.23 int: english/english]
I just spent a pointless half hour wondering why my tex files failed in context when they worked just a few days ago, until I noticed that context was calling the old texlive installation. I forgot that I had used setuptex.csh to establish env vars for the running terminal session and then later terminated it. I intend for the foreseeable future to continue to use this convenience; I thank you for providing it, and hope you do not discontinue it.
I want to continue to use texlive both at the command line and with some gui front-ends, and want to be able to keep the context minimals separate. In my inexperience I perhaps am not seeing a more effective way to do this, but your shell script works, and I hesitate to mess about with what works.
Many thanks for all your prodigious and impressive work,
Jon