Home Forums DITA and XMetaL Discussion Scale Function in Enhanced RenderX PDF Reply To: Scale Function in Enhanced RenderX PDF


Reply to: Scale Function in Enhanced RenderX PDF

I found this in one of Derek's post on this board. This works just as well & the image is accordingly reduced in the output, so I'm forgetting about scale.

If you wish to avoid the use of the scale attribute (which is not really supported by the DITA OT yet anyway, regardless of whether you are using DITA 1.0 or 1.1) set only one of the dimensions of the image. Both XMetaL Author Enterprise and the DITA OT currently support setting both width and height or one of either. If you set only one the other one will automatically size using the correct aspect ratio. This follows the rules laid out in the DITA Language Reference. XMetaL Author Enterprise itself handles width, height and scale properly, along with the various allowed units. The limiting factor here at the present time is the DITA OT.