Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
Hi Adam, no, I hadn't tried that - even tough I had skimmed over that part way back, it now escaped me. \long\def\iconblock[#1]#2{% \ignorespaces *\startembeddedxtable[icbtable]* \startxrow \startxcell[width=17mm] \externalfigure[img/#1.svg][height=15mm,width=15mm]

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Adam Reviczky
Hi Werner, Did you try startembeddedxtable ? See Section 5 in the manual ( https://www.pragma-ade.com/general/manuals/xtables-mkiv.pdf). Adam On Tue, May 18, 2021 at 6:38 PM Werner Hennrich wrote: > Hello everyone, > > I'm trying to create an xtable from within a \def (or within a \setups) >

[NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
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]