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?


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



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


Powered by eList eXpress LLC