On Wednesday 06 Mar 2013 22:27:52 Werner LEMBERG wrote: > > But there seems to be another difference: > > > > .PSPIC centers the image by default, whereas for .PIC the default is > > left-aligned. > > Interestingly, the groff_mm(7) man page doesn't say which of the > parameters is the default. Maybe the left-aligned default has > historical reasons, I don't know. > > While looking into the source code I see that option -B (to produce a > box around the image) of the PIC macro isn't documented either... > > Sigh. No time to work on this. If someone provides a patch (*with* a > ChangeLog entry), I can commit it. > > > Werner > > _______________________________________________ > bug-groff mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-groff
Hi Werner, Attached patch includes a patch to the mm/changelog as well as the man page. Cheers Deri
diff -ruNBb a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog --- a/contrib/mm/ChangeLog 2012-12-03 09:06:32.000000000 +0000 +++ b/contrib/mm/ChangeLog 2013-03-06 22:23:10.149410106 +0000 @@ -1,3 +1,8 @@ +Wed Mar 6 22:18:00 2013 Deri James <[email protected]> + + * groff_mm.man: Document .PIC flag -B (box). Default position of + picture is left (-L) + Sat Nov 17 18:36:56 2012 Anton Shepelev <[email protected]> Fixed the format of header numbers in references. diff -ruNBb a/contrib/mm/groff_mm.man b/contrib/mm/groff_mm.man --- a/contrib/mm/groff_mm.man 2011-01-28 09:34:59.000000000 +0000 +++ b/contrib/mm/groff_mm.man 2013-03-06 22:26:59.476553003 +0000 @@ -2077,7 +2077,7 @@ on the first page. . .TP -.BI "PIC \fR[\fP\-L\fR] [\fP\-C\fR] [\fP\-R\fR] [\fP\-I\ " "n\fR]\fP filename \fR[\fPwidth \fR[\fPheight\fR]]\fP" +.BI "PIC \fR[\fP\-B\fR] \fR[\fP\-L\fR] [\fP\-C\fR] [\fP\-R\fR] [\fP\-I\ " "n\fR]\fP filename \fR[\fPwidth \fR[\fPheight\fR]]\fP" Include a PostScript file in the document. The macro depends on .BR mmroff (@MAN1EXT@) @@ -2090,6 +2090,10 @@ and .BI \-I\ n adjust the picture or indent it. +With no flag the picture is adjusted to the left. +Adding a +.B \-B +draws a box around the picture. The optional .I width and
_______________________________________________ bug-groff mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-groff
