Re: [xep-support] Block containing figure and caption: inheritance problems?

From: Nikolai Grigoriev (
Date: Thu May 22 2003 - 02:37:34 PDT

  • Next message: Mor Yaakobi: "RE: [xep-support] value of rx:meta-field"


    > The problem lies in the second case. My image is left-aligned against the
    > outer-most block (the one set at xsl:region-body), the attribution is
    > right-aligned against that same block, and the caption, while
    > appropriately aligned, is wider than the width set on the containing
    > block. It appears that the properties of the wrapper block e.g. width and
    > alignment, are not inheriting downwards.

    'text-alignment' is inherited, actually. Your stylesheet contains an
    text-align="end" in the template for the attribution, doesn't it? I don't
    any point where it breaks inheritance.

    As for the 'width', it is 1) never inherited, 2) should not be used on
    elements: block dimensions shall be controlled by start/end indents.
    (There is no @width listed in the properties of a fo:block element
    in the XSL spec). Use fo:block-container to constrain the width
    of a rectangular area.

    Best regards,
    Nikolai Grigoriev

    (*) 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 : Thu May 22 2003 - 02:25:54 PDT