Hi, Le vendredi 23 novembre 2012, Marcin Borkowski a écrit : > being quite happy with things like \unit{10 km/h}, once I did \unit{45 > min}, only to get "45 m" in the resulting file. I suspect that \unit > does not know about minutes; is there any way to teach it;)? One can add units with \registerunit[unit] and \setupunittext (see line 652 in phys-dim.mkiv):
\starttext \registerunit [unit] [minute=minute] \setupunittext [minute=min] \unit{45 minute} \stoptext However, I'm unable to explain what exactly \registerunit or \setupunittext does. -- Romain Diss <romain.d...@yahoo.fr> ___________________________________________________________________________________ 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 ___________________________________________________________________________________