* \expandoneargafter?
@ 2011-03-15 11:10 Hans van der Meer
2011-03-15 11:14 ` \expandoneargafter? Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Hans van der Meer @ 2011-03-15 11:10 UTC (permalink / raw)
To: NTG ConTeXt
The ConTeXt system macro's used to contain a definition for \expandoneargafter (see Taco Hoekwater's article on this). What happened with it? It seems to have disappeared. A pity because I use it in my macros in several places.
! Undefined control sequence.
l.3 \expandoneargafter
\command{\abc}
Someone who can help?
Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \expandoneargafter?
2011-03-15 11:10 \expandoneargafter? Hans van der Meer
@ 2011-03-15 11:14 ` Wolfgang Schuster
2011-03-15 11:36 ` \expandoneargafter? Hans van der Meer
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2011-03-15 11:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 15.03.2011 um 12:10 schrieb Hans van der Meer:
> The ConTeXt system macro's used to contain a definition for \expandoneargafter (see Taco Hoekwater's article on this). What happened with it? It seems to have disappeared. A pity because I use it in my macros in several places.
>
> ! Undefined control sequence.
> l.3 \expandoneargafter
> \command{\abc}
>
> Someone who can help?
Most of the command in context are now defined as \unexpanded
and because of this the command isn’t necessary anymore.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \expandoneargafter?
2011-03-15 11:14 ` \expandoneargafter? Wolfgang Schuster
@ 2011-03-15 11:36 ` Hans van der Meer
2011-03-15 11:48 ` \expandoneargafter? Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Hans van der Meer @ 2011-03-15 11:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 15 mrt 2011, at 12:14, Wolfgang Schuster wrote:
>
> Am 15.03.2011 um 12:10 schrieb Hans van der Meer:
>
>> The ConTeXt system macro's used to contain a definition for \expandoneargafter (see Taco Hoekwater's article on this). What happened with it? It seems to have disappeared. A pity because I use it in my macros in several places.
>>
>> ! Undefined control sequence.
>> l.3 \expandoneargafter
>> \command{\abc}
>>
>> Someone who can help?
>
> Most of the command in context are now defined as \unexpanded
> and because of this the command isn’t necessary anymore.
>
I see. But I used this for my own macros and now I cannot find the definition of \expandoneargafter.
\def\comparenumericprefix#1#2{%
% remember that #1 (\firstsortelement) has to be expanded first!
\comparenumeric{\expandoneargafter\uptodelim{#1}}{\uptodelim{#2}}}
Could it be that \expandoneargafter is defined as \expandafter\expandafter\expandafter?
Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: \expandoneargafter?
2011-03-15 11:36 ` \expandoneargafter? Hans van der Meer
@ 2011-03-15 11:48 ` Wolfgang Schuster
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2011-03-15 11:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 15.03.2011 um 12:36 schrieb Hans van der Meer:
>
> On 15 mrt 2011, at 12:14, Wolfgang Schuster wrote:
>
>>
>> Am 15.03.2011 um 12:10 schrieb Hans van der Meer:
>>
>>> The ConTeXt system macro's used to contain a definition for \expandoneargafter (see Taco Hoekwater's article on this). What happened with it? It seems to have disappeared. A pity because I use it in my macros in several places.
>>>
>>> ! Undefined control sequence.
>>> l.3 \expandoneargafter
>>> \command{\abc}
>>>
>>> Someone who can help?
>>
>> Most of the command in context are now defined as \unexpanded
>> and because of this the command isn’t necessary anymore.
>>
>
> I see. But I used this for my own macros and now I cannot find the definition of \expandoneargafter.
>
> \def\comparenumericprefix#1#2{%
> % remember that #1 (\firstsortelement) has to be expanded first!
> \comparenumeric{\expandoneargafter\uptodelim{#1}}{\uptodelim{#2}}}
>
> Could it be that \expandoneargafter is defined as \expandafter\expandafter\expandafter?
syst-gen.mkii: \def\expandoneargafter #1{\@EA#1\@EA}
but now you can write
\unexpanded\def\uptodelim#1{#1}
\def\comparenumericprefix#1#2%
{\comparenumeric{\normalexpanded{\uptodelim{#1}}{...}}
and this will only expand “#1” but not \uptodelim.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-15 11:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15 11:10 \expandoneargafter? Hans van der Meer
2011-03-15 11:14 ` \expandoneargafter? Wolfgang Schuster
2011-03-15 11:36 ` \expandoneargafter? Hans van der Meer
2011-03-15 11:48 ` \expandoneargafter? Wolfgang Schuster
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).