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


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) 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 even tried with different properties of each attribute-set...
> Have you ever had this problem? Do you have any suggestion?

You want to set the combination of 'provisional-distance-between-starts',
'provisional-label-separation', and the label's 'start-indent'.  See the
graphic at http://www.w3.org/TR/xsl11/#d0e12377.

FYI, the Print and Page Layout Community Group at the W3C has developed an
XSLT extension function for running an XSL formatter (FOP only so far) to
get an area tree that you can use mid-transform to work out the formatted
size of things.  One of the motivations is adjusting the width of list
item labels:
http://www.w3.org/community/ppl/wiki/FOPRunXSLTExt#Example_4_-_List_item_label_width

Regards,


Tony Graham                                   tgraham@mentea.net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C




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