ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tables
@ 2012-06-14  8:32 Hans Hagen
  0 siblings, 0 replies; 17+ messages in thread
From: Hans Hagen @ 2012-06-14  8:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

two table mechanisms now have the textwidth (max available width) set to 
local which makes it work inside for instance text backgrounds

\starttext

\starttextbackground

     \input ward

     \bTABLE % [textwidth=local]
         \bTR
             \bTD \input ward \eTD
             \bTD \input ward \eTD
         \eTR
     \eTABLE

     \startxtable % [textwidth=local]
         \startxrow
             \startxcell \input ward \stopxcell
             \startxcell \input ward \stopxcell
         \stopxrow
     \stopxtable

\stoptextbackground

\stoptext

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* tables
@ 2012-05-17  8:11 Meer, H. van der
  0 siblings, 0 replies; 17+ messages in thread
From: Meer, H. van der @ 2012-05-17  8:11 UTC (permalink / raw)
  To: ConTeXt NTG

I started using starttable..\stoptable.

Question: How can I force the table cells to fixed dimensions, for example squares of 1cmx1cm?

I can see \setuptables[height= width= depth=] but that does not take dimensions (error Illegal unit). What it does with the numbers given is not clear to me, because the ConTeXtGarden has no explanation of its effect.

By the way, the page Command/setuptables has the bodyfont parameter occurring twice in the table.

Hans van der Meer

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2006-10-30 21:56     ` tables Aditya Mahajan
@ 2006-10-30 22:19       ` Patrick Gundlach
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick Gundlach @ 2006-10-30 22:19 UTC (permalink / raw)


Hello Aditya,

>> You can go to
>>
>> http://articles.contextgarden.net/
>>
>> and search for 'btable' there.
>
> Can this search box also be added to the main wiki page, between the
> search in wiki and search with google search boxes.

Yes. (Done) Could anybody send me a more clever (then 'articles/full
text') title for this box? 


Patrick

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2006-10-30 21:48   ` tables Patrick Gundlach
@ 2006-10-30 21:56     ` Aditya Mahajan
  2006-10-30 22:19       ` tables Patrick Gundlach
  0 siblings, 1 reply; 17+ messages in thread
From: Aditya Mahajan @ 2006-10-30 21:56 UTC (permalink / raw)
  Cc: ntg-context

Hi Patrick,

On Mon, 30 Oct 2006, Patrick Gundlach wrote:

>> whe I can get help about
>>
>> \bTABLE
>> .....
>> \eTABLE
>>
>> ?
>
> You can go to
>
> http://articles.contextgarden.net/
>
> and search for 'btable' there.

Can this search box also be added to the main wiki page, between the 
search in wiki and search with google search boxes.

Aditya

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2006-10-30  0:44 ` tables Horacio Suarez
  2006-10-30 12:15   ` tables Wolfgang Schuster
@ 2006-10-30 21:48   ` Patrick Gundlach
  2006-10-30 21:56     ` tables Aditya Mahajan
  1 sibling, 1 reply; 17+ messages in thread
From: Patrick Gundlach @ 2006-10-30 21:48 UTC (permalink / raw)


Hello,

> whe I can get help about
>
> \bTABLE
> .....
> \eTABLE
>
> ?

You can go to

http://articles.contextgarden.net/

and search for 'btable' there.

Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2006-10-30 12:15   ` tables Wolfgang Schuster
@ 2006-10-30 12:50     ` Horacio Suarez
  0 siblings, 0 replies; 17+ messages in thread
From: Horacio Suarez @ 2006-10-30 12:50 UTC (permalink / raw)


thankyou very much.

>Hi Horacio,
>
>look at the following links for information about natural tables:
>
>http://wiki.contextgarden.net/TABLE
>http://www.pragma-ade.com/general/manuals/enattab.pdf
>http://dl.contextgarden.net/myway/NaturalTables.pdf
>
>
>You can also ask more precise questions on this list.
>
>Wolfgang


>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2006-10-30  0:44 ` tables Horacio Suarez
@ 2006-10-30 12:15   ` Wolfgang Schuster
  2006-10-30 12:50     ` tables Horacio Suarez
  2006-10-30 21:48   ` tables Patrick Gundlach
  1 sibling, 1 reply; 17+ messages in thread
From: Wolfgang Schuster @ 2006-10-30 12:15 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 421 bytes --]

2006/10/30, Horacio Suarez <horaciosuarez@hotmail.com>:
>
> helo:
>
> whe I can get help about
>
> \bTABLE
> .....
> \eTABLE
>
> ?


Hi Horacio,

look at the following links for information about natural tables:

http://wiki.contextgarden.net/TABLE
http://www.pragma-ade.com/general/manuals/enattab.pdf
http://dl.contextgarden.net/myway/NaturalTables.pdf


You can also ask more precise questions on this list.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1007 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 17+ messages in thread

* tables
  2006-10-28 10:55 long paragraph in a table cell Hans Hagen
@ 2006-10-30  0:44 ` Horacio Suarez
  2006-10-30 12:15   ` tables Wolfgang Schuster
  2006-10-30 21:48   ` tables Patrick Gundlach
  0 siblings, 2 replies; 17+ messages in thread
From: Horacio Suarez @ 2006-10-30  0:44 UTC (permalink / raw)


helo:

whe I can get help about

\bTABLE
.....
\eTABLE

?

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.com/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: Tables
  2004-10-28  3:07 Tables David Arnold
@ 2004-10-28  6:48 ` Henning Hraban Ramm
  0 siblings, 0 replies; 17+ messages in thread
From: Henning Hraban Ramm @ 2004-10-28  6:48 UTC (permalink / raw)


Am 28.10.2004 um 05:07 schrieb David Arnold:
> If I want to learn to typeset tables the "Context Way," there are many
> references, some old and out dated, some new?
> Where should I start (documentation) so that I am working with tables 
> in
> Context in the most current up-to-date manner?

At the current state I guess it's best to use the HTML-style "natural 
tables", see
http://contextgarden.net/TABLE

BTW: You ask a lot of single questions; ok, it's better than send the 
whole lot in one mail, but perhaps you could have found some answers in 
the wiki and in the docs! (We can't simply write RTFM, since there is 
too much wide spread docs, but please look first at the wiki!)

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Tables
@ 2004-10-28  3:07 David Arnold
  2004-10-28  6:48 ` Tables Henning Hraban Ramm
  0 siblings, 1 reply; 17+ messages in thread
From: David Arnold @ 2004-10-28  3:07 UTC (permalink / raw)


All,

If I want to learn to typeset tables the "Context Way," there are many
references, some old and out dated, some new?

Where should I start (documentation) so that I am working with tables in
Context in the most current up-to-date manner?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2004-06-22 19:36 tables dr. Hans van der Meer
  2004-06-22 19:54 ` tables Henning Hraban Ramm
@ 2004-07-02 18:23 ` Henning Hraban Ramm
  1 sibling, 0 replies; 17+ messages in thread
From: Henning Hraban Ramm @ 2004-07-02 18:23 UTC (permalink / raw)



Am 22.06.2004 um 21:36 schrieb dr. Hans van der Meer:

> Does someone knows where there is information on the table environment 
> in ConTeXt?

I just added an overview of the different table environments to the 
Wiki:
http://members.ping.de:8062/context/show/Tables


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2004-06-22 19:36 tables dr. Hans van der Meer
@ 2004-06-22 19:54 ` Henning Hraban Ramm
  2004-07-02 18:23 ` tables Henning Hraban Ramm
  1 sibling, 0 replies; 17+ messages in thread
From: Henning Hraban Ramm @ 2004-06-22 19:54 UTC (permalink / raw)


> Does someone knows where there is information on the table environment 
> in ConTeXt?
> Also there is some mention of Wichura's manual. Is this somewhere to 
> be found on the internet?

This is a FAQ, please search the ML archive.

In short: The manual is sold with the TaBlE package.
Better try ConTeXt's newer HTML-like tables.

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 17+ messages in thread

* tables
@ 2004-06-22 19:36 dr. Hans van der Meer
  2004-06-22 19:54 ` tables Henning Hraban Ramm
  2004-07-02 18:23 ` tables Henning Hraban Ramm
  0 siblings, 2 replies; 17+ messages in thread
From: dr. Hans van der Meer @ 2004-06-22 19:36 UTC (permalink / raw)


Does someone knows where there is information on the table environment 
in ConTeXt?
I have read the intro on ConTeXt and the pamphlets from the Pragma-site 
on tabulate and btable, but there seem to be a lot more options than 
can be found in these; I encountered something like \AR etc. whose 
effects I could not figure out with some tests.

Also there is some mention of Wichura's manual. Is this somewhere to be 
found on the internet?

Thanks in advance.

Hans van der Meer

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2003-02-04 22:19 tables Roef Ragas
@ 2003-02-05  8:56 ` Hans Hagen
  0 siblings, 0 replies; 17+ messages in thread
From: Hans Hagen @ 2003-02-05  8:56 UTC (permalink / raw)


At 11:19 PM 2/4/2003 +0100, you wrote:
>For an invoice I'd like to spread some figures over the page, but I
>can't seem to find the argument to make the table use the whole of the
>page (or: adjust the width). Is there a way to adjust the size of every
>part of a row?

well hidden pointer:

www.pragma-ade.com\general\manuals\enattab.pdf

maybe this helps .

(if this graphic is a logo or so, you may try to put it in the background)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 17+ messages in thread

* tables
@ 2003-02-04 22:19 Roef Ragas
  2003-02-05  8:56 ` tables Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Roef Ragas @ 2003-02-04 22:19 UTC (permalink / raw)


For an invoice I'd like to spread some figures over the page, but I
can't seem to find the argument to make the table use the whole of the
page (or: adjust the width). Is there a way to adjust the size of every
part of a row?

Roef Ragas

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
  2002-09-21 13:17 ` tables Hans Hagen
@ 2002-09-22  9:11   ` Willi Egger
  0 siblings, 0 replies; 17+ messages in thread
From: Willi Egger @ 2002-09-22  9:11 UTC (permalink / raw)
  Cc: ntg-context

Hi,

This is a nice example! Specially I like the dorecurse construction!

Unfortunately I do not get the table head above the table on following
pages.
Do I miss something?

What I use currently:#
This is pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 (Web2c 7.3.7x)
(format=cont-en 2002.9.2)  22 SEP 2002 11:07
ConTeXt  ver: 2002.8.23  fmt: 2002.9.2  int: english  mes: english

Willi


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: tables
       [not found] <001901c260da$b6e20d00$203f4cd5@michal>
@ 2002-09-21 13:17 ` Hans Hagen
  2002-09-22  9:11   ` tables Willi Egger
  0 siblings, 1 reply; 17+ messages in thread
From: Hans Hagen @ 2002-09-21 13:17 UTC (permalink / raw)
  Cc: ntg-context

At 08:58 PM 9/20/2002 +0200, you wrote:

>Can you give me an advise?

\midaligned{\tfc Wyniki egzaminu}
                                 ^ no space here ! ! ! ! !

looks like a bug in TaBlE itself (no EndPar.. not expanded for each p) and 
so no info about height of cells

>PS. How to vertically center text in a cell?

maybe you can better use bTABLE ... which gives you more control

test file (you can specify bgcolors per cell, column, row, odd, even, etc):

\mainlanguage[pl]
\setupbodyfont[plr,10pt]
\setupwhitespace[medium]
\setuppapersize[A4][A4]
\setupcolors[state=start]
\showframe

\starttext

\midaligned{\tfc Wyniki egzaminu}

\bTABLE[split=yes]
   \setupTABLE[column][4][align={lohi,middle}]
   \bTABLEhead
     \bTR
       \bTD \bf Lp. \eTD
       \bTD \bf Waga \eTD
       \bTD \bf Odpowiedzi \eTD
       \bTD \bf Zadane pytanie \eTD
     \eTR
   \eTABLEhead
   \bTABLEbody
     \dorecurse{70}
       {\bTR
          \bTD
            \startitemize[4,packed]
            \item eeeee
            \item fffff
            \item ggggg
            \stopitemize
          \eTD
          \bTD
            xxx
          \eTD
          \bTD
            \startitemize[4,packed]
            \item eeeee
            \item fffff
            \item ggggg
            \stopitemize
          \eTD
          \bTD
            dddddddd
          \eTD
        \eTR}
   \eTABLEbody
\eTABLE

\stoptext
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-06-14  8:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14  8:32 tables Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2012-05-17  8:11 tables Meer, H. van der
2006-10-28 10:55 long paragraph in a table cell Hans Hagen
2006-10-30  0:44 ` tables Horacio Suarez
2006-10-30 12:15   ` tables Wolfgang Schuster
2006-10-30 12:50     ` tables Horacio Suarez
2006-10-30 21:48   ` tables Patrick Gundlach
2006-10-30 21:56     ` tables Aditya Mahajan
2006-10-30 22:19       ` tables Patrick Gundlach
2004-10-28  3:07 Tables David Arnold
2004-10-28  6:48 ` Tables Henning Hraban Ramm
2004-06-22 19:36 tables dr. Hans van der Meer
2004-06-22 19:54 ` tables Henning Hraban Ramm
2004-07-02 18:23 ` tables Henning Hraban Ramm
2003-02-04 22:19 tables Roef Ragas
2003-02-05  8:56 ` tables Hans Hagen
     [not found] <001901c260da$b6e20d00$203f4cd5@michal>
2002-09-21 13:17 ` tables Hans Hagen
2002-09-22  9:11   ` tables Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).