PDF output: image runs off page

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

PDF output: image runs off page

Post 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?
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: PDF output: image runs off page

Post 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
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply