STEP SUBSTEP With break page

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

STEP SUBSTEP With break page

Post by Le Basque »

Hi,

I have step with substep contain image.
When image is too height the image is publish on next page but cmd is publish on previous
Exist attribut for break page on a step or substep ?

Thank you
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: STEP SUBSTEP With break page

Post by Radu »

Hi,

The XSLT stylesheet:

DITA-OT/plugins/org.dita.pdf2/xsl/fo/task-elements.xsl

contains a template which matches the DITA step:

Code: Select all

<xsl:template match="*[contains(@class, ' task/steps ')]/*[contains(@class, ' task/step ')]">
and outputs a fo:list-item, maybe on that list-item you could add the attribute keep-together.within-page="always" like:

Code: Select all

 <fo:list-item xsl:use-attribute-sets="steps.step" keep-together.within-page="always">
...................
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Re: STEP SUBSTEP With break page

Post by Le Basque »

Thank you for your response

Best regards
Post Reply