This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


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

Re: images in Docbook with Red Hat 6.2


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
 __________________________________________________

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