[dev-context] next beta

Hans Hagen pragma at wxs.nl
Fri Jan 20 14:43:21 CET 2012


Hi,

new in next beta:

\enablemode[two]

\startmodeset
     [one]     {1}
     [two]     {2}
     [two]     {2}
     [three]   {3}
     [default] {?}
\stopmodeset

\startmodeset
     [one]     {1}
     [three]   {3}
     [default] {?}
\stopmodesv

\startmodeset
     [one] {
         \input tufte
     }
     [two] {
         \startmodeset
             [one]     {A}
             [two]     {B}
             [two]     {B}
             [three]   {C}
             [default] {!}
         \stopmodeset
     }
     [three] {
         \input zapf
     }
     [default] {
         \input ward
     }
\stopmodes

nicer and more efficient than nesting a lot of \doifmodeelse's

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-context mailing list