These documents are works in process.
In general they are self-contained literate programs.
In all cases so far we have been using Norman Ramsey's
noweb
literate programming tool.
In most cases you can just use
notangle -t8 filename.pamphlet >Makefile
make
to extract the latex code, create the dvi file, build the
executable (if there is one), and run the examples.