On Fri, Jul 28, 2000 at 01:40:45AM +0200, Josip Rodin wrote: > On Fri, Jul 28, 2000 at 12:26:27AM +0200, Denis Barbier wrote: > > > > * Templates defining complex tags have to include wml::sys::compat1 > > > > > > Um, what are tags are complex? Pardon my ignorance, I'm still rookie in > > > wml. > > > > Sure, complex (or also called container) tags are like <foo>...</foo> > > Ah, those defined with <define-container>?
Right. [...] > > Okay, i understand how it works now. These tags are defined in > > amend_*.wml and vote_*.wml. > > But some files under vote/ (e.g. howto_*.wml) include > > wml::debian::votebar without defining these tags. And magically > > <sub> was not removed during pass 2 by wml 1.7.4, whereas it is by wml > > 2.0.2 which causes a Perl syntax error. > > So, the fix is to put > > <define-tag sub>$(CUR_YEAR)</define-tag> > <define-tag current>'$(ENGLISHDIR)/vote'</define-tag> > > on top of > > howto_follow.wml > howto_proposal.wml > howto_result.wml > howto_vote.wml > > ? Sounds kinda redundant... The simplest way to do this is to add a .wmlrc at that level containing -i default.inc and put your 2 lines into default.inc Denis

