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]

Re: Automatic Image Type Selection


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


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