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] Neater Section Numbering


Geraint North wrote:
> Hi,
> 
> I had to modify the XSLT templates to get section numbering looking how 
> I wanted in cases where the section title spans multiple lines - I now 
> have it looking like this:
> 
>   http://geraintnorth.com/docbook_indented_sections.pdf
> 
> I achieved this by modifying the section title template to generate a 
> two-column, single-row table, the first column being the width of the 
> body indent and containing the section number, and the second column 
> containing the title itself.
> 
> - Have I done things the right way?  I couldn't think of a way of 
> separating the numbering and title by the correct distance without using 
> the table.


http://www.dpawson.co.uk/xsl/sect3/N8681.html#d13496e223
uses a float.
The other option is to use a list, withe the number as
the marker, the heading as the list item?
Same page.
HTH


-- 
Dave Pawson
XSLT, XSL-FO and Docbook FAQ
http://www.dpawson.co.uk



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