groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Groff pipeline plumbing problem


From: Rick Richardson
Subject: Re: [Groff] Groff pipeline plumbing problem
Date: Sat, 29 Dec 2001 10:06:18 -0600
User-agent: Mutt/1.2.5i

On Sat, Dec 29, 2001 at 02:26:22PM +0000, Gaius Mulley wrote:
> 
> Hi Ralph,
> 
> > It may be related to src/preproc/html/pre-html.cc changing after groff
> > 1.17 to use `groff -Z' instead of `troff' in order to pick up
> > GROFF_BIN_PATH.
> 
> > Gaius, any ideas?
> 
> yes it now uses groff -Z rather than try and work out what the *roff
> processor is called (ie gtroff or troff). The pipeline that Rick emailed
> looks ok I believe, groff -Z should eventually emit ditroff output,
> the same as troff or gtroff.
> 
> hope this helps?

But that pipeline doesn't work, it fails with a fatal error:

$ /usr/local/test/bin/groff -P-Ixxx.1 -P-o0 -P-i100 -t -man -Thtml xxx.1
post-grohtml:<standard input>:1:fatal error: the first command must be `x T'

Inspection of the input to the complaining post-grohtml shows that the
input it is getting is already HTML, not device independent troff
language.

-Rick

-- 
Rick Richardson  address@hidden        http://home.mn.rr.com/richardsons/
Stock information at your fingertips:   http://linuxtrade.0catch.com/

The last line of a right hand page should not end with a hyphen. This
has been a style rule for many years, yet it is amazing that most word
processors do not do this! I just smile when I pick up a book produced
with something like Frame and you immediately find these errors.
Needless to say, troff does this correctly, and has for 20+ years. A
friend commented to me that normal evolution would have gone Word to
Frame to troff, but instead, the computer industry has gone the other
way! -W. Richard Stevens, author of 7 popular technical books. [R.I.P.]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]