This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Chapter numbering resets unexpectedly


That's strange.  I've used XIncludes for chapters for some time
and never had the problem of chapter numbers restarting.
The XIncludes are resolved prior to application of the
stylesheet, so I can't see how that would happen.  Can
you send me a small sample that illustrates the problem?
And can you mention what version of xsltproc you use?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Adam Preble" <adam@stradis.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, January 16, 2004 9:42 AM
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
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]