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: Re: [docbook-apps] Listitem overwrites text in orderedlist

Thank you Mark,
I tried to add
    <xsl:param name="orderedlist.label.width">1.8em</xsl:param>
and it has immediately worked.
Thanks even to Tony Graham, I tried to understand how to integrate your customization in my stylesheet (and I even tried to do it), but I'm too "young" on using these instruments and even if it's surely more interesting to have a customized regulation on every list, I need to improve my knowledge before...

Thank you again,


Il 01/10/2013 09:52, Mark Craig ha scritto:
Hi Matteo,

Setting that to 1.8em instead of the default 1.2em seemed to fix the problem for lists having a double-digit number of items, http://sources.forgerock.org/changelog/commons?cs=433, at least in my case.
Perhaps the exact setting will be different for you.

Hope it helps.


On Oct 1, 2013, at 8:29 AM, Matteo Regazzo wrote:

Hi everybody,

I'm just learning, since 3 months, to use docbook and to write the stylesheets.
Now I have this problem: in the orderedlist of the FO the distance from the listitem to the text is not dynamic and if the listitem number (dot included) takes more space because it's made by 2 or more numbers (eg. 16. instead of 1.) it enters in the text space and "mixes" with it, in other words overwrites the text. I'm not able to find a property of the list block to arrange this problem, or (more probably) I'm using it in a wrong way.

I tried in these ways, but without success:

<xsl:attribute-set name="list.block.spacing">
        <xsl:attribute name="space-after">20px</xsl:attribute>

<!--xsl:attribute-set name="list.item.label">
        <xsl:attribute name="margin-right">20</xsl:attribute>

3)(I've found this one in a website)
<xsl:attribute-set name="list.label.spacing">
        <xsl:attribute name="right">
                <xsl:when test="self::orderedlist">2em</xsl:when>

I even tried with different properties of each attribute-set...
Have you ever had this problem? Do you have any suggestion?


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