bug-groff
[Top][All Lists]
Advanced

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

[bug #66332] [mom] image caption not centered when set to render after l


From: Sven Schober
Subject: [bug #66332] [mom] image caption not centered when set to render after label
Date: Tue, 15 Oct 2024 12:55:38 -0400 (EDT)

Follow-up Comment #13, bug #66332 (group groff):

[comment #3 comment #3:]
> Mom places labels below images and captions above unless CAPTION_AFTER_LABEL
IMG (or ALL), in which case the label and the caption are joined and set below
the image.  If you have CAPTION_AFTER_LABEL but don't provide a label, mom has
nothing to attach the caption to and defaults to what you see in your output.
> 
> In this instance, what you want is a LABEL, not a CAPTION.  The following
demonstrates:
> 
> .DOCTYPE DEFAULT
> .PRINTSTYLE TYPESET
> .LABELS IMG FONT I SIZE -1 COLOR darkgrey QUAD CENTER
> .START
> In the following picture, you can see a marvelous view which is to
> be had on the tour:
> .PDF_IMAGE pdf-image.pdf 160p 120p LABEL "View of the Raetikon Group
approximately two thirds along 
> .PP
> It can be experienced somewhat into the tour, about two thirds along
> the way

Thank you, Peter, for this! I changed my documents right away, and this is
what I wanted all along. 

Somehow, I subconsciously assumed LABEL to refer to some kind of PDF
referencing mechanism, or an anchor to refer to from the text, but looking
again at the documentation 

> LABEL, if given, appears beneath the image. The text you supply, surrounded
by double-quotes, is how the image is labelled in both the document proper and
the List of Figures.

I really do not understand why I did not even try it.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66332>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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