Am 2005-10-18 um 13:26 schrieb Peter Rolf:
\doifelsenothing{TEST}
{NOTHING part}
{SOMETHING part}%
Thank you, I could solve it with that.
I already suspected that optional-argument-of-eTX issue, there were
some error messages in other variants that I tried, that pointed in
this directi
Vit Zyka wrote:
I did not test but my opinion is:
- \if*argument is set in the \do*empty
- \bTR, \eTR has optional params so they also use \do*empty
- using test \if*argument AFTER \bTR, \bTD, ... is related to the
\bTR, ... number of arguments not to the \TestCmd.
your opinion is right
Peter Rolf wrote:
Henning Hraban Ramm wrote:
Am 2005-10-18 um 10:23 schrieb Peter Rolf:
I tried to write a macro for a TABLE line:
\def\TestCmd{\dodoubleempty\doTestCmd}
\def\doTestCmd[#1][#2]#3{\bTR\bTD #3
\iffirstargument\hfill (#1)\fi
\eTD \bTD
\ifsecondargument
3: #2 and
Henning Hraban Ramm wrote:
> Am 2005-10-18 um 10:23 schrieb Peter Rolf:
>
>>> I tried to write a macro for a TABLE line:
>>>
>>> \def\TestCmd{\dodoubleempty\doTestCmd}
>>> \def\doTestCmd[#1][#2]#3{\bTR\bTD #3
>>> \iffirstargument\hfill (#1)\fi
>>> \eTD \bTD
>>> \ifsecondargument
>>>
Henning Hraban Ramm wrote:
> Am 2005-10-18 um 10:23 schrieb Peter Rolf:
>
>>> I tried to write a macro for a TABLE line:
>>>
>>> \def\TestCmd{\dodoubleempty\doTestCmd}
>>> \def\doTestCmd[#1][#2]#3{\bTR\bTD #3
>>> \iffirstargument\hfill (#1)\fi
>>> \eTD \bTD
>>> \ifsecondargument
>>>
Am 2005-10-18 um 10:23 schrieb Peter Rolf:
I tried to write a macro for a TABLE line:
\def\TestCmd{\dodoubleempty\doTestCmd}
\def\doTestCmd[#1][#2]#3{\bTR\bTD #3
\iffirstargument\hfill (#1)\fi
\eTD \bTD
\ifsecondargument
3: #2 and #3
\else
2: only #3
\fi
Hi Hraban,
Henning Hraban Ramm wrote:
> Salute wizards!
>
> I tried to write a macro for a TABLE line:
>
> \def\TestCmd{\dodoubleempty\doTestCmd}
> \def\doTestCmd[#1][#2]#3{\bTR\bTD #3
> \iffirstargument\hfill (#1)\fi
> \eTD \bTD
> \ifsecondargument
> 3: #2 and #3
> \else
Salute wizards!
I tried to write a macro for a TABLE line:
\def\TestCmd{\dodoubleempty\doTestCmd}
\def\doTestCmd[#1][#2]#3{\bTR\bTD #3
\iffirstargument\hfill (#1)\fi
\eTD \bTD
\ifsecondargument
3: #2 and #3
\else
2: only #3
\fi
\eTD\eTR
}
But it never goe