* Fwd: help with xtreme tables [not found] <1623134641.2718.0.ref@smtp.mail.yahoo.com> @ 2021-06-08 6:44 ` Ajith R 2021-06-08 7:11 ` Ajith R 0 siblings, 1 reply; 5+ messages in thread From: Ajith R @ 2021-06-08 6:44 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 890 bytes --] Hi, I have a table with around 120 rows and 120 columns which fits an A0 paper. I want it to be split so that it fits A4 sized papers. When I tried using xtables : \startxtable[split=repeat,header=repeat] \startxtablehead ... \stopxtablehead \startxtablebody .... . . . .... \stopxtablebody the table rows get split into different pages, but the columns get cut at the right edge of the page. Is there a way to split the columns as well (repeating the first column as necessary)? Also, what is the use of grouping rows within \startxtablenext and \stopxtablenext? Note: I am just typing the outline of the code as the cell definitions is very long and hopefully my requirement is clear without the entire cell definitions. Thanks, ajith NB: Apologies if you get two copies of this email as I am sending this email a second timr as my first attempt appears to have failed [-- Attachment #1.2: Type: text/html, Size: 1379 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* help with xtreme tables 2021-06-08 6:44 ` Fwd: help with xtreme tables Ajith R @ 2021-06-08 7:11 ` Ajith R 2021-06-08 8:24 ` Hans Hagen 0 siblings, 1 reply; 5+ messages in thread From: Ajith R @ 2021-06-08 7:11 UTC (permalink / raw) To: Mailing List for ConTeXt Users Hi, I have a table with around 120 rows and 120 columns which fits an A0 paper. I want it to be split so that it fits A4 sized papers. When I tried using xtables : \startxtable[split=repeat,header=repeat] \startxtablehead ... \stopxtablehead \startxtablebody .... . . . .... \stopxtablebody the table rows get split into different pages, but the columns get cut at the right edge of the page. Is there a way to split the columns as well (repeating the first column as necessary)? Also, what is the use of grouping rows within \startxtablenext and \stopxtablenext? Note: I am just typing the outline of the code as the cell definitions is very long and hopefully my requirement is clear without the entire cell definitions. Thanks, ajith NB: Apologies if you get more than one copy of this email because I am re-sending this email as my first attempt appears to have failed ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with xtreme tables 2021-06-08 7:11 ` Ajith R @ 2021-06-08 8:24 ` Hans Hagen 2021-06-08 8:52 ` Ajith R 0 siblings, 1 reply; 5+ messages in thread From: Hans Hagen @ 2021-06-08 8:24 UTC (permalink / raw) To: Ajith R, mailing list for ConTeXt users On 6/8/2021 9:11 AM, Ajith R wrote: > > Hi, > > I have a table with around 120 rows and 120 columns which fits an A0 paper. I want it to be split so that it fits A4 sized papers. > When I tried using xtables : > > \startxtable[split=repeat,header=repeat] > \startxtablehead > ... > \stopxtablehead > \startxtablebody > .... > . > . > . > .... > \stopxtablebody > > the table rows get split into different pages, but the columns get cut at the right edge of the page. > Is there a way to split the columns as well (repeating the first column as necessary)? > > Also, what is the use of grouping rows within \startxtablenext and \stopxtablenext? > > Note: I am just typing the outline of the code as the cell definitions is very long and hopefully my requirement is clear without the entire cell definitions. better look at linetables that \setuplinetable[n=6,lines=40] % \setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red] % \setuplinetable[c][4] [width=3cm,background=color,backgroundcolor=yellow] % \setuplinetable[c][6] [width=3cm,background=color,backgroundcolor=magenta] % \setuplinetable[r][even][background=color,backgroundcolor=green] \starttext \startlinetablehead \dorecurse{2}{\dorecurse{5}{\NC head #1 ##1\NC head \NC head \NC head \NC head \NC head} \NC \NR} \stoplinetablehead \startlinetable \dorecurse{2000}{\dorecurse{5}{\NC cell #1 ##1\NC cell \NC cell \NC cell \NC cell \NC cell} \NC \NR} \stoplinetable \stoptext a rather old but okay mechanism that splits in two dimensions Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help with xtreme tables 2021-06-08 8:24 ` Hans Hagen @ 2021-06-08 8:52 ` Ajith R 0 siblings, 0 replies; 5+ messages in thread From: Ajith R @ 2021-06-08 8:52 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2123 bytes --] Hi, Thanks. I will try as you suggested ajith On Tue, Jun 8, 2021 at 1:54 PM, Hans Hagen <j.hagen@xs4all.nl> wrote: > On 6/8/2021 9:11 AM, Ajith R wrote: >> >> Hi, >> >> I have a table with around 120 rows and 120 columns which fits an A0 >> paper. I want it to be split so that it fits A4 sized papers. >> When I tried using xtables : >> >> \startxtable[split=repeat,header=repeat] >> \startxtablehead >> ... >> \stopxtablehead >> \startxtablebody >> .... >> . >> . >> . >> .... >> \stopxtablebody >> >> the table rows get split into different pages, but the columns get >> cut at the right edge of the page. >> Is there a way to split the columns as well (repeating the first >> column as necessary)? >> >> Also, what is the use of grouping rows within \startxtablenext and >> \stopxtablenext? >> >> Note: I am just typing the outline of the code as the cell >> definitions is very long and hopefully my requirement is clear >> without the entire cell definitions. > better look at linetables that > > \setuplinetable[n=6,lines=40] > > % \setuplinetable[c][1] > [width=2cm,background=color,backgroundcolor=red] > % \setuplinetable[c][4] > [width=3cm,background=color,backgroundcolor=yellow] > % \setuplinetable[c][6] > [width=3cm,background=color,backgroundcolor=magenta] > % \setuplinetable[r][even][background=color,backgroundcolor=green] > > \starttext > > \startlinetablehead > \dorecurse{2}{\dorecurse{5}{\NC head #1 ##1\NC head \NC head \NC > head \NC head \NC head} \NC \NR} > \stoplinetablehead > \startlinetable > \dorecurse{2000}{\dorecurse{5}{\NC cell #1 ##1\NC cell \NC cell > \NC cell \NC cell \NC cell} \NC \NR} > \stoplinetable > > \stoptext > > a rather old but okay mechanism that splits in two dimensions > > Hans > > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- [-- Attachment #1.2: Type: text/html, Size: 2293 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <1623092831.8905.0.ref@smtp.mail.yahoo.com>]
* help with xtreme tables [not found] <1623092831.8905.0.ref@smtp.mail.yahoo.com> @ 2021-06-07 19:07 ` Ajith R 0 siblings, 0 replies; 5+ messages in thread From: Ajith R @ 2021-06-07 19:07 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 753 bytes --] Hi, I have a table with around 120 rows and 120 columns which fits an A0 paper. I want it to be split so that it fits A4 sized papers. When I tried using xtables : \startxtable[split=repeat,header=repeat] \startxtablehead ... \stopxtablehead \startxtablebody .... . . . .... \stopxtablebody the table rows get split into different pages, but the columns get cut at the right edge of the page. Is there a way to split the columns as well (repeating the first column as necessary)? Also, what is the use of grouping rows within \startxtablenext and \stopxtablenext? Note: I am just typing the outline of the code as the cell definitions is very long and hopefully my requirement is clear without the entire cell definitions. Thanks, ajith [-- Attachment #1.2: Type: text/html, Size: 1149 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-06-08 8:52 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1623134641.2718.0.ref@smtp.mail.yahoo.com> 2021-06-08 6:44 ` Fwd: help with xtreme tables Ajith R 2021-06-08 7:11 ` Ajith R 2021-06-08 8:24 ` Hans Hagen 2021-06-08 8:52 ` Ajith R [not found] <1623092831.8905.0.ref@smtp.mail.yahoo.com> 2021-06-07 19:07 ` Ajith R
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).