On 10-9-2010 4:58, Wolfgang Schuster wrote:
Am 10.09.2010 um 10:03 schrieb Vedran Miletić:
2010/9/9 Wolfgang Schuster<schuster.wolfg...@googlemail.com>:
\textdimensionstrue
Awesome. Are there any other useful switches?
Beside \textdimension(true|false) there is \spaceddimensions(true|false)
to add a small space between dimension.
The units module has unlike many other commands and environments in context
not many parameters to change the layout and it will make more sense
to write another module for units which has these options than modifying
the existing one.
With MkIV we have a powerful tool to do this because Lua make it so easy
to parse and format numbers and units, see here:
http://bitbucket.org/wolfs/units/src/tip/files/
I actually have a mkiv variant somewhere and will pick up that thread soon.
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
___________________________________________________________________________________