On 09/29/2011 07:39 AM, Alberto Perri wrote:
> my appologies. It i was my mistake. I had modified the topic.xsl file
> and forgot about the change after embedding the converter into our
> software.

No problem.



> If you permit i do have another question. It is concerning page breaks.
> For instance, what i would like to do is apply specific page breaks
> within a section level. After a page break before "Section 2.
> Communication", i would like to keep that titile with "Section 2.1
> Report Messages", but for the next section "Section 2.2. Report
> Messages" apply a page break only if that page does not fit within the
> remaining space left over from "Section 2.1. Report Messages". Is there
> a way to set up such conditional page breaks?

There is probably a (pretty complex) automated way to do that. However I 
fail to see how to do it. Sorry.

*May* *be* (not sure, not tested) a simple solution is:

[1] Invent a processing-instruction of your own. Let's call it
<?page-break?>

[2] Manually insert this processing-instruction in your DITA topics 
before some topic <title>s.

[3] Customize fo.xsl by adding this template:

<xsl:template match="processing-instruction('page-break')">
   <fo:block break-before='page'/>
</xsl:template>

See http://www.w3.org/TR/xsl/#break-before
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to