Path: utzoo!mnetor!uunet!mcvax!inria!imag!pierre From: pierre@imag.UUCP (Pierre LAFORGUE) Newsgroups: comp.text Subject: Re: Using TeX to format `C' programs Message-ID: <2388@imag.UUCP> Date: 22 Dec 87 16:01:49 GMT References: <943@stratus.UUCP> Reply-To: pierre@imag.UUCP (Pierre LAFORGUE) Organization: IMAG, University of Grenoble, France Lines: 14 Keywords: vgrind TeX In article <943@stratus.UUCP> yak@stratus.UUCP (Yousef A. Khalidi) writes: > >I am looking for a program that formats C programs similar to `vgrind', >but which produces TeX instead of troff output. Does such a program exist? >We have a couple of big Xerox printers (9700 and 8700) which can print >TeX dvi files but not troff output. I don't want to use a LaserWriter to >print a 20,000 lines program :-) Yes, it is called tgrind and is included in the standard Unix TeX distribution by the University of Washington. It uses /usr/lib/vgrindefs, so you can append other languages syntaxes (and other features if you change the source, as we did). -- Pierre Laforgue pierre@imag.imag.fr {uunet.uu.net|mcvax}!imag!pierre