On 09/25/2011 07:47 PM, Pere Porta wrote: > I'm writing a book document or docbook. > I want that a given section of the book (or docbook) begins or starts a > new page when the (book) document is converted and becomes a PDF document. > My questions: > 1. Which is the way to get this?
According to "DocBook XSL: The Complete Guide" by Bob Stayton (http://www.sagehill.net/book-description.html), you need to insert a <?dbfo-need height="25cm" ?> processing instruction at the locations where you want to force the page break. See http://www.sagehill.net/docbookxsl/PageBreaking.html#SoftPageBreaks XMLmind XML Editor allows to insert processing instructions and/or to change the target of the selected processing instruction by using its "Edit|Processing Instruction" submenu. More info. here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/piMenu.html After a <?dbfo-need?> has been inserted in your DocBook document, then type (or copy/paste) height="25cm" in its body. > 2. Is there a way to get that EVERY SECTION (or all the sections) of the > document .xml -namely, the title of the section--- stays placed at > the top of a new page (and therefore starts a new page) in the resulting > PDF document? To my knowledge, the answer is: no, not without customizing the DocBook XSL Stylesheets. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

