Re: [NTG-context] Vertical padding in tables

2016-09-12 Thread Wolfgang Schuster

Jose Luis Arellano 
12. September 2016 um 19:25
Is there a way to import data from csv using tabulate?

\usemodule[database]

\startbuffer[data]
927,273,276
308,930,298
934,390,278
\stopbuffer

\defineseparatedlist
  [TESTLIST]
  [separator=comma,
   before={\starttabulate[|l|l|l|]},
   after=\stoptabulate,
   first=\NC,
   last=\NR,
   right=\NC]

\starttext
\processdatabasebuffer[TESTLIST][data]
\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
___

Re: [NTG-context] Vertical padding in tables

2016-09-12 Thread Jose Luis Arellano
Is there a way to import data from csv using tabulate?

On Mon, Sep 12, 2016, 2:22 PM Wolfgang Schuster 
wrote:

> Jose Luis Arellano 
> 12. September 2016 um 19:18
>
> Distance between text in different cells.
>
> Tabulate is a better choice in this case.
>
>
> 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
>
> ___

-- 

pp
___
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] Vertical padding in tables

2016-09-12 Thread Wolfgang Schuster

Jose Luis Arellano 
12. September 2016 um 19:18
Distance between text in different cells.

Tabulate is a better choice in this case.

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
___

Re: [NTG-context] Vertical padding in tables

2016-09-12 Thread Jose Luis Arellano
Distance between text in different cells.

On Mon, Sep 12, 2016, 9:31 AM Wolfgang Schuster 
wrote:

> Jose Luis Arellano 
> 11. September 2016 um 23:27
>
> Hi Wolfgang,
>
> Thanks for the answer, the strut option was the trick.
>
> What am trying to do is create a table without frames in body and set
> the distance between text in cells to match the distance defined in
> \setupinterlinespace.
>
> Do you mean text in a single cell or the distance between text in
> different cells?
>
>
> 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
>
> ___

-- 

pp
___
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] Vertical padding in tables

2016-09-12 Thread Wolfgang Schuster

Jose Luis Arellano 
11. September 2016 um 23:27
Hi Wolfgang,

Thanks for the answer, the strut option was the trick.

What am trying to do is create a table without frames in body and set
the distance between text in cells to match the distance defined in
\setupinterlinespace.
Do you mean text in a single cell or the distance between text in 
different cells?


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
___

Re: [NTG-context] Vertical padding in tables

2016-09-11 Thread Jose Luis Arellano
Hi Wolfgang,

Thanks for the answer, the strut option was the trick.

What am trying to do is create a table without frames in body and set
the distance between text in cells to match the distance defined in
\setupinterlinespace.
How can i do that?

Thanks.
___
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] Vertical padding in tables

2016-09-11 Thread Wolfgang Schuster

Jose Luis Arellano 
11. September 2016 um 11:58
Dear list.

How can I control vertical padding in natural tables?
You can use offset the control the padding on all four sides and loffset 
etc. for the individual sides.


\startTEXpage[offset=1cm]

\bTABLE[offset=1mm,strut=no,style={\switchtobodyfont[tt,40pt]}]
\bTR
\bTD[loffset=1cm,toffset=1cm]
A
\eTD
\bTD[roffset=1cm,toffset=1cm]
B
\eTD
\eTR
\bTR
\bTD[loffset=1cm,boffset=1cm]
C
\eTD
\bTD[roffset=1cm,boffset=1cm]
D
\eTD
\eTR
\eTABLE

\stopTEXpage

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] Vertical padding in tables

2016-09-11 Thread Jose Luis Arellano
Dear list.

How can I control vertical padding in natural tables?

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