[NTG-context] xtables in setups

Andreas Schneider aksdb at gmx.de
Mon Dec 15 19:31:46 CET 2014


-----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?

(If there is no easy fix here, I'm probably going to use LUA to parse
the XML and write the TeX part from there which means I could circumvent
the need for setups.)

Best regards,
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iF4EAREIAAYFAlSPKQwACgkQIxziJkiYZxFTYAEAxsgkiYolYatIyoCPQNDlmp0f
pmSdU5HtzfCw2V2ZKs4BAK5E6Qu/ZrE5mIRD2qupwAffokpkIefMlLhzLPYuCTx7
=QetB
-----END PGP SIGNATURE-----



More information about the ntg-context mailing list