Re: printerfriendly page version?
Shlomi Fish <[email protected]>
| Newsgroups | gmane.comp.web.wml |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 7 Jul 2003, Kai Daumiller wrote: > Shlomi Fish wrote: > > >>Well, almost. > >>I didn't figure out how to insert code when a slice is NOT defined :-( > >>Inserting something unless I explictly undefine works, but seems a bit > >>clumsy. > >> > > > > > > Use: > > > > [!SLICE: .... :] > > > > or > > > > [~SLICE: .... :] > > > > Well, > thats what I tried, but both the [!SLICE: and [~SLICE: lines did not > work, they were just added as plaintext to the output. > Is this a known problem, do I have to update WML? > Apparently, we both misinterpreted the man page. ~SLICE and friends should be given as options to the -o option _on the command line_. They are not applicable for slice names inside the text. Slice names may only be simply and unitary. So you'll have to find another solution: like another slice that's mutually exclusive to the relevant one. Regards, Shlomi Fish > The system is running perl 5.6.1 and wml 2.0.8200111281800 > > Bye > > Kai > > _____________________________________________________________________ > Website META Language (WML) http://thewml.org > User Support Mailing List [email protected] > Automated List Manager [email protected] > ---------------------------------------------------------------------- Shlomi Fish [email protected] Home Page: http://t2.technion.ac.il/~shlomif/ An apple a day will keep a doctor away. Two apples a day will keep two doctors away. Falk Fish _____________________________________________________________________ Website META Language (WML) http://thewml.org User Support Mailing List [email protected] Automated List Manager [email protected]