This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: TOC page number restart error
- To: Ian Castle <bb+lists dot docbook-apps at LOOKSystems dot co dot uk>
- Subject: Re: DOCBOOK-APPS: TOC page number restart error
- From: Richard Sharpe <sharpe at ns dot aus dot com>
- Date: Tue, 03 Jul 2001 00:42:32 +0930
- Cc: docbook-apps at lists dot oasis-open dot org
- References: <3B3FE19E.1080003@ns.aus.com> <3B408441.7B96AA6A@LOOKSystems.co.uk>
- Reply-to: rsharpe at ns dot aus dot com
Ian Castle wrote:
> 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.
Well, that is not good enough either. I am producing documents where
each chapter has numbers of the form 1-1, 1-2, ..., 2-1, 2-2, ... etc.
I need %page-number-restart to be true, but feel that having the page
numbers go from i, ii, iii, ... in the pages up to and including the
preface, are a good thing.
> 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
--
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