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] Chapter numbering resets unexpectedly


Bob, thanks for your suggestions.  

I have done some work on it, trying different things, and have determined
that the problem had something to do with xsltproc's handling of XInclude.
 (I think I neglected to mention that I use XInclude to bring in each
chapter individually)

I wrote a script to pre-interpret the XIncludes, and now the book builds
fine - chapter numbers are all correct.

A possibly helpful aside to any xsltproc developers reading:  I discovered
that the chapter numbers in the actual chapter files were correct, but the
TOC was wrong.  

Adam

-----Original Message-----
From: "Bob Stayton" <bobs@sagehill.net>
To: "Adam Preble" <adam@stradis.com>, <docbook-apps@lists.oasis-open.org>
Date: Thu, 15 Jan 2004 16:02:42 -0800
Subject: Re: [docbook-apps] Chapter numbering resets unexpectedly

> First check to make sure your document is valid DocBook.
> Then look for label attributes in your chapter tags. The label
> attribute lets you set the chapter number manually.
> Those are about the only two things that would cause
> the chapter numbers to be off.
> 
> Bob Stayton
> Sagehill Enterprises
> bobs@sagehill.net



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