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: 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



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