Page 1 of 1

PDF output: image runs off page

Posted: Wed Jun 20, 2018 1:55 am
by mdslup
I have some DITA that essentially looks like this:

<step>
<cmd>Do the step: </cmd>
<choices>
<choice> If variant, do this:
<ol>
<li> Step 1 <p><img/></p> </li>
<li> Step 2 <p><img/></p> </li>
<li> Step 3 <p><img/></p> </li>
<li> Step 4 <p><img/></p> </li>
</ol>
</choice>
<choice> If other variant do this instead <p><img/></p> </choice>
</choices>

In a 2 column layout rotated 90 degrees (so landscape orientation), the last image runs off the page. Each image is 600x400 at 300 DPI. I assume this is because of some keep rule that is forcing my CHOICES to stay together...but at the expense of the image running off the page? That doesn't seem right.

I understand that I could probably adjust the image sizing or use scaling, but I am happy with the image size. I feel like this a DITA problem, rather than an image problem.

Am I missing something here?

Re: PDF output: image runs off page

Posted: Wed Jun 20, 2018 3:21 pm
by ionela
Hello,

One possible fix for this problem would be to save your images without any DPI resolution information. You can find more details about this in our user manual:
https://www.oxygenxml.com/doc/versions/ ... utput.html

I hope this helps.

Regards,
Ionela