Re: Should temporary indentation be ignored when centering?

2023-06-04 Thread Damian McGuckin
On Mon, 5 Jun 2023, G. Branden Robinson wrote: Note: a negative '.ti' says go the left of the margin and so is a NO-OP. Not true in general. Sorry, lazy me with a poor sentence. A negative .ti which tries to go to the left of the current left margin is a NO-OP (the .ce moves the current le

Re: Should temporary indentation be ignored when centering?

2023-06-04 Thread G. Branden Robinson
Hi Damian, At 2023-06-05T13:02:14+1000, Damian McGuckin wrote: > Thanks. I agree that the incorrect statement should be deleted. > > On Sat, 3 Jun 2023, G. Branden Robinson wrote: > > > What is your use case for employing temporary indentation while > > centering? > > It;s probably a bit abnorm

Re: Should temporary indentation be ignored when centering?

2023-06-04 Thread Damian McGuckin
Thanks. I agree that the incorrect statement should be deleted. On Sat, 3 Jun 2023, G. Branden Robinson wrote: What is your use case for employing temporary indentation while centering? It;s probably a bit abnormal but it is not wrong. Weird maybe. I have used it that way once or twice in

Re: bitmaps in groff documents

2023-06-04 Thread Deri
On Sunday, 4 June 2023 15:15:09 BST G. Branden Robinson wrote: > Hi Doug, > > At 2023-06-04T06:59:55-0400, Douglas McIlroy wrote: > > >> Does anyone have a recipe for including a bitmap image in a groff > > >> document? I wish to assure that on a raster-printing device the > > >> bitmap is appropr

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

undiagnosed pic error

2023-06-04 Thread Douglas McIlroy
Pic knows how to fill a box, a circle or an ellipse. Groff(7) says you can fill "closed drawn objects". So, on a whim, I tried to fill a triangle by drawing a closed line. .PS line from 0,0 to 0,1 to 1,1 to 0,0 fill 0.5 .PE The line is drawn but not filled, and no diagnostic is issued for the in

Re: bitmaps in groff documents

2023-06-04 Thread G. Branden Robinson
Hi Doug, At 2023-06-04T06:59:55-0400, Douglas McIlroy wrote: > >> Does anyone have a recipe for including a bitmap image in a groff > >> document? I wish to assure that on a raster-printing device the > >> bitmap is appropriately aligned with that of the device. > > > There is a PSPIC macro which

Re: bitmaps in groff documents

2023-06-04 Thread Ralph Corderoy
Hi Doug, > I would like to assure that a 1000x1000 bitmap, say, occupies exactly > 1000x1000 pixels on the display, regardless of the physical size of a > pixel. What's the output device? There's the .H and .V number registers which give the output device's resolution in basic units. But a bigg

Re: bitmaps in groff documents

2023-06-04 Thread Douglas McIlroy
>> Does anyone have a recipe for including a bitmap image in a groff >> document? I wish to assure that on a raster-printing device the bitmap >> is appropriately aligned with that of the device. > There is a PSPIC macro which is part of the MM macros (groff_mm) which I > use to pull in a picture.

Re: How to contribute

2023-06-04 Thread Ralph Corderoy
Hi Michał, > > > > Alas, groff's requirement for copyright assignment to the FSF > > > > ruled out contributions from me many years ago after the FSF's > > > > legal counsel confirmed they'd hold partial copyright on a > > > > non-groff work which contained code of copyrightable expression > > > >