Am 22.08.2012 um 21:54 schrieb Andreas Mang <m...@imt.uni-luebeck.de>:

> Hi there,
> 
> Did / Do I miss something or is there a problem with the built-in \unit 
> command?
> 
> minimal example:
> 
> %%%% start example %%%%
> \starttext
> 10 \unit{km/h}
> \stoptext
> %%%% stop example %%%%
> 
> output:
> "10 kilometersolidushour"
> 
> ConTeXt:
> ver: 2012.08.16 22:20 MKIV  fmt: 2012.8.22

phys-dim.mkiv

%\ctxlua{
%    languages.labels.define("setupprefixtext","prefixes")%
%    languages.labels.define("setupunittext","units")%
%    languages.labels.define("setupoperatortext","operators")%
%    languages.labels.define("setupsuffixtext","suffixes")%
%}

\ctxcommand{definelabels("prefix",  "prefixes" )}
\ctxcommand{definelabels("unit",    "units"    )}
\ctxcommand{definelabels("operator","operators")}
\ctxcommand{definelabels("suffix",  "suffixes" )}

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
___________________________________________________________________________________

Reply via email to