Hello all,
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 not so minimal example. The first 33 entries come from "phys-
dim.mkiv" and work well. In the entries 100 to 115 which I added, the 102,
107, 108, 109, 110, 111, 112 and 115 cause problem :
\starttext
\startbuffer
01: $10\unit{km/h}$
02: $\unit{10 km/h}$
03: \unit{km/h}
04: \unit{10 km/h}
05: \unit{10 km/h}
06: \unit{~1 km/h}
07: 10\unit{km/h}
08: 10 \unit{km/h}
09: $10 \unit{km/h}$
10: 10 \unit{KiloMeter/Hour}
11: 10 \unit{kilometer/hour}
12: 10 \unit{km/h}
13: 10 \unit{kilometer per hour}
14: 10 \unit{km / h}
15: 10 \unit{ km / h }
16: 10 \unit{km/ms2}
17: 10 \unit{meter per second}
18: 10 \unit{cubic meter}
19: 10 \unit{cubic meter per second}
21: 10 \unit{cubic meter / second}
22: $10 \unit{cubic meter / second}$
23: 30 \unit{kilo pascal }
24: 30 \unit{kilo pascal square meter / second}
25: 30 \unit{kilo pascal square meter / kelvin second}
26: \unit{30 kilo pascal square meter / kelvin second}
27: $30 \unit{kilo pascal square meter / kelvin second }$
28: 30 \unit{crap}
29: 30 \unit{AC}
30: $\frac{10 \unit{m/s}}{20 \unit{m/s}} $
31: {\ss 30 \unit{kilo pascal square meter / second kelvin}}
32: \unit{123.22^-3 km/s}
33: \unit{123.22e-3 km/s}
100: \unit{10 mm}
101: \unit{10 km}
102: \unit{10,2 mA}
103: \unit{123 kA}
104: \unit{0,001 MA}
105: \unit{1 dal}
106: \unit{2.21 GW}
107: \unit{345 mW}
108: \unit{152.20 mHz}
109: \unit{55.5 mmol}
110: \unit{6.7 mol/l}
111: \unit{125 g/l}
112: \unit{125 g / l}
113: \unit{125 km/s}
114: \unit{125 m/s}
115: \unit{125 mA/s}
\stopbuffer
\typebuffer
Result: \startlines \getbuffer \stoplines
\stoptext
Thank you for your help.
--
Romain Diss
participants (1)
-
Romain Diss