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] | [List Home]

Subject: Re: [docbook] page breaks

I can tell you how to insert a page break after a section. But  if you 
find out how to break it's habit to make pagebreaks in places where ist 
is at least ugly or in most cases nearly unreadable.
Im verry unlucky with the raving page break behavior of the fo 
stylesheets and fop.

Ok, how to make pagebreraks after a section:
Insert this line in your custom style sheet for page braks after every 
level2 section.

        <xsl:attribute-set name="section.level2.properties">
                <xsl:attribute name="break-after">page</xsl:attribute>

As you might expect, this is also possible for level 1 and 3 and so on.

 Tilman Baumann

Pupeno wrote:

>Hash: SHA1
>I'm trying to modify where page breaks are inserted and not in my output for 
>I don't want page breaks between chapters and I don't want page breaks between 
>tables (of contents, of examples, of figures (which is still not output as I 
>don't know how)).
>How can I achieve that ?
>I also would like not to have page breaks between the title of a screenshot 
>and the screenshot itself, the page break should be before the title.
>- -- 
>Pupeno: pupeno@pupeno.com - http://www.pupeno.com
>Version: GnuPG v1.2.4 (GNU/Linux)
>To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.

Tilman Baumann

pyramid computer GmbH
Boetzinger Strasse 60 D-79111 Freiburg

They who would give up an essential liberty for temporary security, deserve
neither liberty or security
- Benjamin Franklin 

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