This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


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: argh ... how do i define page breaks using CSS?


Robert P. J. Day wrote:

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.
css is used by html, not xml. The reference to a css file you'v
seen in an xsl file was probably just a command that inserts a
<link rel="stylesheet" type="text/css"...> into the generated html file.

It's the xslt stuff alone that decides where to chunk the generated output into files.

http://docbook.sourceforge.net/release/xsl/snapshot/doc/html/index.html

will explain you how to customize the xsl stylesheets, notably

http://docbook.sourceforge.net/release/xsl/snapshot/doc/html/pr01.html

explains how customization works in general, and

http://docbook.sourceforge.net/release/xsl/snapshot/doc/html/chunk.section.depth.html

tells you about the parameter you want to modify to change chunk
granularity.

Regards,
Stefan


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