On Thu, 11 Jun 2009, Hans van der Meer wrote:

> When loading minimals with a shell script it appears that setuptex takes
> arguments from the calling shell script:

Indeed. 2 solutions:

- treat or save your arguments before calling setuptex, for example:
  ARG1="$1"
  ARG2="$2"
  shift $#
  source /opt/context/tex/setuptex

- or setuptex should be rather an executable, that prints out the
  environment to apply, then one would do something like this:
  eval `setuptex`
  (cleaner solution, but some work to do and all minimal-users must change
  their habits...)

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___________________________________________________________________________________
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