A complete example:

\starttext

{\em digit exponent powers - don't work}

\digits{20^-12}



\digits 123.222,00^10

\digits 123.222,00e10

\stoptext


On 10 Aug 2011, at 08:57, Ian Lawrence wrote:

Morning all,

I am trying to get together something for expressing physics appropriately and precisely.

The \units and \lunits command and I are becoming better acquainted, but now I ma having grief with with the \digits{}. In particular, exponents don't seem to function as documented in the 'my way' and I cannot find anything more up to date on the wiki.

Input:

\digits 123.222,00^10

\digits 123.222,00e10

\digits /123.222,00e-12

\digits -123.222,00e-12

\digits +123.222,00e-12

Actual output:

123 222.0010

123 222.0010

123 222.00−12

−123 222.00−12

+123 222.00−12


(in each case last two digits are superscript, as their signs)


Expected output

123.222,00 · 1010

123.222,00 · 1010

123.222,00 · 10−12

-123.222,00 · 10−12

+123.222,00 · 10−12 


(in each case last two digits are superscript, as their signs)


???Anyone?