OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: how to increase indenting on lists?


I am trying to increase the amount of indent on my itemizedlists and orderedlists for my print output. Lists on my PDF show up at the same indent as my paragraphs. This looks particularly bad on my itemizedlists.

I had some ideas about how to accomplish this using attributesets, but I'm beginning to suspect that I actually don't have a clue.

Here is what I tried without success:

 <xsl:attribute-set name="list.block.properties">
<xsl:attribute name="start-indent">5em</xsl:attribute>
 </xsl:attribute-set>


I have also tried:

<xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties">
<xsl:attribute name="start-indent">5em</xsl:attribute>
</xsl:attribute-set>

As a shot in the dark, I tried to do a template match:

<xsl:template match="d:itemizedlist">
  <fo:list-block start-indent="5em" >
           
            <xsl:apply-templates/>
        </fo:list-block>
    </xsl:template>

But that gave me error messages
(validate
    [error] Element 'fo:wrapper' cannot be a child of 'fo:list-block'. Only 'list-item', 'marker' and change bar elements are permitted in this context.
    [validation total: 1 error]

    I'm not sure how to interpret this error message....other than "You don't know how to do it".

    I also tried:
        <xsl:template match="d:listitem/para">
    <fo:block start-indent="5em" >
                <xsl:apply-templates/>
    </fo:block>
    </xsl:template>

    No validation message, but the output looked exactly the same.

    Can anyone help? Thanks.


--
Robert Nagle
6121 Winsome Ln #56C, Houston TX 77057-5581
(H) 713 893 3424/ (W) 832-251-7522 Carbon Neutral Since Jan 2010
http://www.robertnagle.info


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]