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

Re: Home of WML and other stuff

Today you sent me mail regarding Re: Home of WML and other stuff:

*> On Wed, 10 Mar 1999, Tobias Oetiker wrote:
*> > apropos features, I was wondering why there was no
*> > 
*> > #define something=blabla
*> > 
*> > in the ipp pass .... analog to -Dsomething=blabla
*> Tobias, maybe it's because ipp means ``Include Pre-Processor''?
*> I think Ralf added the -D option when he used ipp in conjonction with
*> wml, but he never implemented #define.
*> The -D option is more general, because variables are defined for all
*> passes. I am not sure it will be clear to the end-user that the variable
*> defined with #define becomes meaningless after the first pass, so it is
*> not a good idea (IMHO, of course :o).

this does not matter, as all these variables would be resolved after the
first pass ... however, maybe you can suggest something else ... 

what I would like to do is to setup a wml system where the basic 'look and
feel' elements are defined in a special file these would be things like
colors and names of background gif files. Now the resolution of these names
should happen in the first pass so that I can use the real values in every
subsequent pass ... 

defining these things in .wmlrc looks a bit strange to me ... I thought
having a file with 

#define PageBG=#ffffff
#define PageFG=#000000

would be nicer ... 


 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1194  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker@ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

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