From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Generating Module documentation
Date: Tue, 06 Jun 2006 11:55:39 +0200 [thread overview]
Message-ID: <4485511B.5090003@wxs.nl> (raw)
In-Reply-To: <Pine.WNT.4.63.0606052114370.3224@nqvgln>
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
> <protectionstate 0>
> 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!
> ) <test2-lang-a.tmp>
> \openout4 = `test2-lang-a.tmp'.
>
> <test2-lang-b.tmp>
> \openout4 = `test2-lang-b.tmp'.
>
> <test2-lang-c.tmp>
> \openout4 = `test2-lang-c.tmp'.
>
> <test2-lang-d.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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-06-06 9:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 1:20 Aditya Mahajan
2006-06-06 9:30 ` Taco Hoekwater
2006-06-06 9:55 ` Hans Hagen [this message]
2006-06-06 13:57 ` Aditya Mahajan
-- strict thread matches above, loose matches on Subject: below --
1999-12-09 19:36 Jannie Hofmeyr
1999-12-09 20:24 ` Ed L. Cashin
1999-12-09 20:40 ` Jannie Hofmeyr
1999-12-09 21:13 ` Ed L. Cashin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4485511B.5090003@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).