This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: TOC page number restart error
- To: Richard Sharpe <sharpe at ns dot aus dot com>
- Subject: Re: DOCBOOK-APPS: TOC page number restart error
- From: Ian Castle <bb+lists dot docbook-apps at LOOKSystems dot co dot uk>
- Date: Mon, 02 Jul 2001 15:25:05 +0100
- Cc: docbook-apps at lists dot oasis-open dot org
- Organization: LOOK Systems
- References: <3B3FE19E.1080003@ns.aus.com>
Mmmm... I simply commented out the call to page-number-restart?.
However, I can't believe it was not put in there deliberately... I was
wondering if it had something to do with the production of TOCs when
your are producing a <set> of <book>s or <book> of <part>s.... I've
never done this so don't really have any expectations of how table of
contents should be generated (perhaps a summary TOC at the begining and
a detailed table of contents before each book/part..).
In any case, I can't see why you would want to reset the page numbers
unless you had %page-number-restart% set to true... so I had thought of
making it conditional on that.
Richard Sharpe wrote:
>
> Hi
>
> I notice the following sequence in dbdivis.dsl in docbook-dsssl-1.70 in
> (element book...):
>
> (if %generate-book-toc%
> (make simple-page-sequence
> page-n-columns: %page-n-columns%
> page-number-restart?: #t
>
> Ummm, this seems like an error. I have looked at a few books, and their
> page numbers do not restart in the TOC.
>
> It should at least be something like:
>
> page-number-retart?: %restart-page-num-in-TOC%
>
> Regards
> -------
> Richard Sharpe, rsharpe@ns.aus.com, LPIC1
> www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
> in 24 Hours, Special Edition, Using Samba