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] thinking about sections, sub-sections and pagebreaks


On Thu, 15 May 2003, Patrick Eisenacher wrote:

> Hi Robert,
> 
> Robert P. J. Day schrieb:
> [snip]
> >   now, semantically, it is sometimes reasonable to have the text
> > immediately following a Major section represent some kind of lead-up or
> > intro to the upcoming subsections, and that's what would appear on that
> > first page:
> > 
> >   <s><t>Major section</t>
> >    <p> ... some intro here to lay the groundwork for the subsections
> >     to follow ...
> >    </p>
> > ----- page break here, which would be acceptable -----
> >    <s><t>Subsection 1</t>
> >    ...
> >   </s>
> > 
> > but it's not always appropriate to do this -- there may not be anything
> > you want to say before the first subsection -- you just want to get right
> > down to business and you're back where you started.
> 
> The books I know don't do a pagebreak for the scenario above.

really?  in any case, that would still cause problems since you'd
want the first subsection to not cause a page break, and all subsequent
subsections to *cause* one.
> 
> I think what you want is:
> - do a pagebreak before every level 1 section
> - do a pagebreak before every other section, unless it's the first in 
> its hierarchy level

ideally, this would of course be solved by writing some XSLT which
recognized first versus non-first subsections and treated them 
differently, but i'm still working on learning all that stuff.

so i've taken the easy (weaselly?) way out, have tossed out the
auto page breaks and am inserting manual breaks.  i'll just get
this manual out of the way, then go back and take what i've
learned for the next one.

you know what they say -- the first one's always a learning
experience.

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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