Re: [NTG-context] TABLE setups

2018-07-30 Thread Henning Hraban Ramm
Am 2018-07-30 um 16:22 schrieb kaddour kardio : > \setupTABLE[frame=off] > \setupTABLE[r][1][style=\ss] > \setupTABLE[r][2][style=\tfa\bf] > \setupTABLE[r][3][style=\ss] > \setupTABLE[c][3][align=left] > \setupTABLE[c][2][align=center] > \setupTABLE[r][4][style=\bf] % how to override the \tt in

Re: [NTG-context] TABLE setups

2018-07-30 Thread kaddour kardio
here is an example of mine \startsetups table:width \setupTABLE[align={hyphenated,normal}] \setupTABLE[column][1][width=0.3\textwidth] \setupTABLE[column][2][width=0.4\textwidth] \setupTABLE[column][3][width=0.3\textwidth] \stopsetups % table des patients \startsetups table:style

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-29 um 13:36 schrieb Henning Hraban Ramm : > Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : > Or can I go via setups like \bTABLE[setups=mystyle] ? >>> >>> \startsetups mystyle >>> \setupTABLE[frame=off] >>> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] >>>

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : >>> 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 >>

Re: [NTG-context] TABLE setups

2018-07-29 Thread Hans Hagen
On 7/28/2018 11:09 AM, Henning Hraban Ramm wrote: Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5 about \definextable and \starttexdefinition is especially interesting. I guess I need to try both. (My ConTeXt fu is always outdated, it seems...) not much

Re: [NTG-context] TABLE setups

2018-07-28 Thread Henning Hraban Ramm
Am 2018-07-28 um 03:35 schrieb Henri Menke : > On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote: >> Ahoi, >> >> I need a few different table styles and don’t think it makes sense to setup >> them every single time. >> >> Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ?

Re: [NTG-context] TABLE setups

2018-07-27 Thread Henri Menke
On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote: > Ahoi, > > I need a few different table styles and don’t think it makes sense to setup > them every single time. > > Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? > > Or can I go via setups like

[NTG-context] TABLE setups

2018-07-27 Thread Henning Hraban Ramm
Ahoi, I need a few different table styles and don’t think it makes sense to setup them every single time. Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? Or can I go via setups like \bTABLE[setups=mystyle] ? Greetlings, Hraban --- https://www.fiee.net

Re: [NTG-context] Table setups interfering with another table?

2015-09-03 Thread Mari Voipio
On Tue, Sep 1, 2015 at 2:43 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > > 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not > applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done here, > not later) but in you case - you just setup

[NTG-context] Table setups interfering with another table?

2015-09-01 Thread Mari Voipio
Hello! I have a bit of a table mystery. It seems that the setups of an earlier table interfere with the table coming after it (in the real thing there's text between the tables, but the behaviour is the same). Each table looks fine by itself, but if I compile a file with both, the second one

Re: [NTG-context] Table setups interfering with another table?

2015-09-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Mari, I can see two ways: 1. Enclose each table into \bgroup ... \egroup scope, so all \setupTABLE will be treated local (table_test.mkiv). 2. Perform all setups right after \bTABLE (table_test2.mkiv). This is not applicable in all cases (e.g. \bTABLE[width=\textwidth] must be done