Hi, Your snippet gives a result as expected regarding the XSL-FO REC.
XSL-FO REC (1.0 or 1.1) says 2 things: "Each area has the traits top-position, bottom-position, left-position, and right-position which represent the distance from the edges of its content-rectangle to the like-named edges of the nearest ancestor reference-area" "A block-area which is not a line-area typically has its size in the inline-progression-direction determined by its start-indent and end-indent and by the size of its nearest ancestor reference-area" AFAIK, reference-area is defined by: fo:page-sequence, page column, page regions and subregions, fo:block-container, fo:inline-container. If you want to play with star-indent in fo:list-block, you shoud insert a fo:block-container else where. As a workaround, you can use the fo:table model in place of fo:list model, since you need not to play with start-indent. You can also read this WikiPage [1] for further information on indent inheritance. [1] http://wiki.apache.org/xmlgraphics-fop/IndentInheritance Pascal > -----Message d'origine----- > De : amirali786 [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 8 février 2007 02:46 > > > Hello, does anybody know why my nested list-block won't align > with other blocks in the parent list-item-body? Instead it > just aligns to the page's left margin like it's ancestral > list-block. I know I'm not using the > body-start() or label-end() functions for indentation, but I > still think I did it right and want to know why I'm not > getting the desired result doing it this way. Here is the fo > output (nested list-block italicized): > > <fo:list-block space-before="1em"> > <fo:list-item relative-align="baseline"> > <fo:list-item-label> > <fo:block font-weight="bold">Note:</fo:block> > </fo:list-item-label> > <fo:list-item-body start-indent="2.75em"> > <fo:block text-align="left" space-before="1em">The > following list aligns with the 'N' in "Note" (I want it to > align with the 'T' in "The") ...</fo:block> > <fo:list-block> > <fo:list-item relative-align="baseline" space-before="0.5em"> > <fo:list-item-label > start-indent="0.5em"><fo:block>•</fo:block></fo:list-item-label> > <fo:list-item-body start-indent="1.5em"> > <fo:block><fo:block text-align="left" > space-before="0.5em">Item 1</fo:block></fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item relative-align="baseline" space-before="0.5em"> > <fo:list-item-label > start-indent="0.5em"><fo:block>•</fo:block></fo:list-item-label> > <fo:list-item-body start-indent="1.5em"> > <fo:block><fo:block text-align="left" > space-before="0.5em">Item 2</fo:block></fo:block> > </fo:list-item-body> > </fo:list-item> > </fo:list-block> > </fo:list-item-body> > </fo:list-item> > </fo:list-block> > -- > View this message in context: > http://www.nabble.com/Alignment-indenting-issues-with-list-blo > ck-inside-list-item-body-tf3190903.html#a8858174 > Sent from the FOP - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
