[NTG-context] \unit parser ignoring case, in some cases.

Alan Braslau alan.braslau at icloud.com
Tue Mar 14 03:10:56 CET 2023


On Mon, 13 Mar 2023 15:55:50 -0600
Gavin via ntg-context <ntg-context at ntg.nl> wrote:

> > 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?

Indeed, \unit{} should allow (and presently does not) K, C, etc.

Alan


More information about the ntg-context mailing list