ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
@ 2019-02-19 20:27 Procházka Lukáš Ing.
  2019-02-19 20:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2019-02-19 20:27 UTC (permalink / raw)
  To: ConTeXt

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
  2019-02-19 20:27 Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns Procházka Lukáš Ing.
@ 2019-02-19 20:35 ` Wolfgang Schuster
  2019-02-20  8:06   ` Procházka Lukáš Ing.
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2019-02-19 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Procházka Lukáš Ing.



Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27:
> 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

xtables don’t support row/column settings like natural table and the 
mapping doesn’t change this.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
  2019-02-19 20:35 ` Wolfgang Schuster
@ 2019-02-20  8:06   ` Procházka Lukáš Ing.
  2019-02-20  8:15     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2019-02-20  8:06 UTC (permalink / raw)
  To: ConTeXt

Hello,

On Tue, 19 Feb 2019 21:35:41 +0100, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

>
>
> Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27:
>> 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
>
> xtables don’t support row/column settings like natural table and the
> mapping doesn’t change this.
>
> Wolfgang

as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy and is used frequently, would it be possible to provide identical mechanism for xtables?

 From what I read in the manual, setting width of a column for xtable is provided by \startxcell[width=...] at the place of the first cell-in-that-column usage.

Moreover, when xtable is built in two passes, in the first pass it might take a column (width) specification(s), if provided, and keep on reading xcell specification(s), considering xcell width, if provided.

I guess to be handy to implement both \setupTABLE[c][...] and \setupxtable[c][...] in a similar way, especially when there is a simple mechanism which allows TABLE/xtable switching (ntb-to-xtb module).

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
  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.
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2019-02-20  8:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Procházka Lukáš Ing.

On 2/20/2019 9:06 AM, Procházka Lukáš Ing. wrote:
> Hello,
> 
> On Tue, 19 Feb 2019 21:35:41 +0100, Wolfgang Schuster 
> <wolfgang.schuster.lists@gmail.com> wrote:
> 
>>
>>
>> Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27:
>>> 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
>>
>> xtables don’t support row/column settings like natural table and the
>> mapping doesn’t change this.
>>
>> Wolfgang
> 
> as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy 
> and is used frequently, would it be possible to provide identical 
> mechanism for xtables?

all is popssible but it won't happen ... different approach ... you can 
use named setups here

>  From what I read in the manual, setting width of a column for xtable is 
> provided by \startxcell[width=...] at the place of the first 
> cell-in-that-column usage.
> 
> Moreover, when xtable is built in two passes, in the first pass it might 
> take a column (width) specification(s), if provided, and keep on reading 
> xcell specification(s), considering xcell width, if provided.

it already does ... even more than two passes

> I guess to be handy to implement both \setupTABLE[c][...] and 
> \setupxtable[c][...] in a similar way, especially when there is a simple 
> mechanism which allows TABLE/xtable switching (ntb-to-xtb module).

it would also be pretty inefficient

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
  2019-02-20  8:15     ` Hans Hagen
@ 2019-02-20  9:51       ` Procházka Lukáš Ing.
  2019-02-20 10:10         ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. @ 2019-02-20  9:51 UTC (permalink / raw)
  To: ConTeXt

Hello Hans,

On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen <j.hagen@xs4all.nl> wrote:

>> as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy
>> and is used frequently, would it be possible to provide identical
>> mechanism for xtables?
>
> all is possible but it won't happen ... different approach ... you can use named setups here

should you provide a MWE? - I cannot find an example of usage setups for setting column width; something like:

\startsetups MyXTable
   % How to specify the width of the first column here?
\stopsetups

\startxtable[setup=MyXTable]
...
\stopxtable

Best regards,

Lukas

> Hans


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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns
  2019-02-20  9:51       ` Procházka Lukáš Ing.
@ 2019-02-20 10:10         ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2019-02-20 10:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Procházka Lukáš Ing.

On 2/20/2019 10:51 AM, Procházka Lukáš Ing. wrote:
> Hello Hans,
> 
> On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen <j.hagen@xs4all.nl> wrote:
> 
>>> as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy
>>> and is used frequently, would it be possible to provide identical
>>> mechanism for xtables?
>>
>> all is possible but it won't happen ... different approach ... you can 
>> use named setups here
> 
> should you provide a MWE? - I cannot find an example of usage setups for 
> setting column width; something like:
> 
> \startsetups MyXTable
>    % How to specify the width of the first column here?
> \stopsetups
> 
> \startxtable[setup=MyXTable]
> ...
> \stopxtable
\setup*

did you look at the manual?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-02-20 10:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19 20:27 Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns Procházka Lukáš Ing.
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

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).