Loading ...
Sorry, an error occurred while loading the content.

problem with aligning lists

Expand Messages
  • wbichelaer
    Hi there, I have a problem with aligning lists. I want to following output: 1 Chapter 1 1.1 Paragraph 1.1 1.1.1 Subparagraph 1.1.1 1.1.1.1 Subsubparagraph
    Message 1 of 3 , Dec 19, 2001
    • 0 Attachment
      Hi there,

      I have a problem with aligning lists.
      I want to following output:
      1 Chapter 1
      1.1 Paragraph 1.1
      1.1.1 Subparagraph 1.1.1
      1.1.1.1 Subsubparagraph 1.1.1.1

      My code is this:
      <fo:block font-weight="bold" space-before="10pt" start-
      indent="1in">
      <fo:list-block>
      <fo:list-item>
      <fo:list-item-label start-indent="body-start() - 0.8in">
      <fo:block><xsl:value-of select="nr"/></fo:block>
      </fo:list-item-label>
      <fo:list-item-body start-indent="body-start()">
      <fo:block>
      <xsl:value-of select="titel"/>
      </fo:block>
      </fo:list-item-body>
      </fo:list-item>
      </fo:list-block>
      </fo:block>

      This results in:
      1. Chapter 1
      1.1 Paragraph 1.1
      1.1.1 Subparagraph 1.1.1
      1.1.1.1 Subsubparagraph 1.1.1.1

      When I use <fo:block text-align="end> within <fo:list-item-label>, it
      results in Chapter 1 1.
      Paragraph 1.1 1.1

      So I hope someone could help me out here?

      Thanx in advance,

      Willem
    Your message has been successfully submitted and would be delivered to recipients shortly.