Re: [xep-support] Nesting indents

From: Nikolai Grigoriev (
Date: Thu Mar 06 2003 - 11:55:26 PST

  • Next message: Richard Ballard: "[xep-support] New User - Will this layout work?"


    > I would like to nest indenting for list blocks so that
    > if a list occurs within a list, the child list gets indented
    > relative to the previous one.
    > <skip/>
    > I have tried to use start-indent to do this as follows:
    > <fo:list-block
    > provisional-distance-between-starts="1.15in" text-align="left"
    > font-size="12pt" line-height="16pt"
    > start-indent="from-parent(start-indent)+.25in"
    > however, XEP generates warnings that look like:
    > {?Bad attribute start-indent: Cannot add type Word to type Length}

    That's a limitation of XEP: it cannot use body-start()/label-end()
    properties in expressions. These functions are only allowed as standalone
    tokens. In your example, "body-start()" is returned by from-parent()
    function, and the summation fails.

    > It may be that I'm attempting to use the from-parent(start-indent)
    > incorrectly. Does anyone have a solution for handling
    > the nested indents

    Your code is correct but unsupported in XEP. As a workaround,
    Jeff Beal's solution is the best: use margins to shift the indent
    by a fixed amount.

    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 Mar 06 2003 - 12:03:13 PST