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
Its me again, this mail was about "setup.csh" from the minimals and was addressed to the correct recipients. So my fault for forwarding this to the main mailing list. Sorry for that. Patrick
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
On 31-12-2010 1:48, Alan BRASLAU wrote:
Hello,
setuptex (sh, bash, ...) has most definitions commented out and to work with the minimals seems to need only to set the PATH.
Indeed. the commented code has to do with the fact that in the past (unix) distributions tended to set variables when installing e.g. tetex and as environment variables overload those in a cnf file they needed to be nilled beforehand. That problem has gone away with texlive.
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.
there is no harm in keeping it around I guess Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Alan BRASLAU
-
Hans Hagen
-
Patrick Gundlach