On Mon, Oct 24, 2005 at 05:27:22PM +0200, Daniel de Kok wrote:
> Hi,
> 
> I have a fairly newbie-ish question about the mm marcos. I have some 
> pictures that I would like to center. To keep the captions of the image on 
> the same page, I have enclosed the picture and display in a block. The 
> problem that I have is that with setting the display formatting to CB, the 
> caption is included in the block, and both the picture and the caption are 
> not centered. For example:
> 
> .DS CB
> .PS
> right
> arrow
> box
> arrow
> .PE
> .FG "An example picture"
> .DE

This is caused by a bug in the mm macro package.
Figure titles are printed with [EMAIL PROTECTED] which defers it to
either [EMAIL PROTECTED] or [EMAIL PROTECTED] depending on whether it
appears between a DS/DE pair.
Unfortunately, the condition is wrong.
Change line 2548 (v1.19 - don't know if this is different with another version)
    .ie \\n[ds*lvl]<1&\\n[df*float]=0 \{\
into
    .ie (\\n[ds*lvl]<1)&(\\n[df*float]=0) \{\


Hope this helps,
    Bob



_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to