From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bischoff To: Jochem Huhmann Cc: docbook-tools-discuss@sourceware.cygnus.com Subject: Re: images in Docbook with Red Hat 6.2 Date: Wed, 27 Dec 2000 06:36:00 -0000 Message-id: <38F78E74.4F14B78D@cybercable.tm.fr> References: <38F65807.4905D5C@cybercable.tm.fr> <00af01bfa571$69317680$1403a8c0@cogent.ca> <38F66342.9FD5F778@cybercable.tm.fr> <38F6E77C.66C4280E@cybercable.tm.fr> <38F779E7.9C0CA04D@cybercable.tm.fr> X-SW-Source: 2000/msg00171.html Jochem Huhmann wrote: > Err, yes. That's right ;-) But from within a shell script you can > configure/request a specific file-format for a given output (as in > preferring PNG over GIF for HTML-output) You can do this in the stylesheets as well, as Sam's code snippet shows it. > > What would be nice if the stylesheet could say : > > > > "Well, this is html so I can accept JPG, JPEG, GIF, and PNG. > > The filename is "flower" so I should try "flower.jpg", > > "flower.jpeg", "flower.gif" and "flower.png". Hmmm, only > > "flower.jpeg" exists : I'll take it." > > That would be nice indeed. Although one could ask if this is in DSSSL > scope anymore. True. > DSSSL isn't a system programming language, it is for stylesheets. If > this means that you have to have all images in one format, well, convert > them ;-) ... or use my entities-based solution ;-). I also know there's an "imagelib" functionality in Jade, but I don't know if this could address this problem. -- Éric Bischoff - mailto:ebisch@cybercable.tm.fr __________________________________________________ \^o~_. .~. ______ /( __ ) /V\ Toys story \__ \/ ( V // \\ \__| (__=v /( )\ |\___/ ) ^^-^^ \_____( ) Tux Konqui \__=v __________________________________________________