Tomasz Cholewo's Home Page
Home
Resume
Publications
Software
  Mathematica
  Haskell
  C, C++, Java
  LaTeX
  Perl
  Elisp
  Script-Fu
  Configuration Files
  Miscellaneous
Photos

cwebprog.sty

Here you can download cwebprog.sty: a beta version of a style for inclusion of CWEB programs in LaTeX documents. The current version is 0.2 dated 1997/02/21.

A uofl-example.tex is an example of how to use this style. Example CWEB file wc.w is provided also in the TeX form wc.tex.

To use it you will most probably need cweave program which is a part of a CWEB distribution. (It is already installed on the Speed School HP cluster (in /soft/tex/bin), and on mecca and machines in the Computational Intelligence Lab (in /usr/contrib/bin).

General introduction to CWEB:

CWEB is a package using Don Knuth's WEB system. The philosophy behind the CWEB structured documentation is that programmers who want to provide the best possible documentation for their programs need two things simultaneously: a language like TEX for formatting, and a language like C for programming. CWEB provides a means of extracting C code and TeX formatting instructions from one source document. The source document is written in a simple markup language that combines TEX and C. An excellent program documentation tool for manuals and short courses.

Website META Language
Almost Valid HTML 4.0!


This page (http://ci.uofl.edu/tom/software/LaTeX/cwebprog/) was most recently modified on Mar 19, 1998.