groff
[Top][All Lists]
Advanced

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

Re: [Groff] pic: No white space allowed between . and PS?


From: Tadziu Hoffmann
Subject: Re: [Groff] pic: No white space allowed between . and PS?
Date: Fri, 31 Oct 2014 17:24:38 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

> .if <condition> \{\
> .     PS
> <pic description>
> .     PE \}
> 
> which does not work.
> But why should this not be allowed?

Because nobody has implemented this yet.

Pic(1) says:

  Each picture starts with a line beginning with .PS and
  ends with a line beginning with .PE.  Anything outside
  of .PS and .PE is passed through without change.

There's no mention of spaces between the dot and PS/PE being
allowed.  The troff code which reads and interprets lines is
entirely different from the pic code that scans for .PS and
.PE, so there is no reason to assume they behave the same.
That gtroff allows those spaces is an extension to the original
troff spec, and in gpic it was simply not implemented to date.
I guess it's not a really big need, or somebody would have
already felt compelled to do so.





reply via email to

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