Hello everyone,
I'm trying to create an xtable from within a \def (or within a
\setups)
but always run into "runaway error: end of file encountered"
whenever the xtable-commands are in there.
\definextable[icbtable]\setupxtable[icbtable][frame=off,top=\vskip7mm]\long\def\iconblock[#1]#2{%\ignorespaces\startxtable[icbtable]\startxrow\startxcell[width=17mm]\externalfigure[img/#1.svg][height=15mm,width=15mm]\stopxcell\startxcell #2 \stopxcell\stopxrow\stopxtable\removeunwantedspaces}
Is this simply not possible or am I doing something wrong there?
system > ConTeXt ver: 2021.05.15 22:45 LMTX fmt:
2021.5.18 int: english/english
Thank you,
Werner