Re: [NTG-context] Units misbehaving, I think

2011-09-14 Thread Ian Lawrence
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
 -

___
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
___


Re: [NTG-context] Units misbehaving, I think

2011-08-10 Thread Wolfgang Schuster

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


___
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
___