[NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

Procházka Lukáš Ing. LPr at pontex.cz
Tue Feb 19 21:27:19 CET 2019


Hello,

it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup;
tested on mapping provided by "ntb-to-xtb" module:

----
\usemodule[ntb-to-xtb] \restoreTABLEfromxtable

\starttext
   \bTABLE
     \setupTABLE[c][1][width=1in] % Set 1st column width - OK with TABLE
     \bTR
       \bTD A
       \eTD
     \eTR
   \eTABLE

   \bgroup
     \mapTABLEtoxtable
     \bTABLE
       \setupTABLE[c][1][width=1in] % <- This line causes error - not recognized by xtable setup
       \bTR
         \bTD A
         \eTD
       \eTR
     \eTABLE
   \egroup
\stoptext
----

Gives:

"
...
setup           > error in line 1, namespace 'xtable', key 'c'
setup           > error in line 1, namespace 'xtable', key 'c'
setup           > error in line 1, namespace 'xtable', key 'c'
...
"

It might be useful to extend the module to understand "c" setup option as well.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ntb2Xtb.log
Type: application/octet-stream
Size: 8827 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190219/42be468d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ntb2Xtb.mkiv
Type: application/octet-stream
Size: 366 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190219/42be468d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ntb2Xtb.pdf
Type: application/pdf
Size: 5799 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190219/42be468d/attachment.pdf>


More information about the ntg-context mailing list