Thread View: gnu.utils.bug
2 messages
2 total messages
Started by Marty Leisner 311/? x?
Thu, 20 Aug 1992 13:08
indent 1.5 - troff option
Author: Marty Leisner 311/? x?
Date: Thu, 20 Aug 1992 13:08
Date: Thu, 20 Aug 1992 13:08
50 lines
2381 bytes
2381 bytes
I'm working on grinding listings...
Indent 1.4 had problems, so I got 1.5 -- appears forget about the -troff option...
I just got indent 1.5 up and running...the man page and the tex manual don't have a
troff option defined...
It appears the manual changed without updating the version. I'm printing edition
0.02, Version 1.3, May 1992 in the texinfo file...
Looking at the texinfo manual source (I'm not texliterate, so I'm just guessing):
@ignore
This is intentionally undocumented because
1. Although GNU now has groff, it would be better to use TeX.
2. The output of indent -troff looks awful, so we have heard. Perhaps
it would be reasonable to use this as a starting point to printing a
program.
If you are printing your program, you may wish to use the @samp{-troff}
option to produce output suitable for processing by the @code{troff}
program. When the @samp{-troff} option is specified, if the output file
is not specified, the default is standard output, rather than formatting
in place.
@end ignore
@c Ignore the following since it is not supported. When someone
@c rewrites this program, an effort could be made to generate TeX.
@c
@c item -troff
@c Format the program for printing with @code{troff}. Use of this option
@c is not suggested.
@c xref Miscellaneous options
@c
@c
I guess this means forget about the troff option (maybe a good idea, it doesn't
appear to work well).
What's a good way to grind listings? I want to use the psmulti package to produce
n-up output, so I need to use an output driver which users adobe's document structuring
conventions...groff does, I'm using dvitps which doesn't...
I ran vgrind on SunOS 4.1.1 and it doesn't appear to do anything useful
(I ran vgrind -f file | groff -mindent - | lpr ) except put the output into italics...
--
marty
leisner.henr801c@xerox.com
Member of the League for Programming Freedom
indent 1.5 - troff option
Author: Joseph Arceneaux
Date: Fri, 21 Aug 1992 16:40
Date: Fri, 21 Aug 1992 16:40
7 lines
820 bytes
820 bytes
The "-troff" option is not reccomended for GNU indent. Perhaps someone would like to rewrite indent and make it do nice things like support other languages, and output TeX. Currently, I do not know of a good, automated way to produce ground code for print. I hand-formatted my code by hand, using TeX, when I've needed to do this.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads