![](https://secure.gravatar.com/avatar/e8898e9cbe0fe64edd2bd4bc3f332832.jpg?s=120&d=mm&r=g)
18 May
2021
18 May
'21
11:37 a.m.
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