Hello everybody,

I'm converting my DocBook XML files to Eclipse help using xsltproc and eclipse3 
stylesheet, and I still can't find the solution to proper image scaling. I want 
the images that are less than 100% of the page width to stay at their default 
size, and I want to scale bigger images down to 100% page width.

In the XML code I use the following attributes:
<imagedata contentdepth="100%" fileref="image001.png" format="png" scalefit="1" 
width="100%"/>

In my adaptation layer I use ignore.image.scaling = 1.

I've tried various combinations of stylesheet parameters regarding 
graphics<http://docbook.sourceforge.net/release/xsl/current/doc/html/graphics.html>,
 as well as applying CSS styles (width and max-width parameters) to img, 
.mediaobject, .informalfigure, and .figure. Can't find the correct combination 
or find the solution online.

If you have solved this problem, please share.

Thank you very much in advance!

--
Kind regards,
Ekaterina Shikareva
Senior Technical Writer
Luxoft Russia

Skype: maymakayu
www.luxoft.com<http://www.luxoft.com/>
www.facebook.com/Luxoft<http://www.facebook.com/Luxoft>


________________________________

This e-mail and any attachment(s) are intended only for the recipient(s) named 
above and others who have been specifically authorized to receive them. They 
may contain confidential information. If you are not the intended recipient, 
please do not read this email or its attachment(s). Furthermore, you are hereby 
notified that any dissemination, distribution or copying of this e-mail and any 
attachment(s) is strictly prohibited. If you have received this e-mail in 
error, please immediately notify the sender by replying to this e-mail and then 
delete this e-mail and any attachment(s) or copies thereof from your system. 
Thank you.

Reply via email to