CTAN Comprehensive TeX Archive Network

Directory support/tgrind

README
This is a pretty printer similar to 4bsd's "vgrind" except it uses
TeX instead of troff.  It was written by Van Jacobson of Lawrence
Berkeley Laboratory (van@lbl-rtsg.arpa).

To install it:

 (1) Decide where you want to put the program (I suggest /usr/local).
 
 (2) Move the entire contents of either ./BSD or ./SYS_V into this
	working directory, or wherever you want to work on the
	compilation.  

 (3) Edit "Makefile":
       set DESTDIR to the program destination directory.
	 (the tgrind shell script, tgrind.sh, will go here.  Also
	 the formatting program, tfontedpr, will go into the "lib"
	 subdirectory of DESTDIR, e.g., /usr/local/lib).
       set TEXINPUTS to the pathname of your TeX "\input" directory
	 (the TeX macro file "tgrindmac.tex" will get put here).
       set DEFSFILE to the pathname of your vgrind language definitions
	 file.  If you're running 4.2bsd, this is "/usr/lib/vgrindefs".
	 Both vgrind & tgrind can use the same file.  A vgrindefs file
	 that has been updated considerably since the 4.2 distribution
	 is included in this directory ("vgrindefs.src").

  (4) Edit "tgrind.sh":
       Put the pathname for tfontedpr in the "set b=" statement.
       Put the pathname for TeX in the "set tex=" statement.
       Look at the comments about output routing & do whatever you
	 think is appropriate.

  (5) Type "make install".

Good luck.  Please let me know of any problems, enhancements, suggestions, etc.

 -Van

Download the contents of this package in one zip archive (35.3k).

tgrind – Produce beautiful program listings using plain

This is a pretty printer similar to 4bsd's "vgrind" except it uses instead of troff.

Packagetgrind
LicensesDo Not Sell Except by Arrangement
MaintainerVan Jacobson
TopicsListing
See alsolistings
lgrind
...
Guest Book Sitemap Contact Contact Author