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

Re: WML wml::std::lang questions



Today you sent me mail regarding Re: WML wml::std::lang questions:

*> 
*> Tobias Oetiker writes:
*>  > Today you sent me mail regarding Re: WML wml::std::lang questions:
*>  > 
*>  > in the meantime I have been coding again. The challenge was to get graphical
*>  > stuff working with lang ... I have now created the necessary tags, but a
*>  > problem remains ... 
*> 
*> Tobias, since you are in the code anyway, I'd really like it if
*> the LANG stuff works ok even with files that have no lang tags.
*> 
*> Basically, I'm (mis) using the lang feature to release a set of pages
*> that each deal with a differing sets of product.  
*> 
*> >From my web page build makefile I define what products
*> (I.E. languages) are to be released.  Each page includes a defs.h
*> page, where I define our own tags, including a tag that expands out to
*> all the release product names.  Not every page uses this tag; but it
*> is conveniently universally available should one of my writers choose
*> to use it.
*> 
*> So, in general I'd like to just define a -o switch that is passed to
*> every invocation of wml, without worrying whether the particular wml
*> file uses that LANG.
*> 
*> Unfortunately, if there is no use of the LANG tag FOO in xx.wml,
*> the following command fails:
*> 
*> % wml --o UNDEFuFOO:xx.html xx.wml
*> ** Slice:Error: no such slice 'FOO'
*> ** WML:Break: Error in Pass 9 (rc=1).
*> 
*> I believe it should accept this with no complaints.  Perhaps a
*> --strict switch can be added to select the existing behavior.

hmmm ... I had a lot of problems including that I had to do small changes to
navbar.wml ... but now things work for me ... your problem does not occure
in my situation ...

for all those who were wondering what I am up to ... the current state of
work can be seen on http://ee-staff.ethz.ch/~oetiker/ethrat/

cheers
tobi
*> Thanks!
*> 
*> ______________________________________________________________________
*> Website META Language (WML)                www.engelschall.com/sw/wml/
*> Official Support Mailing List                   sw-wml@engelschall.com
*> Automated List Manager                       majordomo@engelschall.com
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) 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