[comp.text] vgrind questions

michael@pbinfo.UUCP (04/07/87)

Does anybody out there in netland use the `vgrind` program distributed
with BSD 4.?. I have some questions:

	- Is it possible to reduce the length of the text. Our
	`vgrind` writes very nice looking text, but too much to
	fit on one page. So some (1-3) lines are lost. How can
	I avoid this?

	- Did anybody convert `vgrind` to produce TeX output
	instead of troff output, i.e.: Does anywhere a program
	exist, that takes a program written in C for example
	and a description of the keywords, comments etc. and
	produces an input suitable for TeX (or even a .dvi-file)?

Please reply by mail, since I am reading this newsgroup only sporadically.

	Thanks in advance

	Michael Schmidt

UUCP:  ...!seismo!unido!pbinfo!michael     |  Post: Michael Schmidt
       or michael@pbinfo.UUCP              |        Universitaet-GH Paderborn
                                           |        FB 17 - Informatik
CSNET: michael%pbinfo.uucp@Germany.CSNET   |        Warburger Str. 100
                                           |        D-4790 Paderborn
ARPA:  michael%pbinfo.uucp@seismo.css.gov  |        West Germany

fmr@mcvax.cwi.nl (Frank Rahmani) (04/20/87)

In article <51000001@pbinfo.UUCP>, michael@pbinfo.UUCP writes:
> 	- Is it possible to reduce the length of the text. Our
> 	`vgrind` writes very nice looking text, but too much to
> 	fit on one page. So some (1-3) lines are lost. How can I avoid this?
As the manpage clearly states (RTFM!!), lines beginning with '.' will
be passed unchanged to troff. So to get whatever pagelength you want
just prepend a line '.pl nu' to your input file, where n is the numerical
value and u de unit (cm|i|u) of your desired pagelength. Of course you
could also change the vgrind macro package.
> 
> 	- Did anybody convert `vgrind` to produce TeX output
> 	instead of troff output, i.e.: 
This means you need a new preprocessor for vgrind. Should be no problem if
you have sources. A much faster (and neater way) if you have Postscript
is using your PS laserprinter for the grinding. Just exchange troff for 
psroff in vgrind. You'll like the output!

ken@rochester.ARPA (Ken Yap) (04/20/87)

|	- Did anybody convert `vgrind` to produce TeX output
|	instead of troff output, i.e.: Does anywhere a program
|	exist, that takes a program written in C for example
|	and a description of the keywords, comments etc. and
|	produces an input suitable for TeX (or even a .dvi-file)?

Yes, the Unix TeX tape has a tgrind program in C.

	Ken