I looked up what Aditya said can be found in the wiki and did:

texmfstart texexec --module kpse:mult-ini.tex

I get the following output on my console:
108 ~/Temp/tex: texmfstart texexec --module kpse:mult-ini.tex
/usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:641:in `initialize': Permission denied - /usr/local/texlive/texmf-context/tex/context/base/mult-ini.ted (Errno::EACCES)
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:641:in `open'
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:641:in `documentation'
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:629:in `each'
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:629:in `documentation'
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:2778:in `send'
from /usr/local/texlive/texmf-context/scripts/context/ruby/ctxtools.rb:2778

The permissions of the directory involved can be seen from:
ls -l /usr/local/texlive/texmf-context/tex/context
==>
drwxr-xr-x 767 sysop staff 26078 11 mrt 18:31 base

That is, texexec tries to write into a directory for which has no write access. I operate normally as myself and only for the installation of software assume the role of system operator (to hinder rogue programs and protect myself from stupid deletes, for example).

Do I understand correctly from this, that unless one has write access to the tex installation directories one cannot typeset the module source?
If so, I urge Hans Hagen to change this and let texexec and friends write into tmp directories or in the users current directory.
But I might be wrong and having something other amiss.


Hans van der Meer




On 24 mrt 2008, at 15:42, Aditya Mahajan wrote:
On Mon, 24 Mar 2008, Hans van der Meer wrote:

I kept this answer to my question in 2002 on typesetting the
documentation:

these files are now in theregular distribution, so

texexec --modu --pdf somedoc.tex

should work

Hans [Hagen]


Trying it today (through texmfstart or directly texexec) I get:
No pages of output.

Searching for "typeset documentation" in the ConTeXtWiki gives no clues.
The texexec documentation there lists --module as the option to use:
so I am baffled.
How to typeset ConTeXt documentation today?

Last I cecked, this method worked. This is also what the wiki says

http://wiki.contextgarden.net/Official_ConTeXt_Documentation#ConTeXt_Sources

Personally, these days I just download the files from Luigi's website

http://www.logosrl.it/context/modules/current/

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________