[NTG-context] TABLE setups

Henning Hraban Ramm texml at fiee.net
Sun Jul 29 14:43:57 CEST 2018


Am 2018-07-29 um 13:36 schrieb Henning Hraban Ramm <texml at fiee.net>:

> Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm <texml at fiee.net>:
> 
>>>> Or can I go via setups like \bTABLE[setups=mystyle] ?
>>> 
>>> \startsetups mystyle
>>> \setupTABLE[frame=off]
>>> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold]
>>> \setupTABLE[row][last] [bottomframe=on]
>>> \stopsetups
>>> \starttext
>>> 
>>> \bTABLE[setups=mystyle]
>> 
>> Thank you, that was what I wanted to know. A one-line answer would have been enough ;)
> 
> So finally I get the hang of setups, and natural tables do what I want, except:
> 
> How can I convince my TABLEs, that there should be an empty line before them??
> 
> \setupTABLE[before={\blank[2*big]}]
> doesn’t do anything.

Ok, seems like \setupTABLE doesn’t use before and after at all:

\setupTABLE[
  before=BEFORE,
  after=AFTER,
]

\starttext

\input tufte

\bTABLE
\bTR\bTD Heinz \eTD\bTD Drei \eTD\bTD Brei \eTD\eTR
\eTABLE

\input tufte

\stoptext

But the keys are in i-naturaltable.xml

Might this be a bug?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list