OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: argh ... how do i define page breaks using CSS?


On Fri, Jul 26, 2002 at 04:21:59PM -0400, Robert P. J. Day wrote:
> On Fri, 26 Jul 2002, Stefan Seefeld wrote:
> 
> > Robert P. J. Day wrote:
> > >   probably off topic for this list, but the only outstanding
> > > issue i have is how to force page breaks before each "<section>".
> > > and by that, i mean each section, regardless of its level.
> > > 
> > >   what i want is a CSS definition that lets me say i want a
> > > page break before every <chapter> element and every <section>
> > > element.  as it stands, i get a page break before every
> > > first-level section in a chapter, and that's it.  i've checked
> > > on google, added what looks like the right directive to the
> > > css file -- no luck.
> > 
> > uhm, what is a page in html ? Are you talking about getting
> > separate html files for sections ? That's done with the chunker,
> > and there are parameters in the xsl stylesheets to control the
> > granularity of the chunks.
> > 
> > I can't see how css relates to pages, but may be you are talking
> > about something entirely different.
> 
> no, i'm just explaining this badly.  yes, i'm referring to chunking.
> as a basis for my first docbook manual, i used tim waugh's
> "selfdocbookx" example.  one of the .xsl files refers to a .css
> file, so i figured i'd add a "page-break-before" directive in
> that file to break before every section.  didn't work.
> as it stands, each first-level section is generated as a chunk,
> when i'd really like *every* section directive to define a new
> chunk.
> 
> i've read everything i can find, and haven't figured out how to
> fix this.

You might want to check out the DocBook XSL doc
that I'm writing.  It's currently unfinished, but
does have a section on chunking.

http://www.sagehill.net/xml/docbookxsl/index.html

My intended audience is folks like you that are just
getting started.  I'd appreciate any feedback
you might have.
-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC