On 8-7-2011 5:27, Ian Lawrence wrote:
Back on topic...
In starting out we often want to write out the units in full - that is
the words, not the abbreviations.
any chance of implementing these? At the moment I have (crudely, I
suspect) a large number of definitions of the kind
\define\metre{\;{\tf m}}
\define\metrew{\;{\tf metre}}
\define\kilometre{\;{\tf km}}
\define\kilometrew{\;{\tf kilometre}}
\define\millimetre{\;{\tf mm}}
\define\millimetrew{\;{\tf millimetre}}
\define\centimetre{\;{\tf cm}}
\define\centimetrew{\;{\tf centimetre}}
Which is *my way* of getting what I wanted - prior to this upgrade...
we do have \unit {10 km} and \unit {10 kilo meter} etc but currently
they expand to km
it's no big deal to have the expandable form (slight variation of the
old units mechanism) but in mkiv it would be
\defineunit[fullunit][...=yes]
and then \fullunit{10 km}
would that work out ok?
Hans
-----------------------------------------------------------------
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
___________________________________________________________________________________