List Info

Thread: section numbers




section numbers
user name
2006-04-25 20:04:20
Adam,
 
If you set the parameter section.autolabel=1 when you build
the .fo or .html file, you should get what you're looking for.
This should work for both print and html.
 
If that's not exactly what you're after, I'd suggest checking
out Bob Stayton's excellent book: DocBook XSL.  Here's a
pointer to the book:
 
 
The section.autolabel parameter is discussed in the following
section:
 
 
Hope that helps,
Dick Hamilton
-----Original Message-----
From: Adam Perry-Pelletier [mailto:adampmoesol.com]
Sent: Tuesday, April 25, 2006 12:52 PM
To: docbook-appslists.oasis-open.org
Subject: [docbook-apps] section numbers

I want to have section and subsection numbers printed out in both the TOC and in the section/subsection titles in both PDF and HTML output formats.

 

So

 

 

TOC

   1. Foo Section

      1.1 Foo's Subsection

 

Chapter 1 Foo Section

 

1.1   Foo's Subsection

 

Can give me a brief sample that achieves this goal. ; I’m using docbook-website-2.6.0, docbook-xsl-1.69.1, and docbook-xml-4.5CR2.

 

I’ve tried many of the section|sect<n> samples but haven̵7;t seen them print the output I want.

 

Thanks in advance for any help you can offer.

 

Adam

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )