Re: undiagnosed pic error

2023-06-14 Thread Dave Kemper
On 6/11/23, Douglas McIlroy wrote: > Pic accepts any modifier attached to any command that admits > some modifier, and simply ignores those that don't make sense. This seems in line with the general permissiveness of (g)roff itself ignoring extraneous parameters to requests. http://savannah.gnu.o

Re: undiagnosed pic error

2023-06-13 Thread G. Branden Robinson
Forwarding another mail of Doug's that I think was sent to TUHS by mistake. At 2023-06-13T21:58:51-0400, Douglas McIlroy wrote: > There may be a simple generic way to correct pic's habit of accepting > any set of object modifiers on any object, but obeying only a > compatible subset. > > Pic alre

Re: undiagnosed pic error

2023-06-12 Thread G. Branden Robinson
[self-follow-up] At 2023-06-12T05:25:25-0500, G. Branden Robinson wrote: > Anyway, the rest of the idea is that, once the various pic objects are > organized into this class hierarchy (if you squint at it), then rules > can be introduced so that an `object_spec` that isn't a `round_object` > gets

Re: undiagnosed pic error

2023-06-12 Thread G. Branden Robinson
Hi Doug, At 2023-06-11T19:59:46-0400, Douglas McIlroy wrote: > The fact that you can't apply "fill" to a polygon drawn with pic's > "line" command is a minor symptom of a general phenomenon. Pic accepts > any modifier attached to any command that admits some modifier, and > simply ignores those th

Re: undiagnosed pic error

2023-06-11 Thread Douglas McIlroy
The fact that you can't apply "fill" to a polygon drawn with pic's "line" command is a minor symptom of a general phenomenon. Pic accepts any modifier attached to any command that admits some modifier, and simply ignores those that don't make sense. A couple of examples: box rad 1 b

Re: undiagnosed pic error

2023-06-05 Thread G. Branden Robinson
Hi Doug, At 2023-06-05T19:48:50-0400, Douglas McIlroy wrote: > > I understand that groff has the \D escape which > > allows you, among other things, to draw outline > > and filled polygons. > > Very helpful. I rely on the old testament book of Ossanna and on > groff(7), neither of which cover tha

Re: undiagnosed pic error

2023-06-05 Thread Douglas McIlroy
> I understand that groff has the \D escape which > allows you, among other things, to draw outline > and filled polygons. Very helpful. I rely on the old testament book of Ossanna and on groff(7), neither of which cover that option for \D. One must look in "info groff". I hope Branden's extensive

Re: undiagnosed pic error

2023-06-04 Thread Oliver Corff
Hi Doug, I understand that groff has the \D escape which allows you, among other things, to draw outline and filled polygons. A polygon:  '\D'p DX1 DY1 DX2 DY2 ...'' From the texinfo groff manual:            Draw a polygon from the current location to the relative   position (DX1,DY1)

Re: undiagnosed pic error

2023-06-04 Thread Damian McGuckin
On Sun, 4 Jun 2023, Douglas McIlroy wrote: A super-duper fix would support filling of closed curves made of lines, splines and arcs. Can groff (or troff) do this with low level commands? Thanks - Damian Pacific Engineering Systems International . 20D Grose St, Glebe NSW 2037 Ph:+61-2-857