[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: bug in dbautoc.dsl? WAS: TOC going past end of page
Norm, Well, I didn't say I understood it ;-) Hopefully the following description of what I see will help you... If the Table of Contents spans one page or less there is no difference but if it does and if it's set to: keep-with-next?: (if (= level 1) #t #f) There is a page break after the Forward section (where the page numbering goes i, ii, iii, iv....) Then the Chapters run right off of the end of the page, not doing a page break like it should. If it's set to: keep-with-next?: (if (= level 1) #f #t) There is no page break after the Forward section so that the chapter entries follow right behind. There are page breaks right where they should be and you can read all of the chapter entries in the Table of Contents. Hope this helps. Rick Bronson > / Rick Bronson <rick@efn.org> was heard to say: > | Maybe someone that knows a bit aoubt DSSSL can tell me if line #70 > | of docbook-dsssl-1.73/print/dbautoc.dsl should be: > | > | keep-with-next?: (if (= level 1) #f #t) > | > | instead of the current: > | > | keep-with-next?: (if (= level 1) #t #f) > > What this says is, if the top-level TOC entry is being generated, keep > the next line with it. This prevents the TOC from breaking after the > first entry (meaning at least two entries will occur on the first page). > > Your change would seem to make all the TOC entries except the first > stick together, which would tend to *cause* the problem you say it > fixes. > > I'm very confused. > > Be seeing you, > norm >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC