[NTG-context] xtables in setups

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Dec 15 20:07:58 CET 2014


> Am 15.12.2014 um 19:31 schrieb Andreas Schneider <aksdb at gmx.de>:
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi,
> 
> I'm currently setting up a xml -> pdf template for some  technical
> documentation and wanted to use xtables.
> However they don't seem to work when within a setup/xmlsetup.
> 
> Small example (without XML, for the sake of simplicity):
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> \starttext
> 
> \startsetups test
> \startxtable
>  \startxrow
>    \startxcell Foo \stopxcell
>    \startxcell Bar \stopxcell
>  \stopxrow
> \stopxtable
> \stopsetups
> 
> \setups[test]
> 
> \stoptext
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Causes:
> *
> tex error       > error on line 0 in file : ! Emergency stop
> 
> Is there anything I'm doing wrong here or did I stumble upon a bug?

You have to replace \startxtable with \startembeddedxtable (and also \stopxtable with \stopembeddedxtable).

Wolfgang


More information about the ntg-context mailing list