Re: Mnemonics in dvdauthor
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.multimedia.dvdauthor.user |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Tue, 02 Nov 2010 12:46:32 +0100 Elio Blanca <[email protected]> wrote: > Will dvdauthor ever support mnemonics into its xml config file? > I mean, I feel more comfortable writing: > > next_button=2k; > if (movie_lang==0) call menu entry root; > if (subs_flag==0) s2=0; > > than: > > g3=2k; > if (g0==0) call menu entry root; > if (g1==0) s2=0; I have sort of half-thought about it. Of course, one way you can get this right now is by using m4: define(`movie_lang', `g0')dnl define(`subs_flag', `g1')dnl define(`next_button', `g3')dnl etc. m4 is also a handy way of expressing repetitive constructs that you commonly encounter in these XML files. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev