← Prev in month ← Prev in thread

Page break before sect1 elements, but only in articles

From
Fekete Robert <>
Date
2006-05-31T13:30:55+00:00
ID
Thread
Page break before sect1 elements, but only in articles
Dear List,

How can docbook be customized to add a page break before section level1 
(sect1) elements, but only if the doctype is article?
Adding <xsl:attribute name="break-before">page</xsl:attribute> to the 
section.level1.properties set causes page breaks in books as well, which 
is not desirable.

I have not found a solution in the list archives, the thread below 
addresses a similar problems, but unfortunately without a good solution.

http://www.mail-archive.com/[email protected]/msg07842.html

Is it possible to solve this problem without having to use different 
stylesheets for articles and books?


Any suggestions are welcome.

Regards,

Robert Fekete
← Prev in month ← Prev in thread