![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hans Hagen wrote:
the problem is in a tets for presense:
\long\def\p!doifinstringelse#1#2% ##2 can be {abc} {\long\@EA\def\@EA\pp!doifinstringelse\@EA##\@EA1#1##2##3\war % expand #1 here {\unless\if##2@}% \expanded{\pp!doifinstringelse#2#1}@@\war} % expand #2 here
(here the { } spoil the arg def)
i'll provide (probably ok for this situation):
This will not work. I really did need the conditional addition, but I want to add rather weird items that would create, e.g., a commalist that looks like: \def\commalist{{{}{}},,{}{},{{},{}},{},{{}}} => {{}{}} {}{} {{},{}} {} {{}} etc. On second thought, i guess this is not reasonable, so I'll try to come up with another solution to my problem. Consider the request retracted. :-)
(typically something that we can do better in luatex -)
Most definately true. Taco