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
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to