On 7-12-2011 22:27, Marco wrote:
There seems to be a bug in the new unit system for \unit{kbit}:
% bit
\unit{kilo bit} % kbit
\unit{kilobit} % kbit
\unit{kbit} % kB, shouldn't this be kbit?
Another thing:
\unit{3.4e-5} yields to 3.4⁻⁵ that's expected according to
the manual. But how to get 3.4·10⁻⁵ (either with \cot or
\times)?
indeed .. here's the fix
\unexpanded\def\digitspower#1%
{\times10\digits_raised{#1}}
\unexpanded\def\digitspowerplus#1%
{\times10\digits_raised{\digitsplus#1}}
\unexpanded\def\digitspowerminus#1%
{\times10\digits_raised{\digitsminus#1}}
-----------------------------------------------------------------
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
___________________________________________________________________________________