Hello,
\externalfigure[prefix-\doifmodeelse{blub}{blub}{notblub}][width=0.5\textwidth]
does not work.
I tried some combination of \expanded, \unexpanded, \expandafter etc but
without success. In the end, I write:
\doifmodeelse{blub}{%
\externalfigure[prefix-blub][width=0.5\textwidth]}{%
� wrote:
Hello,
\externalfigure[prefix-\doifmodeelse{blub}{blub}{notblub}][width=0.5\textwidth]
does not work.
I tried some combination of \expanded, \unexpanded, \expandafter etc but
without success. In the end, I write:
\doifmodeelse{blub}{%