[docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Matteo Regazzo
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

Re: [docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Mark Craig
Hi Matteo, Setting orderedlist.label.width, http://docbook.sourceforge.net/release/xsl/current/doc/fo/orderedlist.label.width.html, seemed to help. 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,

Re: [docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Tony Graham
On Tue, October 1, 2013 7:29 am, Matteo Regazzo wrote: 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)

Re: [docbook-apps] Listitem overwrites text in orderedlist

2013-10-01 Thread Matteo Regazzo
Thank you Mark, I tried to add /xsl:param name=orderedlist.label.width1.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