Page 1 of 1

STEP SUBSTEP With break page

Posted: Wed Aug 27, 2014 4:28 pm
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

Re: STEP SUBSTEP With break page

Posted: Thu Aug 28, 2014 9:57 am
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

Re: STEP SUBSTEP With break page

Posted: Thu Aug 28, 2014 10:47 am
by Le Basque
Thank you for your response

Best regards