> On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context <ntg-context@ntg.nl> > wrote: > > On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: >> \startformula >> \unit{3 meter} \qquad >> \unit{6 Meter} \qquad >> \unit{3 mEtEr} \qquad >> \stopformula >> Units with lowercase prefixes (c, k, n). >> \startformula >> \unit{3cm} \qquad >> \unit{6kg} \qquad >> \unit{3ns} \qquad >> \stopformula >> Units with capital letters, called with names (coulomb, kelvin, newton). >> \startformula >> \unit{3 coulomb} \qquad >> \unit{6 kelvin} \qquad >> \unit{3 newton} \qquad >> \stopformula > > you can look at phys-dim and see plenty of short and long keys and making all > case insensitive is asking for troubles
Indeed, I would like to make NONE of them case insensitive. But currently, when I register an upper case key (C=coulomb) it messes up the lower case prefix (“cm" gets typeset as C•m). I was expecting the parser to distinguish between the “C” and “c”, but it doesn’t. Is that intended? Gavin ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________