From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39628 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: typesetting documentation Date: Mon, 24 Mar 2008 20:16:17 +0100 Message-ID: <335E60C8-AEA3-4DED-AD01-9552C1DF0B53@science.uva.nl> References: <46D00FD3-F1CA-435D-99C5-4084A94F78D9@science.uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: multipart/mixed; boundary="===============0614589476==" X-Trace: ger.gmane.org 1206386308 15551 80.91.229.12 (24 Mar 2008 19:18:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 19:18:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 24 20:18:57 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JdsC3-0007SY-0l for gctc-ntg-context-518@m.gmane.org; Mon, 24 Mar 2008 20:18:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E99F1FC16; Mon, 24 Mar 2008 20:18:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13001-01-7; Mon, 24 Mar 2008 20:17:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8A7F1FBC6; Mon, 24 Mar 2008 20:17:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 370381FBC6 for ; Mon, 24 Mar 2008 20:17:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13482-01-2 for ; Mon, 24 Mar 2008 20:16:48 +0100 (CET) Original-Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by ronja.ntg.nl (Postfix) with ESMTP id 158931FB1F for ; Mon, 24 Mar 2008 20:16:48 +0100 (CET) Original-Received: from [192.168.1.78] (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2OJGgwq046360 for ; Mon, 24 Mar 2008 20:16:48 +0100 (CET) (envelope-from hansm@science.uva.nl) In-Reply-To: X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39628 Archived-At: --===============0614589476== Content-Type: multipart/alternative; boundary=Apple-Mail-1-445711135 --Apple-Mail-1-445711135 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 > ___________________________________________________________________________________ --Apple-Mail-1-445711135 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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/conte= xt/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
=3D=3D>
<= span class=3D"Apple-tab-span" style=3D"white-space:pre"> = 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#C= onTeXt_Sources

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

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

Adity= a
_____________________________________________________________________= ______________
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
______________________________________________= _____________________________________

= --Apple-Mail-1-445711135-- --===============0614589476== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0614589476==--