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 goes into "else" (if #2 is empty, I get "3: and #3")!
And it's only with the table commands around.
Why? What can I do?


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to