On 24-11-2011 21:18, Pontus Lurcock wrote:
On Thu 24 Nov 2011, Romain Diss wrote:
- again in french, the liter symbol is lowercase l (althought the
uppercase L is also temporarly accepted).
Not only in French, but in most of Europe, I think:
http://en.wikipedia.org/wiki/Litre#Symbol . Should probably be
explicitly configurable.
there is already some basic mechanism fro that
\startluacode
languages.data.labels.units.foo = {
Liter = "l"
}
languages.data.labels.units.bar = {
Liter = "L"
}
\stopluacode
\starttext
\defineunits[lunit] \lunit{10 l/s}\par
\defineunits[funit][label=foo] \funit{10 l/s}\par
\defineunits[bunit][label=bar] \bunit{10 l/s}\par
\stoptext
-----------------------------------------------------------------
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
___________________________________________________________________________________