On 11/19/2012 11:44 PM, Romain Diss wrote:
Hi all,

I got some problems to express powers of ten in the \unit command. See the
strange behaviour with these two minimal examples.

\starttext
\unit{10^2 meter}\\
\unit{10^{-12} second}
\stoptext

However, there is no problem with this one: \unit{1e-4 kilogram}.

Is this a bug or are these expressions not supported?

not supported .. i've added it to the upcoming beta:

\starttext

\startlines
\unit{10^12 meter}
\unit{10^{-12} second}
\unit{10^{12} second}
\unit{10e12 meter}
\unit{10e{-12} second}
\unit{10e{12} second}
\stoplines

\stoptext

needs testing as usual (and wiki adaption as well)

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to