From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15040 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: Internal documentation of Context modules. Date: Tue, 20 Apr 2004 10:52:15 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <4084E4BF.5010903@physik.fu-berlin.de> References: <200404191750.10425.john@wexfordpress.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082451239 25101 80.91.224.253 (20 Apr 2004 08:53:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2004 08:53:59 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Apr 20 10:53:50 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BFr0o-0007hP-00 for ; Tue, 20 Apr 2004 10:53:50 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 125C510B67; Tue, 20 Apr 2004 10:50:09 +0200 (MEST) Original-Received: from enterprise.ph2.uni-koeln.de (enterprise.ph2.uni-koeln.de [134.95.66.111]) by ref.ntg.nl (Postfix) with ESMTP id C8CB010B26 for ; Tue, 20 Apr 2004 10:48:39 +0200 (MEST) Original-Received: from physik.fu-berlin.de ([134.95.66.96]) by enterprise.ph2.uni-koeln.de (8.11.6+Sun/8.9.3) with ESMTP id i3K8llj29280; Tue, 20 Apr 2004 10:47:47 +0200 (MET DST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040401 X-Accept-Language: de-de, de, en-gb, en Original-To: ntg-context@ntg.nl In-Reply-To: <200404191750.10425.john@wexfordpress.com> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15040 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15040 John Culleton wrote: >I have figured out that there is a way to print out the >internal documentation of the various Context modules in a >manner that makes some sense. I first use grep to extract >all the %D lines of a module into a separate file e.g., >foo.tex. Then I eliminate the %D tag from all lines using >Vim. I add \starttext and \stoptext statements. > Faster than grep: texutil --documents texfile.tex produces a TeX file called texfile.ted >The result is imperfect but more or less intelligible. It >seems to me that there might be a script buried somewhare >in the system that does this better. If so, what is it >called? > > Try: texexec --module --pdf file where FILE is a ConTeXt MP/PL/TEX file This combines texutil --documents with texexec --pdf. Tobias