Jochem Huhmann wrote: > > * Eric Bischoff wrote: > > The stylesheets solution could perfectly work if there was a > > way to easily detect which extension(s) do exist for this > > file from DSSSL. > > Could this be done by looking at this from the converting > (shell-)backend that builds the command-line for jade? It knows the > output format and could pass a variable to jade via "-V variable=value", > which is available in the stylesheet then (or isn't it?). Just a fuzzy > idea... You idea is good, but this would mean that you should pass *for each screenshot* its file type while calling jade. If your doc includes, say, 120 screenshots, you can imagine the number of parameters to Jade... Well, a shell script could do the job, yes, but would jade stand so much variables ? -- Éric Bischoff - mailto:ebisch@cybercable.tm.fr __________________________________________________ \^o~_. .~. ______ /( __ ) /V\ Toys story \__ \/ ( V // \\ \__| (__=v /( )\ |\___/ ) ^^-^^ \_____( ) Tux Konqui \__=v __________________________________________________