Keep Image With Step
Posted: Tue Mar 14, 2017 6:42 pm
I've seen several similar posts about this, and I've tried several of the recommendations. Nothing has worked thus far. Here's my issue...
I'm authoring task DITA files with steps and images with each step. If an image gets forced to a new page, the step associated with the image won't follow with it. This makes for very confusing documents. I'd appreciate any input about how I could improve the code, or apply an attribute that will make the images stick with their step.
Here's a sample of how I'm currently coding these steps:
I've also tried to force it by putting the image into the <cmd> element:
Any advice or best practices would be much appreciated.
-Dan
I'm authoring task DITA files with steps and images with each step. If an image gets forced to a new page, the step associated with the image won't follow with it. This makes for very confusing documents. I'd appreciate any input about how I could improve the code, or apply an attribute that will make the images stick with their step.
Here's a sample of how I'm currently coding these steps:
Code: Select all
<step><cmd>1. Do the thing to the thing.</cmd>
<stepxmp><fig><image>imagefileone.jpg</image></fig></stepxmp></step>
Code: Select all
<step><cmd>1. do the thing to the thing.<image>imagename.jpg</image></cmd></step>
-Dan