On 9/15/2026 6:25 AM, Max Chernoff wrote:

Unicode always puts combining characters after the letter they apply to,
but that's almost always backwards from the input order. For example, if
I switch to the French keyboard, to type "â" I need to press the keys

     <◌> <a>

but the codepoint sequence that that produces is

     <U+0061> <U+0302>

Or if I switch to the Greek keyboard, to type "ώ" I need to press the keys

     <◌> <ω>

but the Unicode codepoint sequence that that produces is

     <U+03C9> <U+0301>
> > The same applies to most keyboard layouts and Unicode combining
characters, so I would say that the Unicode codepoint order has no
relation to a logical input order.

the difference is that we don't gui but look at raw input streams and there we have unicode; it is already bad enough that some applications do some reshuffling of bad input to fix inconsistencies

If you think that "\subset\not" makes more sense in TeX than
"\not\subset", then fair enough; I'm just arguing that the Unicode
codepoint order should have no bearing on how ConTeXt accepts its input.

it only has a bearing in the sense that we assume proper unicode
(But since Plain TeX uses "\not\subset", the precomposed macro is
written as "\nsubset" and not "\subsetn", and in English most people
read that symbol as "is not a subset of" are all also arguments in
favour "\not\subset".)

plain amstex latex .. whatever: all started out with 8 bit fonts and 7-8 bit input so \not was just an overlay glyph ... when more verbose names showed up it wasnt' that we got \long\right\arrow and such but funny abbreviated mixed cap crappy names instead .. so one can't really blame context for going forward and ditching \not as composer

(we left the plain < 32 ^^ math entry point beind long ago)
On Mon, 2026-09-14 at 16:20 +0200, Hans Hagen via ntg-context wrote:
redefining \not is not possible because we protect all math character
definitions against overload

On Mon, 2026-09-14 at 17:28 +0200, Hans Hagen via ntg-context wrote:
Btw, an example of undesired redefinition is \wedge in tikz which need
to be fixed there as one wants that to be math. So that's a file that
fails in the test suite.

Perhaps you should define these characters as "\frozen" (or no
protection at all) instead of "\permanent". I think that it's good that
macros like "\setuplayout", "\processcommalist", and
"\gobbleoneargument" are defined as "\permanent": those are core macros,
other core ConTeXt macros use them internally, redefining them will lead
to lots of issues, and it's easy enough for users to pick another name.

they used to be frozen till someone thought that it was a good idea to redefine \prime so that tipped us over the decision making edge (with likely more to follow)

i think Aditya is fine with it ... he is one of the context math gurus and quite capable of dealing with these matters)
But I think that users should be allowed to redefine the math characters
if they want: none of the other ConTeXt macros use them internally (and
if they do, users will want the redefined version to be used), it's not
easy for users to pick another name (a combination of muscle memory for
the old names plus the fact that "\not" or "\Delta" really are the only
sensible names for those characters), and redefining these shouldn't
ever break anything.

Users can define xDelta is they like ... we spent a lot or time and energy on updating the math machinery wrt spacing, penalties, carrying meaning, no space tweaks, whatever and are not going to sloppify the lot
The main argument against this is that it's bad style, but I don't think
that that's really a good reason to forbid it. Plus, users want to be
able to write things like

It is bad style
     \aliased\let\oldDelta=\Delta
     \define\Delta{{\color[red]{\oldDelta}}}

     \startTEXpage[offset=1ex]
         $a b \Delta c d$
     \stopTEXpage

so my worry is that they'll just start to preemptively wrap _everything_
in "\pushoverloadmode"/"\popoverloadmode" or to ignore ConTeXt's
overload warnings entirely, and then they'll miss the warnings when they
redefine important/core macros.

how many 'they' are there ... given that 'they' always tell 'them' to now use context for math (or at all) we're not loosing sleep over this .. the context audience is different from low level hacking texies i suppose

If users really have some demand for overloading shapes we can always pick up on dictionaries.

Also,

      \startTEXpage[offset=1ex]
          $a b {\red \Delta} c d$
      \stopTEXpage

makes more sense to me.
I guess my argument here is to not mix the warnings about minor
stylistic issues with the ones about important technical ones: I
certainly wouldn't recommend that users redefine "\not" to something
weird, but that's fairly harmless; whereas redefining something like
"\lettonothing" is almost certain to break things, so conflating these
two cases seems like it will just lead to confusion.

verdict: won't change

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to