From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28432 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Generating Module documentation Date: Tue, 06 Jun 2006 11:55:39 +0200 Message-ID: <4485511B.5090003@wxs.nl> References: 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 1149587752 18481 80.91.229.2 (6 Jun 2006 09:55:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2006 09:55:52 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 06 11:55:50 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 1FnYHt-0003lA-8r for gctc-ntg-context-518@m.gmane.org; Tue, 06 Jun 2006 11:55:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C3CF127E4; Tue, 6 Jun 2006 11:55:49 +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 15499-04-4; Tue, 6 Jun 2006 11:55:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90C88127DE; Tue, 6 Jun 2006 11:55:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB106127DE for ; Tue, 6 Jun 2006 11:55:41 +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 15499-04-3 for ; Tue, 6 Jun 2006 11:55:40 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id 0763812772 for ; Tue, 6 Jun 2006 11:55:39 +0200 (CEST) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 20434 for ; Tue, 06 Jun 2006 13:55:39 +0400 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Original-To: mailing list for ConTeXt users In-Reply-To: X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:28432 Archived-At: Aditya Mahajan wrote: > 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) > ah, we have a new texutil noe (or actually, texutil is gone) ... in texexec.rb replace: job.runtexutil(ffname,"--documents", true) by Kpse.runscript('ctxtools',ffname,'--document') Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------