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]

Re: TOC page number restart error


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


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