OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] Selective pagebreaks


El Lunes, 23 de Julio de 2007 22:40, Nelson, Dean escribió:
> What I have is a series of TESTS. Each test is a section. At the end of
> each TEST I have a "hard-pagebreak" which usually just forces the next
> section to start on a new page. 

Then, what you want is that all TEST must start on a new page, right?

Do you have sections others than TEST that must not start on their own new 
page?

> However, if the section is "near" to the 
> end of the pasge already, then it inserts another page.
>
> The PI that I use is the one from the book.
>
> <xsl:template match="processing-instruction('hard-pagebreak')">
>    <fo:block break-before='page'/>
>  </xsl:template>
>
> I wonder, could I use "break-after='page'" instead of before?

Yes, it works also and might solve the blank pages issue, if you want continue 
using the PI.

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES:                           http://es.tldp.org


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