On 4/26/24 19:50, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04:
>> I tried this approach (I hope it isn’t wrong):
>>
>>\starttext
>>\expanded\tolerant\def\MyCommand#_#,#_#,#_#,#_{%
>
> The \expanded modifier is wrong (I guess you meant \unexpande
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 19:04:
On 4/26/24 18:18, Wolfgang Schuster wrote:
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29:
What is wrong in my definition above?
There is nothing wrong, this is just a side effect of the scanner used
with the \do.
On 4/26/24 18:18, Wolfgang Schuster wrote:
> Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29:
>> What is wrong in my definition above?
>
> There is nothing wrong, this is just a side effect of the scanner used
> with the \do...groupempty commands. To have more control about this
> be
Pablo Rodriguez via ntg-context schrieb am 26.04.2024 um 17:29:
Dear list,
I have the following sample:
\starttext
\def\MyCommand{\doquadruplegroupempty\doMyCommand}
\def\doMyCommand#1#2#3#4{%
\iffourthargument
#4%
\orelse\ifthirdargument
#3%
\else