Am 30.10.2013 um 17:43 schrieb MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>:

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