On Mon, Oct 16, 2000 at 04:58:46PM +0200, Denis Barbier wrote: > > Normal files are generated with `-o UNDEFuEN:[EMAIL PROTECTED]'. However, > > webwml/english/devel/wnpp/wnpp.wml generates HTMLs using this shebang: > > > > #!wml -o UNDEFuADOPT:being_adopted.html -o UNDEFuPACK:being_packaged.html -o > > UNDEFuORPHN:orphaned.html -o UNDEFuPROSP:prospective.html -o > > UNDEFuREQU:requested.html -o UNDEFuADPTM:rfa_bymaint.html -o > > UNDEFuADPTP:rfa_bypackage.html -o UNDEFuWITHD:withdrawn.html -o > > UNDEFuWORK:work_needing.html > > > > (line wrapped) > > > > Those `sliceterms' lack `EN', i.e. the language slice, so the tags in the > > header and the footer are left blank. Is there a way to pass two sliceterms > > to slice for one filename? > > #!wml -o UNDEFuADOPTuEN:being_adopted.html \ > -o UNDEFuPACKuEN:being_packaged.html ...
Ah, thanks... for some reason that never occured to me <blush> :) > If you need more complicated stuff, a trick is to dynamically build slice > specifications (i.e. they will be processed by slice but not wml), e.g. > > %!slice -o UNDEFuADOPTu$(LANG):being_adopted.html -o > UNDEFuPACKu$(LANG):being_packaged.html ... > > where $(LANG) (or any other variable) is replaced during pass 1. I'd use CUR_ISO_LANG but that's `en', not `EN', and the manual page says that the sliceterm can consist only of uppercase letters. :/ -- Digital Electronic Being Intended for Assassination and Nullification

