← Prev in month ← Prev in thread

Neater Section Numbering

From
Geraint North <>
Date
2007-09-12T12:16:44+00:00
ID
Thread
Neater Section Numbering
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.

- Once again, would people be interested in this enhancement - could  
it go into the main XSLT stylesheets, or should I just publish it as  
an addon?

Thanks,

Geraint North
Principal Engineer
Transitive
← Prev in month ← Prev in thread