* [NTG-context] \ldot and \ldotp not working
@ 2024-09-04 3:58 Aditya Mahajan
2024-09-04 18:53 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2024-09-04 3:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Thanks,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: \ldot and \ldotp not working
2024-09-04 3:58 [NTG-context] \ldot and \ldotp not working Aditya Mahajan
@ 2024-09-04 18:53 ` Wolfgang Schuster
2024-09-04 22:10 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2024-09-04 18:53 UTC (permalink / raw)
To: mailing list for ConTeXt users, Aditya Mahajan
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: \ldot and \ldotp not working
2024-09-04 18:53 ` [NTG-context] " Wolfgang Schuster
@ 2024-09-04 22:10 ` Hans Hagen
2024-09-05 2:12 ` Aditya Mahajan
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2024-09-04 22:10 UTC (permalink / raw)
To: ntg-context
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
i need to ponder this (too late now)
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 : 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: \ldot and \ldotp not working
2024-09-04 22:10 ` Hans Hagen
@ 2024-09-05 2:12 ` Aditya Mahajan
2024-09-05 7:17 ` Hans Hagen via ntg-context
0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2024-09-05 2:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]
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
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: \ldot and \ldotp not working
2024-09-05 2:12 ` Aditya Mahajan
@ 2024-09-05 7:17 ` Hans Hagen via ntg-context
2024-09-05 13:39 ` Aditya Mahajan
0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2024-09-05 7:17 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
On 9/5/2024 4:12 AM, Aditya Mahajan wrote:
> Thank you Wolfgang and Hans. My old documents compile now, so I can wait for a proper fix.
fixed in next upload
-----------------------------------------------------------------
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 : 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: \ldot and \ldotp not working
2024-09-05 7:17 ` Hans Hagen via ntg-context
@ 2024-09-05 13:39 ` Aditya Mahajan
0 siblings, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2024-09-05 13:39 UTC (permalink / raw)
To: Hans Hagen via ntg-context
On Thu, 5 Sep 2024, Hans Hagen via ntg-context wrote:
> On 9/5/2024 4:12 AM, Aditya Mahajan wrote:
>
> > Thank you Wolfgang and Hans. My old documents compile now, so I can wait for
> > a proper fix.
> fixed in next upload
Thanks!
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-09-05 13:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-04 3:58 [NTG-context] \ldot and \ldotp not working Aditya Mahajan
2024-09-04 18:53 ` [NTG-context] " Wolfgang Schuster
2024-09-04 22:10 ` Hans Hagen
2024-09-05 2:12 ` Aditya Mahajan
2024-09-05 7:17 ` Hans Hagen via ntg-context
2024-09-05 13:39 ` Aditya Mahajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).