ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to add a new unit for \unit{} command?
@ 2013-10-16 11:57 Romain Diss
  2013-10-16 12:47 ` Marco Patzer
  0 siblings, 1 reply; 7+ messages in thread
From: Romain Diss @ 2013-10-16 11:57 UTC (permalink / raw)
  To: ntg-context

Hi all,

I want to add new units to the \unit{} command but I can't find how to do it. I 
found that one can changes existing units with the following luacode:
languages.data.labels.units.whatever = {Meter  = "retem"}
but I found nothing to add new ones.

I would like to have, for exemple:
\unit{50 milli volt per division} to  give: 50 mV/div. 

Thanks in advance.

-- 
Romain Diss
<romain.diss@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
___________________________________________________________________________________


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

end of thread, other threads:[~2013-10-18  9:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-16 11:57 How to add a new unit for \unit{} command? Romain Diss
2013-10-16 12:47 ` Marco Patzer
2013-10-16 19:21   ` Romain Diss
2013-10-17  4:40     ` Wolfgang Schuster
2013-10-18  6:35       ` Romain Diss
2013-10-18  6:39         ` Wolfgang Schuster
2013-10-18  9:27           ` Romain Diss

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).