[NTG-context] Recommended table environment?

2011-10-28 Thread Patrick Gundlach
Hello,

I have a project where I think ConTeXt really fits well, so I have a first 
question (after a looong period of absence). Is there a recommended table 
environment? I give an example in the attached PDF. What I need:

* have influence on the column width (2 columns, both same size)
* automatic split with repeating headers
* more than one paragraph (with fill in rules) in a cell possible (but this 
simulated by invisible cells)
* some borders (not so sure about that...)


Thanks!

Patrick

(a sample is at http://i.imgur.com/ePHdn.png )

___
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] Recommended table environment?

2011-10-28 Thread Hans Hagen

On 28-10-2011 14:25, Patrick Gundlach wrote:

Hello,

I have a project where I think ConTeXt really fits well, so I have a first 
question (after a looong period of absence). Is there a recommended table 
environment? I give an example in the attached PDF. What I need:

* have influence on the column width (2 columns, both same size)
* automatic split with repeating headers
* more than one paragraph (with fill in rules) in a cell possible (but this 
simulated by invisible cells)
* some borders (not so sure about that...)


tables like the example can best be made with bTABLE .. eTABLE or with 
the new startxtable .. stopxtable mechanism


for multi par content set align=flushleft for the cell

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Recommended table environment?

2011-10-28 Thread Pontus Lurcock
On Fri 28 Oct 2011, Patrick Gundlach wrote:

 I have a project where I think ConTeXt really fits well, so I have a
 first question (after a looong period of absence). Is there a
 recommended table environment?

Indeed there is -- see http://wiki.contextgarden.net/Tables_Overview :

* Tabulate (tabulation, recommended for simple requirements)
* TABLE (natural tables, HTML tables, recommended)

I tend to use TABLE for everything, and I believe it will meet all
your stated requirements.

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