Re: [NTG-context] About "natural tables"

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
Thanks very much Wolfgang

De: ntg-context-boun...@ntg.nl  en nombre de Aditya 
Mahajan 
Enviado: miƩrcoles, 30 de octubre de 2013 17:24
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] About "natural tables"

On Wed, 30 Oct 2013, Wolfgang Schuster wrote:

>
> Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ 
> :
>
>> Hello everyone.
>> I like to compose tables using the method "Natural Tables" recommended 
>> "Contextgarden" but do not know how I have toconfigure to display only 
>> horizontal lines (not vertical). I send a minimal example:
>>
>>
>> \starttext
>> \starttable[|c|c|]
>> \HL
>> \NC Letters \NC Numbers \SR % or \NC\AR
>> \HL
>> \NC A \NC 1 \AR
>> \NC B \NC 2 \AR
>> \NC C \NC 3 \AR
>> \HL
>> \stoptable
>> \stoptext
>>
>> How I could "translate" to a "natural table " this code?
>
> \startsetups[table:rules]
>
>   \setupTABLE [start]  [frame=off,align=middle]
>   \setupTABLE [header] [topframe=on,bottomframe=on]
>
>   \setupTABLE [row] [first] [topframe=on]
>   \setupTABLE [row] [last]  [bottomframe=on]
>
> \stopsetups
>
> \starttext
>
> \bTABLE[setups=table:rules]
>   \bTABLEhead
>   \bTR
>   \bTD Letters \eTD
>   \bTD Numbers \eTD
>   \eTR
>   \eTABLEhead
>   \bTABLEbody
>   \bTR
>   \bTD A \eTD
>   \bTD 1 \eTD
>   \eTR
>   \bTR
>   \bTD B \eTD
>   \bTD 2 \eTD
>   \eTR
>   \bTR
>   \bTD C \eTD
>   \bTD 2 \eTD
>   \eTR
>   \eTABLEbody
> \eTABLE
>
> \stoptext

or

\startsetups[table:rules]
\setupTABLE [start]  [frame=off,align=middle]
\setupTABLE [row] [first] [topframe=on, bottomframe=on]
\setupTABLE [row] [last]  [bottomframe=on]
\stopsetups

\starttext

\startTABLE[setups=table:rules]
\NC Letters \NC Numbers \NC \NR
\NC A \NC 1 \NC \NR
\NC B \NC 2 \NC \NR
\NC C \NC 3 \NC \NR
\stopTABLE
\stoptext

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] About "natural tables"

2013-10-30 Thread Aditya Mahajan

On Wed, 30 Oct 2013, Wolfgang Schuster wrote:



Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ 
:


Hello everyone.
I like to compose tables using the method "Natural Tables" recommended 
"Contextgarden" but do not know how I have toconfigure to display only horizontal lines 
(not vertical). I send a minimal example:


\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
\HL
\NC A \NC 1 \AR
\NC B \NC 2 \AR
\NC C \NC 3 \AR
\HL
\stoptable
\stoptext

How I could "translate" to a "natural table " this code?


\startsetups[table:rules]

\setupTABLE [start]  [frame=off,align=middle]
\setupTABLE [header] [topframe=on,bottomframe=on]

\setupTABLE [row] [first] [topframe=on]
\setupTABLE [row] [last]  [bottomframe=on]

\stopsetups

\starttext

\bTABLE[setups=table:rules]
\bTABLEhead
\bTR
\bTD Letters \eTD
\bTD Numbers \eTD
\eTR
\eTABLEhead
\bTABLEbody
\bTR
\bTD A \eTD
\bTD 1 \eTD
\eTR
\bTR
\bTD B \eTD
\bTD 2 \eTD
\eTR
\bTR
\bTD C \eTD
\bTD 2 \eTD
\eTR
\eTABLEbody
\eTABLE

\stoptext


or

\startsetups[table:rules]
\setupTABLE [start]  [frame=off,align=middle]
\setupTABLE [row] [first] [topframe=on, bottomframe=on]
\setupTABLE [row] [last]  [bottomframe=on]
\stopsetups

\starttext

\startTABLE[setups=table:rules]
\NC Letters \NC Numbers \NC \NR
\NC A \NC 1 \NC \NR
\NC B \NC 2 \NC \NR
\NC C \NC 3 \NC \NR
\stopTABLE
\stoptext

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] About "natural tables"

2013-10-30 Thread Wolfgang Schuster

Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ 
:

> Hello everyone.
> I like to compose tables using the method "Natural Tables" recommended 
> "Contextgarden" but do not know how I have toconfigure to display only 
> horizontal lines (not vertical). I send a minimal example:
> 
> 
> \starttext
> \starttable[|c|c|]
> \HL
> \NC Letters \NC Numbers \SR % or \NC\AR
> \HL
> \NC A \NC 1 \AR
> \NC B \NC 2 \AR
> \NC C \NC 3 \AR
> \HL
> \stoptable
> \stoptext
> 
> How I could "translate" to a "natural table " this code?

\startsetups[table:rules]

\setupTABLE [start]  [frame=off,align=middle]
\setupTABLE [header] [topframe=on,bottomframe=on]

\setupTABLE [row] [first] [topframe=on]
\setupTABLE [row] [last]  [bottomframe=on]

\stopsetups

\starttext

\bTABLE[setups=table:rules]
\bTABLEhead
\bTR
\bTD Letters \eTD
\bTD Numbers \eTD
\eTR
\eTABLEhead
\bTABLEbody
\bTR
\bTD A \eTD
\bTD 1 \eTD
\eTR
\bTR
\bTD B \eTD
\bTD 2 \eTD
\eTR
\bTR
\bTD C \eTD
\bTD 2 \eTD
\eTR
\eTABLEbody
\eTABLE

\stoptext

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] About "natural tables"

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.
I like to compose tables using the method "Natural Tables" recommended 
"Contextgarden" but do not know how I have to configure to display only 
horizontal lines (not vertical). I send a minimal example:


\starttext

\starttable[|c|c|]

\HL

\NC Letters \NC Numbers \SR % or \NC\AR

\HL

\NC A \NC 1 \AR

\NC B \NC 2 \AR

\NC C \NC 3 \AR

\HL

\stoptable

\stoptext


How I could "translate" to a "natural table " this code?


Thanks to all
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___