#!/bin/sh
# doit
# to get the document as dvi, pdf, html, lisp:
# 0. set the environment for lisp
export FINDUSES_LISP=1 
# 1. generate the latex:
noweave -autodefs lisp -delay -index  test-all-utilities.nw > test-all-utilities.tex
# 2. generate dvi from the latex:
latex test-all-utilities.tex; latex test-all-utilities.tex; latex test-all-utilities.tex
# 3. convert the dvi to ps or pdf with dvips or dvipdf:
dvipdf test-all-utilities.dvi
# 4. generate the html page
noweave -autodefs lisp -delay -filter l2h -index -html  test-all-utilities.nw | htmltoc > test-all-utilities.html
# 5. Generate the lisp.
notangle -Rutilities.lisp  utilities.nw > test-all-utilities.lisp
