Hi, On 14 nov 2011, Vedran Miletić wrote:
the following code
\starttext 1\unit{bit / second} \stoptext
gives 1 econd It works correctly here with the latest beta. It gives "1 bit/s".
I take the opportunity of this mail to mention again another \unit problem. I copy/paste here a part of a mail I sent two weeks ago but which didn't get any answer...
It seems that some unit combinations don't work very well with the \unit macro. I have some problems with the m- (milli-) prefix but some tests reveal other strange errors.
Here is a minimal example. The entries 02, 07, 08, 09, 10, 11, 12 and 15 cause problem :
\starttext \startbuffer 00: \unit{10 mm} 01: \unit{10 km} 02: \unit{10,2 mA} 03: \unit{123 kA} 04: \unit{0,001 MA} 05: \unit{1 dal} 06: \unit{2.21 GW} 07: \unit{345 mW} 08: \unit{152.20 mHz} 09: \unit{55.5 mmol} 10: \unit{6.7 mol/l} 11: \unit{125 g/l} 12: \unit{125 g / l} 13: \unit{125 km/s} 14: \unit{125 m/s} 15: \unit{125 mA/s} 16: 1\unit{bit / second} \stopbuffer \typebuffer Result: \startlines \getbuffer \stoplines \stoptext
All the best.
--
Romain Diss