[xep-support] Nesting indents

Werner Donné werner.donne at re.be
Fri Mar 7 01:32:04 PST 2003


Hi Lori,

The attached example shows how you can do it in a completely relative way
without using the functions in an expression.

Regards,

Werner.

Lori Wong wrote:
> 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.  As in,
> 
>    - List 1 item 1
>    - List 1 item 2
>         - List 2 item 1
>         - List 2 item 2
>            - List 3 item 1
>            - List 3 item 2
>         - List 2 item 3
>    - List 1 item 3
> 
> 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"
>    provisional-label-separation=".125in"
>    space-before.optimum="10pt">
> 
> however, XEP generates warnings that look like:
> {?Bad attribute start-indent: Cannot add type Word to type Length}
> which I assume has to do with trying to add the value 
> from-parent(start-indent) with a length value such as the .25in.
> 
> If I use a fixed length here, such as the .25in, I do not get the error 
> messages.  Similarly, I can just use the from-parent(start-indent).  
> However, in both cases, I do not get the nested indenting that I desire.
> 
> 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 (where I don't have to put in fixed values for the subsequent 
> levels of list blocks)?  My list items tend to span more than one line, 
> so I need to specify an indent for the entire block rather than just the 
> first line.
> 
> Thanks!
> 
> - Lori

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne at re.be
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20030307/33f797de/attachment.ksh>


More information about the Xep-support mailing list