From: "Procházka Lukáš Ing." <LPr@pontex.cz>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
Date: Tue, 19 Feb 2019 21:27:19 +0100 [thread overview]
Message-ID: <op.zxg63tfe62epfj@lpr> (raw)
[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]
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@pontex.cz
Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4
Mob.: +420 702 033 396
[-- Attachment #2: Ntb2Xtb.log --]
[-- Type: application/octet-stream, Size: 8827 bytes --]
open source > level 1, order 1, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system >
system > ConTeXt ver: 2019.01.19 12:06 MKIV beta fmt: 2019.1.24 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > beware: some patches loaded from cont-new.mkiv
close source > level 2, order 2, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > jobfiles > using path: d:\\Lukas\\ConTeXt\\Styles
system > files > jobname 'Ntb2Xtb', input 'X:\\Users\\LPr\\~\\TZTable\\001_TZ\\Ntb2Xtb.mkiv', result 'Ntb2Xtb'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name 'X://Users/LPr/~/TZTable/001_TZ/Ntb2Xtb.mkiv'
modules > 'ntb-to-xtb' is loaded
open source > level 3, order 4, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/modules/mkiv/m-ntb-to-xtb.mkiv'
interface > macros > processed mkvi file 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi', delta 28
interface > macros > processed mkvi file 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi', delta 0
open source > level 4, order 5, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi'
loading > ConTeXt Table Macros / Natural to Xtreme Tables
close source > level 4, order 5, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi'
close source > level 3, order 5, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/modules/mkiv/m-ntb-to-xtb.mkiv'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
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'
backend > xmp > using file 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source > level 2, order 5, name 'X://Users/LPr/~/TZTable/001_TZ/Ntb2Xtb.mkiv'
close source > level 1, order 5, name 'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system > start used files
system > text: Ntb2Xtb
system > stop used files
system > start used files
system > 1: filename=char-prv.lua filetype=tex format=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system > 2: filename=cont-yes.mkiv filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system > 3: filename=publ-imp-default.lua filetype=scripts foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system > 4: filename=cont-new.mkiv filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system > 5: filename=lang-exc.lua filetype=scripts foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system > 6: filename=lang-us.lua filetype=scripts foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system > 7: filename=X://Users/LPr/~/TZTable/001_TZ/Ntb2Xtb.mkiv foundname=X://Users/LPr/~/TZTable/001_TZ/Ntb2Xtb.mkiv fullname=X://Users/LPr/~/TZTable/001_TZ/Ntb2Xtb.mkiv usedmethod=direct
system > 8: filename=m-ntb-to-xtb.mkiv filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/modules/mkiv/m-ntb-to-xtb.mkiv fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/modules/mkiv/m-ntb-to-xtb.mkiv usedmethod=database
system > 9: filename=tabl-xnt.mkvi filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/tabl-xnt.mkvi usedmethod=database
system > 10: filename=lm.lfg filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system > 11: filename=lmroman12-regular filetype=otf format=otf foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf fullname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf usedmethod=database
system > 12: filename=latinmodern-math.otf filetype=opentypefonts foundname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf fullname=d:/Ctx-Beta/tex/texmf/fonts/opentype/public/lm-math/latinmodern-math.otf usedmethod=database
system > 13: filename=pdftex.map filetype=map format=map foundname=d:/Ctx-Beta/tex/texmf/fonts/map/pdftex/plain/pdftex.map fullname=d:/Ctx-Beta/tex/texmf/fonts/map/pdftex/plain/pdftex.map usedmethod=database
system > 14: filename=lpdf-pdx.xml filetype=tex foundname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database
system > stop used files
system > start commandline options
system > currentrun="1"
system > fulljobname="X:\\Users\\LPr\\~\\TZTable\\001_TZ\\Ntb2Xtb.mkiv"
system > input="X:\\Users\\LPr\\~\\TZTable\\001_TZ\\Ntb2Xtb.mkiv"
system > kindofrun="1"
system > maxnofruns="9"
system > nonstopmode="true"
system > path="d:\\Lukas\\ConTeXt\\Styles"
system > texmfbinpath="d:/Ctx-Beta/tex/texmf-mswin/bin"
system > stop commandline options
system > start commandline files
system > 1: X:\\Users\\LPr\\~\\TZTable\\001_TZ\\Ntb2Xtb.mkiv
system > stop commandline files
modules > start used modules
modules > loaded : *-ntb-to-xtb
modules > stop used modules
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: d:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.016 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 14 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 444 modules (0.217 sec), 93 tables (0.012 sec), 537 chunks (0.229 sec)
mkiv lua stats > traced context: maxstack: 1369, freed: 0, unreachable: 1369
mkiv lua stats > cleaned up reserved nodes: 58 nodes, 9 lists of 441
mkiv lua stats > node memory usage: 1 glue, 3 kern, 2 penalty, 11 attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined
mkiv lua stats > node list callback tasks: 8 unique task lists, 7 instances (re)created, 97 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > jobdata time: 0.000 seconds saving, 0.016 seconds loading
mkiv lua stats > callbacks: internal: 251, file: 328, direct: 2, late: 0, function 540, total: 1121
mkiv lua stats > randomizer: resumed with value 0.35830688476563
mkiv lua stats > loaded tex modules: 1 requested, all found (*-ntb-to-xtb)
mkiv lua stats > loaded patterns: en::1, load time: 0.000
mkiv lua stats > result saved in file: Ntb2Xtb.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats > font engine: otf 3.107, afm 1.513, tfm 1.000, 7 instances, 5 shared in backend, 1 common vectors, 4 common hashes, load time 0.158 seconds
mkiv lua stats > used platform: mswin, type: windows, binary subtree: texmf-mswin
mkiv lua stats > used engine: luatex version 1.092 with functionality level 7056, banner: this is luatex, version 1.09.2 (tex live 2018/w32tex)
mkiv lua stats > control sequences: 45274 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua 5.3, used memory: 64 MB (ctx: 63 MB), hash type: lua, hash chars: min(32,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.491 seconds, 1 processed pages, 1 shipped pages, 2.037 pages/second
[-- Attachment #3: Ntb2Xtb.mkiv --]
[-- Type: application/octet-stream, Size: 366 bytes --]
\usemodule[ntb-to-xtb] \restoreTABLEfromxtable
\starttext
\bTABLE
\setupTABLE[c][1][width=1in]
\bTR
\bTD A
\eTD
\eTR
\eTABLE
\bgroup
\mapTABLEtoxtable
\bTABLE
\setupTABLE[c][1][width=1in] % <- This line causes error
\bTR
\bTD A
\eTD
\eTR
\eTABLE
\egroup
\stoptext
[-- Attachment #4: Ntb2Xtb.pdf --]
[-- Type: application/pdf, Size: 5799 bytes --]
[-- Attachment #5: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2019-02-19 20:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-19 20:27 Procházka Lukáš Ing. [this message]
2019-02-19 20:35 ` Wolfgang Schuster
2019-02-20 8:06 ` Procházka Lukáš Ing.
2019-02-20 8:15 ` Hans Hagen
2019-02-20 9:51 ` Procházka Lukáš Ing.
2019-02-20 10:10 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.zxg63tfe62epfj@lpr \
--to=lpr@pontex.cz \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).