Re: [NTG-context] problems with units

2012-11-30 Thread Romain Diss
Le jeudi 29 novembre 2012, Andreas Mang a écrit :
 Hi there,
 
 I encountered some problems with the built in units command in MKIV. I
 provide a minimal example which should demonstrate my problems. Maybe I am
 doing something wrong...

 \setupbodyfont[pagella]
 \starttext
 \unit{11,1e-1 micro mol per second} \par 
 $\unit{11,1e-1 micro mol per second}$ \par
 \unit{11,1e-1 per second} \par
 \unit{11,1e-1 / second} \par
 \stoptext
Don't know for the first two, but the last two should be replaced by:
\unit{11,1e-1 inverse second}

All the best.


-- 
Romain Diss
romain.d...@yahoo.fr
___
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
___


[NTG-context] problems with units

2012-11-29 Thread Andreas Mang
Hi there,

I encountered some problems with the built in units command in MKIV. I provide 
a minimal example which should demonstrate my problems. Maybe I am doing 
something wrong...

Cheers,
Andreas


%MINIMAL EXAMPLE%

\setupbodyfont[pagella]

\starttext
% this is just my default setting - if I comment the next line I get the same 
behaviour
\setupunits[method=3,order=reverse,separator=small] 

\unit{11,1e-1 micro mol per second} \par %no effect if I change the separator 
(holds also for cdot)

$\unit{11,1e-1 micro mol per second}$ \par %wrong spacing

\unit{11,1e-1 per second} \par % one over is not working (no unit displayed)

\unit{11,1e-1 / second} \par % one over not working  (no unit displayed)

\stoptext

%MINIMAL EXAMPLE%
___
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
___