This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Graphics across multiple formats
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Graphics across multiple formats
- From: Colin Paul Adams <colin at colina dot demon dot co dot uk>
- Date: 12 Jun 2000 21:15:37 +0100
- References: <Pine.LNX.4.05.10006102308570.4305-100000@sorry.vse.cz>
- Reply-To: docbook at lists dot oasis-open dot org
>>>>> "Jirka" == Jirka Kosek <jkj@kosek.cz> writes:
Jirka> Common praxis is that you have each picture in two version
Jirka> -- for example PNG, GIF or JPEG for HTML version and PDF or
Jirka> EPS for printed version. In the document you write
Jirka> filenames of pictures without extension.
Jirka> <graphic fileref="pic/schema"/>
I actually tried this with imagedata (see next line:)
<imagedata fileref="basicendings/graphics/KpFLK1X2000" format="EPS"/>
This works, even for html output, where I am actually using the
stylesheets to select png as the default extension.
My first try was to omit the format="EPS" altogether - that worked for
html output (PNG file), but not for postscript (eps) or pdf (pdf).
I then tried specifying format="PNG" - same result.
but format="EPS" works for all.
Can anyone explain this (to me) curious behaviour? (using DocBook 4.0
XML and dsssl)
--
Colin Paul Adams
Preston Lancashire