> Am 15.12.2014 um 19:31 schrieb Andreas Schneider <ak...@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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________