This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Automatic Image Type Selection
- To: Holger Rauch <Holger dot Rauch at heitec dot de>
- Subject: Re: DOCBOOK-APPS: Automatic Image Type Selection
- From: Dan York <dyork at e-smith dot com>
- Date: Tue, 12 Jun 2001 14:24:02 -0400
- Cc: docbook-apps at lists dot oasis-open dot org
- Organization: e-smith, Inc.
- References: <Pine.LNX.4.21.0106122001050.16509-100000@miami.datech2.er.heitec.net>
Holger,
Guten Tag!
> This is clearly wrong! Instead the correct suffix should be appended to
> the filename ("gif" or "jpg" for HTML output). Why doesn't this happen? Do
> I REALLY have to specify two different imageobjects (one for print output,
> one for HTML output)?
I *do* have two imageobjects... I just do:
<mediaobject>
<imageobject>
<imagedata fileref="images/foo.eps" format="EPS">
</imageobject>
<imageobject>
<imagedata fileref="images/foo.jpg" format="JPG">
</imageobject>
</mediaobject>
This is using SGML, DSSSL, etc.
(I have a VIM macro that enters it all, so I just have to put
the right filenames in.)
Regards,
Dan
--
Dan York, Director of Training dyork@e-smith.com
Ph: +1-613-751-4401 Mobile: +1-613-263-4312 Fax: +1-613-564-7739
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/ open source, open mind