
Here are some [tv]grind definitions for tcl/tk/expect hacked
together by me, Martin Hamilton aka <M.T.Hamilton@lut.ac.uk> :

If you're not familiar with it already, "grind" means pretty-print &
"grindcap" is the name given to a file which contains the definitions
of which things to pretty-print for particular languages.  As
termcap is to terminals, and printcap to printers...

There are a couple of grind-ing programs in free circulation:

  o vgrind(1) - for nroff/troff - in the Berkeley Unix distribution
  o tgrind(1) - for TeX/LaTeX - at your local TeX archive

See also vgrindefs(5).

To use tgrind with LaTeX you should pick up a copy of tgrind.sty too
(from your neighbourhood LaTeX archive).  You will have to remove the
first and last lines of the grind-ed (ground ? :-) file as these will
contain TeX related stuff.

One last point - this definition may prove too long for your copy of
tgrind or vgrind.  If so, rebuild from source with the macro BUFSIZ in
vgrindefs.c defined larger, e.g. 2048 instead of 1024.

