[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Strange behaviour of <big>
- From: Denis Barbier <nospam@thanx>
- Date: Fri, 19 Mar 1999 10:29:41 +0100 (CET)
On Fri, 19 Mar 1999, Alvise Belotti wrote:
> Quoting Denis Barbier (barbier@imacs.polytechnique.fr), on Fri, Mar 19, 1999 at 08:47:08AM +0100:
> > On Thu, 18 Mar 1999, Alvise Belotti wrote:
> > [...]
> > > I've tried -D GFONT_BASE~images/%BASE, but this is not expanded.
> > [...]
> > -DGFONT_BASE~'../images/<get-var WML_SRC_FILENAME>'
> > I'm not sure whether it's a good idea, many of your files may have the
> > same name (index.wml).
> Hmmm...works, but, as you said, only for different file names.
> This could be a problem.
> On the other side, I've tried something like
> -DGFONT_BASE~'images/.<get-var WML_SRC_DIRNAME>.<get-var
> WML_SRC_BASENAME>'
> This leads to an gfont error in pass 3, but maybe this is a possible way.
> What about modify WML_SRC_FILENAME to have the directory prepended
> to the file name?
Be sure i won't do that ;o)
To understand what happens, write an empty file containing only
<get-var GFONT_BASE>
So you can see what value is used by wml. In this case, you will see
this value is images/./path/to/your/file and this directory does not
exist. You have to replace the slashes by anything else (not space,
please):
-DGFONT_BASE~'../images/<subst-in-string <get-var WML_SRC_DIRNAME> "/" ":">.<get-var WML_SRC_FILENAME>'
Denis
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com