[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: New WML features for gif generation (patch)



On Thu, 21 Oct 1999, Thomas Akin wrote:

> On Thu, Oct 21, 1999 at 10:00:42AM +0200, barbier@imacs.polytechnique.fr wrote:
> > 
> > Hi again,
> > 
> > did you try to define
> >    <set-var IMGDOT_BASE="images/<get-var WML_SRC_BASENAME>">
> >    <set-var BGIMG_BASE="images/<get-var WML_SRC_BASENAME>">
> >    ...
> > in your templates?
> > 
> > I believe it is what you want.
> 
> 
>       I didn't think of the example above... I was intrigued
>       by the simplicity of putting '-DIMGDIR~images' in my
>       .wmlrc or .wmkrc file.... The above would work as
>       well, but I still like the idea of only having to set
>       one variable, instead of one for every include file
>       that generates images... It just seems cleaner to
>       me. The IMGDIR variable makes life a little easier. I
>       always prefer to be able to change one variable rather
>       than make the same changes to multiple variable...

Me too ;-)

<set-var IMGDOT_BASE="$(IMGDIR)/$(WML_SRC_BASENAME)">
<set-var BGIMG_BASE="$(IMGDIR)/$(WML_SRC_BASENAME)">

Anyway your suggestion is interesting, i will think about it.

-- 
Denis Barbier
WML Maintainer

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com