Index of /CTAN/macros/latex/contrib/tclldoc/examples/

NameLast ModifiedSizeType
../ -  Directory
parsetcl.dtx2003-Jul-19 18:43:4841.9Kapplication/octet-stream
parsetcl.ins2003-Jul-19 18:43:481.4Kapplication/x-internet-signup
pdf.dtx2003-Jul-19 18:43:5027.1Kapplication/octet-stream
pdf.ins2003-Jul-19 18:43:501.4Kapplication/x-internet-signup
README for the parsetcl and writepdf packages:
==============================================

The parsetcl package implements basic parsing
of Tcl scripts, and is written completely in
Tcl. To generate parsetcl.tcl, run LaTeX on
parsetcl.ins. To typeset the documentation, 
run LaTeX on parsetcl.dtx. To see an example
of what it does, you can try the following 
commands in a Tcl shell:

   source parsetcl.tcl
   auto_load parray
   set tree [parsetcl::simple_parse_script [info body parray]]
   parsetcl::format_tree $tree {} {   }

The tree variable will be set to a parser tree
for the body of the parray procedure. The last 
command reformats this tree (mostly replacing 
whitespace between list elements) to make the 
structure more visible.


The writepdf package is written completely in 
Tcl and provides basic commands for writing 
well-formed PDF files. To generate writepdf.tcl, 
run LaTeX on pdf.ins. To typeset the 
documentation, run LaTeX on pdf.dtx. To see an 
example of what it does, you can try the following 
commands in a Tcl shell:

   source writepdf.tcl
   source hellopdf.tcl

This will generate a file hello.pdf that contains
a single page with the two words "Hello world!".


Lars Hellström,
20 July 2003
lighttpd/1.4.59