On Thu, 5 Sep 2024, Hans Hagen wrote:

> On 9/4/2024 8:53 PM, Wolfgang Schuster wrote:
> > Aditya Mahajan schrieb am 04.09.2024 um 05:58:
> >> Hi,
> >>
> >> With context 2024.08.16 the following gives an error:
> >>
> >> \starttext
> >> $A \ldot B$
> >> \stoptext
> >>
> >> tex error       > tex error on line 2 in file ./test.tex: Control sequence
> >> expected instead of undefined
> >>
> >> <line 3.2>
> >>      $A \ldot
> >>       B$
> >>
> >> Same error with `\ldotp`.
> >>
> >> However
> >>
> >> \starttext
> >> \show\ldot
> >> \show\ldotp
> >> \stoptext
> >>
> >> gives
> >>
> >>> \ldot=permanent \Umathchar"02"00"00002E
> >>> \ldotp=permanent \Umathchar"06"00"00002E
> >>
> >> which appears correct.
> >>
> >> So, not sure what is going on. Any ideas?
> > 
> > 
> > I have no idea what's the cause for the error but I can narrow it down.
> > 
> > When you replace \ldot with it's mathchar version you can reproduce the
> > error when there is *no* space at the end, \ldots on the other hand has no
> > problem without the space.
> > 
> > \starttext
> > 
> > No space at the end of \tex{Umathchar}:
> > $\Umathchar"19"00"002026\Umathchar"19"00"002026 $ % \ldots
> > 
> > Space at the end of \tex{Umathchar}:
> > $\Umathchar"19"00"002026 \Umathchar"19"00"002026 $ % \ldots
> > 
> > No space at the end of \tex{Umathchar}:
> > % $\Umathchar"02"00"00002E\Umathchar"02"00"00002E $ % \ldot
> > 
> > Space at the end of \tex{Umathchar}:
> > $\Umathchar"02"00"00002E \Umathchar"02"00"00002E $ % \ldot
> > 
> > \stoptext
> > 
> > Wolfgang
> good analysis ... quick hack to get Aditya going ...
> 
> \appendtoks
> \amcode\commaasciicode    \zerocount
> \amcode\periodasciicode   \zerocount
> \amcode\semicolonasciicode\zerocount
> \to \everymathematics
> 

Thank you Wolfgang and Hans. My old documents compile now, so I can wait for a 
proper fix.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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