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


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

Re: Graphics across multiple formats


>>>>> "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

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