-----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-----
Am 15.12.2014 um 19:31 schrieb Andreas Schneider
: -----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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Am 15.12.2014 um 20:07 schrieb Wolfgang Schuster:
You have to replace \startxtable with \startembeddedxtable (and also \stopxtable with \stopembeddedxtable).
Wolfgang
Ahh, that's it. I didn't see this in the manual but was now able to find it there :-) I'll try tomorrow (back at work) if my document start to behave the way I want it to when replacing these macros :-) Thanks! Best Regards, Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlSPRFEACgkQIxziJkiYZxGFQwD/QofIqZg5YLaxvkzlXdYC+/7o K8fw28HlVXK/iFrCxN8BAKSBLUSY6qUq/3z3HwFHYjjc0MUvVaF9MysOUWojUfPF =SU39 -----END PGP SIGNATURE-----
participants (2)
-
Andreas Schneider
-
Wolfgang Schuster