This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to select <imageobject> alternative in<mediaobject>?


On Sun, Nov 24, 2002 at 09:50:40PM +0100, Steinar Bang wrote:
> What's the proper way to select a different <imageobject> for HTML and
> XSL:FO, in a <mediaobject> containing two PNGs?  (actually the same
> PNG but with different scaling)

I'm currently doing it by using GIF for HTML and PNG for FO, which
happens to "just work".

But the doubled images both on disk and in authoring environments bother
me too, so I'm contemplating only keeping the <imagedata> elements with
scaling and write a simple XSLT file to make a copy but without the
scaling info. The copy would then be transformed to HTML, the original
to FO.

Now that I'm writing it down like this, it could also be solved by
introducing a new parameter to the HTML transform, something like
"disable-image-scaling".

I've just added it as Feature Request 643237 on sourceforge.

-- 
Bart.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]