Re: [xep-support] text-align attribute in fo:external-graphic

From: Paul A. Hoadley (
Date: Sun Jan 12 2003 - 00:55:48 PST

  • Next message: David Tolpin: "Re: [xep-support] text-align attribute in fo:external-graphic"

    Hi Nikolai,

    On Sun, Jan 12, 2003 at 11:22:28AM +0300, Nikolai Grigoriev wrote:

    > 'text-align' attribute on fo:external-graphics has a different
    > semantics: it aligns image (a rectangle 'content-width' x
    > 'content-height') inside the viewport (a rectangle 'width' x
    > 'height'). Both rectangles coincide in your case, so 'text-align'
    > would have had no effect however. (But yes, XEP does not support
    > 'text-align' in this context :-)).

    Thanks for the explanation.

    > > The <fo:block> elements surrounding the
    > > <fo:external-graphic> are attributeless: is this where the Docbook
    > > stylesheets should be specifying alignment?
    > Yes, they should. To align an image wrt its surrounding fo:block,
    > 'text-align' must be specified on the block. There's no difference
    > with text alignment: fo:external-image is an inline object like any
    > character, and should be positioned using the same rules.

    I will post to docbook-apps and see what they think over there.

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Sun Jan 12 2003 - 00:50:17 PST