* Gerben Wierda (Mar 11, 2005 15:50):
> I modeled this after the LaTeX sources because I had to move on:

> \newcommand{\ensuremath}[1]{\ifmmode\expandafter\FirtsOfOne%
> \else\expandafter\EnsuredMath\fi} \long\def\FirstOfOne#1{#1}
> \long\def\EnsuredMath#1{$\relax#1$}

> but is there a ConTeXt way of doing this?

\mathematics{...},
        nikolai

-- 
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to