Re: [xep-support] Nesting indents

From: Lori Wong (wongl@llnl.gov)
Date: Fri Mar 07 2003 - 12:47:49 PST

  • Next message: Peter Drivas: "[xep-support] Empty fo:inline generates white space?"

    Thanks!

    - Lori

    At 11:55 AM 3/6/2003, you wrote:
    >Lori,
    >
    > > 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
    >RenderX
    >-------------------
    >(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    >in the body of the message to majordomo@renderx.com from the address
    >you are subscribed from.
    >(*) By using the Service, you expressly agree to these Terms of Service
    >http://www.renderx.com/tos.html

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Fri Mar 07 2003 - 12:44:52 PST