From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28427 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Generating Module documentation Date: Mon, 5 Jun 2006 21:20:56 -0400 (EDT) Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149556880 30757 80.91.229.2 (6 Jun 2006 01:21:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2006 01:21:20 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 06 03:21:19 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FnQFq-0000H8-KH for gctc-ntg-context-518@m.gmane.org; Tue, 06 Jun 2006 03:21:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2EEA8127CF; Tue, 6 Jun 2006 03:21:10 +0200 (CEST) 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 26347-06-6; Tue, 6 Jun 2006 03:21:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22392127C6; Tue, 6 Jun 2006 03:21:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AC49E127C6 for ; Tue, 6 Jun 2006 03:21:03 +0200 (CEST) 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 26347-06-5 for ; Tue, 6 Jun 2006 03:21:01 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with SMTP id 9A4E112783 for ; Tue, 6 Jun 2006 03:21:00 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 4484D879.86982.16848 ; 5 Jun 2006 21:20:58 -0400 Original-To: mailing list for ConTeXt users X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28427 Archived-At: Hi, How does one generate module documentation? I copied mult-ini.tex to a temp directory and did texmfstart texexec --modules mult-ini.tex but did not get any output. Looking into texexec.rb, I tried to recreate a temp file to generate the documentation. The following \usemodule[abr-01,mod-01] \def\ModuleNumber{1} \starttext \readlocfile{mult-ini.tex}{}{} \stoptext gives This is pdfeTeX, Version 3.141592-1.30.3-2.2 (Web2c 7.5.5) (format=cont-en 2006.5.31) 5 JUN 2006 21:13 entering extended mode \write18 enabled. (e:\isoimage\usr\local\context\tex\texmf-local/web2c/natural.tcx) **f:/Research/real_time/examples/test2.tex \emergencyend (f:/Research/real_time/examples/test2.tex ConTeXt ver: 2006.05.28 13:28 fmt: 2006.5.31 int: english mes: english language : language en is active system : cont-new loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex color : palette rollover is available ) system : cont-old loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex system : module newmat loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/m-newmat.tex)) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 en->ec:ec->21->2:3 uk->ec:ec- >22->2:3 us->ec:ec->23->2:3 agr->agr:agr->24->2:3 da->ec:ec->25->2:3 sv->ec:ec- >26->2:3 af->ec:ec->27->2:3 no->ec:ec->28->2:3 deo->ec:ec->29->2:3 es->ec:ec->3 0->2:3 ca->ec:ec->31->2:3 la->ec:ec->32->2:3 ro->ec:ec->33->2:3 tr->ec:ec->34-> 2:3 fi->ec:ec->36->2:3 hu->ec:ec->37->2:3 loaded specials : tex,postscript,rokicki loaded \openout2 = `test2.tui'. system : test2.top loaded (./test2.top specials : loading definition file tpd (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex) specials : fdf loaded ) specials : fdf,tpd loaded ) \openout0 = `test2-mpgraph.mp'. \openout0 = `mpgraph.mp'. systems : system commands are enabled system : module abr-01 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-abr-01.tex check : logo AMSTEX replaces a macro, use CAPITALS! check : logo CONTEXT replaces a macro, use CAPITALS! check : logo ETEX replaces a macro, use CAPITALS! check : logo LAMSTEX replaces a macro, use CAPITALS! check : logo LATEX replaces a macro, use CAPITALS! check : logo MATHML replaces a macro, use CAPITALS! check : logo METAFONT replaces a macro, use CAPITALS! check : logo METAPOST replaces a macro, use CAPITALS! check : logo PDFETEX replaces a macro, use CAPITALS! check : logo PDFTEX replaces a macro, use CAPITALS! check : logo PICTEX replaces a macro, use CAPITALS! check : logo PPCHTEX replaces a macro, use CAPITALS! check : logo PRAGMA replaces a macro, use CAPITALS! check : logo TABLE replaces a macro, use CAPITALS! check : logo TEXADRES replaces a macro, use CAPITALS! check : logo TEXEDIT replaces a macro, use CAPITALS! check : logo TEXEXEC replaces a macro, use CAPITALS! check : logo TEXFORM replaces a macro, use CAPITALS! check : logo TEXSPELL replaces a macro, use CAPITALS! check : logo TEXUTIL replaces a macro, use CAPITALS! check : logo TEX replaces a macro, use CAPITALS! check : logo XML replaces a macro, use CAPITALS! check : logo XETEX replaces a macro, use CAPITALS! check : logo METAFUN replaces a macro, use CAPITALS! ) system : module mod-01 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-mod-01.tex system : module mod-00 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/s-mod-00.tex system : module units loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/m-units.tex check : unit Angstrom replaces a macro, use CAPITALS! ) \openout4 = `test2-lang-a.tmp'. \openout4 = `test2-lang-b.tmp'. \openout4 = `test2-lang-c.tmp'. \openout4 = `test2-lang-d.tmp'. system : module int-load loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/x-set-11.tex system : module set-02 loaded (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/x-set-02.tex (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/mult-con.tex loading : Context Multilingual Macros / Constants ) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/mult-com.tex loading : Context Multilingual Macros / Commands )) debugger : message:: duplicate tag file in library setup of interface en glish debugger : message:: duplicate tag reference in library setup of interfa ce english ) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/interface/cont-en.xm l check : eachtexcommand stp:x:defineinteractionmenu replaces a macro, use CAPITALS! check : texcommand stp:y:defineinteractionmenu replaces a macro, use CAPITALS! )) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/type-pre.tex ) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec.tex) color : system rgb is global activated color : color is converted to gray interaction : active ) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (./test2.tuo) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/sort-new.tex) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/sort-def.tex) (e:\isoimage\usr\local\context\tex\texmf-local/tex/context/base/sort-lan.tex) (./test2.tuo) (./test2.tuo) systems : begin file test2 at line 4 (./mult-ini.tex loading : Context Multilingual Macros / Initialization ) systems : end file test2 at line 6 ) Here is how much of TeX's memory you used: 5277 strings out of 220738 95875 string characters out of 1298206 3054069 words of memory out of 4496831 43886 multiletter control sequences out of 10000+100000 124827 words of font info for 62 fonts, out of 1000000 for 2000 232 hyphenation exceptions out of 8191 58i,2n,55p,632b,1694s stack positions out of 10000i,500n,6000p,200000b,40000s PDF statistics: 1 PDF objects out of 300000 0 named destinations out of 131072 5 words of extra memory for PDF output out of 10000 No pages of output. How does one generate documentation? Does it require some perl script? (I do not have perl in my path) Aditya