Hans van der Meer wrote:
When loading minimals with a shell script it appears that setuptex takes arguments from the calling shell script:

script called as "script --current" contains:
....
source ./setuptex
....

This result in the following error message:

mktexlsr: Done.
The argument "/Users/hans/TeX/context/current/tex/--current" is not a valid TEXROOT path. There is no file "/Users/hans/TeX/context/current/tex/--current/texmf/tex/plain/base/plain.tex"
Setting "/Users/hans/TeX/context/current/tex" as TEXROOT instead.

I guess this cannot be the intent of setuptex. It was the intention to just use
/Users/hans/TeX/context/current/tex/
as the TEXROOT path.
Is there a simple solution?

what is --current supposed to do? shouldn't you use:

source ./setuptex /Users/hans/TeX/context/current/tex/


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to