I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else? First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped. \unit{1.0 meter inverse second} \lunit{1.0 meter inverse second} \unit{0.1 meter inverse second} \lunit{0.1 meter inverse second} \lunit{0 meter inverse second} And pretty, please, can we spell metre correctly soon ( sorry, people over the pond…) … Or at least have the option to...
Am 10.08.2011 um 18:50 schrieb Ian Lawrence:
I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else?
First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped.
\unit{1.0 meter inverse second}
\lunit{1.0 meter inverse second}
\unit{0.1 meter inverse second}
\lunit{0.1 meter inverse second}
\lunit{0 meter inverse second}
And pretty, please, can we spell metre correctly soon ( sorry, people over the pond…)
You should first provide a *working* minimal example! \starttext \lunit{1.0 meter inverse second} \stoptext ! Undefined control sequence. l.2 \lunit {1.0 meter inverse second}
… Or at least have the option to…
This is easy, Hans has to add only an entry for “metre” in phys-dim.lua. Wolfgang
On 10 Aug 2011, at 18:04, Wolfgang Schuster wrote:
Am 10.08.2011 um 18:50 schrieb Ian Lawrence:
I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else?
First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped.
\unit{1.0 meter inverse second}
\lunit{1.0 meter inverse second}
\unit{0.1 meter inverse second}
\lunit{0.1 meter inverse second}
\lunit{0 meter inverse second}
And pretty, please, can we spell metre correctly soon ( sorry, people over the pond…)
You should first provide a *working* minimal example!
\starttext \lunit{1.0 meter inverse second} \stoptext
! Undefined control sequence.
l.2 \lunit {1.0 meter inverse second}
… Or at least have the option to…
This is easy, Hans has to add only an entry for “metre” in phys-dim.lua.
Wolfgang
I did have a play with the units primitives (at lua level),which fixed it for me, and made some suggestions to Hans.. Along with many other people also making suggestions, I'm sure. I had quite a few suggestions to improve the units module for everyone who speaks SI. On the other front I now have a saved search to swap metre to meter, but it does no make me happy! However the leading zero is a new(to me) issue… I'm a bit surprised that no-one else found it. Ian
___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 10-8-2011 6:50, Ian Lawrence wrote:
I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else?
First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped.
\unit{1.0 meter inverse second}
\lunit{1.0 meter inverse second}
\unit{0.1 meter inverse second}
\lunit{0.1 meter inverse second}
\lunit{0 meter inverse second} i'll fix it
----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thanks Hans.. This now seems fixed. Ian On 12 Aug 2011, at 17:50, Hans Hagen wrote:
On 10-8-2011 6:50, Ian Lawrence wrote:
I don't think the /unit and /lunit command like a quantity that starts with a zero.. Any one else?
First two work fine, last one causes all kinds of grief, in lists, lines etc. The leading zero and decimal point are zapped.
\unit{1.0 meter inverse second}
\lunit{1.0 meter inverse second}
\unit{0.1 meter inverse second}
\lunit{0.1 meter inverse second}
\lunit{0 meter inverse second} i'll fix it
----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Ian Lawrence
-
Wolfgang Schuster