Vic S. wrote:

I am using XMLmind to produce workshop procedures which are output to
pdf using ditac.

I am using the DITA strict task DTD.

I have embedded images into most of my steps using a Fig element
embedded inside a Step Result element after the cmd element.

The result when I output to pdf is that the command text is often
printed immediately after the image from the previous step followed by a
page break and the image on the next page.  This looks wrong as it
appears as if the wrong text is associated with each image.

Is there any way I can force the Step Result element to “keep with” the
preceding step command?


Yes, please add attribute keep-with-previous=always to the "stepresult" attribute-set:

<xsl:attribute-set name="stepresult">
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
</xsl:attribute-set>

In order to do this, please proceed as explained here:

Part II. Customizing the output of XMLmind DITA Converter
Chapter 8. Simple customization
2. Customizing the look of the PDF files generated by ditac

http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-6.html#customAttributeSet


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to