ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* built-in units command (mkiv) fails
@ 2012-08-22 19:54 Andreas Mang
  2012-08-26 11:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Mang @ 2012-08-22 19:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


Similar results are obtained for all examples in the "Using the built-in command" on http://wiki.contextgarden.net/Units

Cheers,
Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: built-in units command (mkiv) fails
  2012-08-22 19:54 built-in units command (mkiv) fails Andreas Mang
@ 2012-08-26 11:11 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-08-26 11:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 22.08.2012 um 21:54 schrieb Andreas Mang <mang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-26 11:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-22 19:54 built-in units command (mkiv) fails Andreas Mang
2012-08-26 11:11 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).