RE: [docbook-apps] Selective pagebreaks

From
"@elson, Eean"
Date
2007-07-23T22:42:00+00:00
ID
Thread
RE: [docbook-apps] Selective pagebreaks
El Martes, 24 de Julio de 2007 00:03, Nelson, Dean escribió:

> Then, what you want is that all TEST must start on a new page, right?
>
> ---- Yes
>
> Do you have sections others than TEST that must not start on their own 
> new page?
>
> ---- Yes -   this is why I chose the PI method

Then, in the TEST sections you could place

<section condition="newpage">

or any other @attribute="value" pair, remove the PIs, and use a variation of 
the previouly send template.

+++++++ It appears that this is the only way to go. The PI will create its own empty block, which is the contributor to the extra page. Since I don't use XSL every day, how would I add the "break-after='page'" to the templates so that this FO attribute gets included in the block containing the section?

> ----- Do I need to place this PI before the <section> or inside it?

I tested it before the section, i.e.:

</section>

<?hard-pagebreak?>

<section>

-- 
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

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: