ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Directions to use the new table format.
@ 2004-12-13 18:45 Dirar BOUGATEF
  2004-12-14 10:07 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Dirar BOUGATEF @ 2004-12-13 18:45 UTC (permalink / raw)


[-- Attachment #1: Type: text/html, Size: 863 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] 3+ messages in thread

* Re: Directions to use the new table format.
  2004-12-13 18:45 Directions to use the new table format Dirar BOUGATEF
@ 2004-12-14 10:07 ` Hans Hagen
  2004-12-17 21:30   ` Dirar BOUGATEF
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2004-12-14 10:07 UTC (permalink / raw)


Dirar BOUGATEF wrote:
> Hi all,
>  
> I think that Hans is more concerned by this one ...
>  
> Having looked at all the tables ways to make tables within context, i 
> think, that learning the last one (linetable) to do things is more 
> appropriate because it summarises the functionnalities of all the others 
> (hence, less headaches and a smaller lurning curve).
>  
> Can anyone give just a few lines of directions to start using this mode 
> (The wiki example is too small to learn from) or at least some words 
> about how to use the implementation file which is  core-ltb.tex to 
> understand how things work (This is gonna be very helpful to all 
> Contexters).

very undocumented indeed; i made this module for a project long ago but never 
came to documenting it;

\starttable

\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][odd] [background=color,backgroundcolor=gray]
\setuplinetable[r][even][background=color,backgroundcolor=green]

\starttext

\showframe \showstruts

\setupcolors[state=start]

\setuppagenumbering[alternative=doublesided]\page[left]

\startlinetable
\dorecurse{5}{\NC aaa\crlf aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff} \NC \NR
\dorecurse{100}{\dorecurse{5}{\NC aaa \NC bb \NC c \NC ddddd \NC eeee \NC ff} 
\NC \NR}
\stoplinetable

\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: Directions to use the new table format.
  2004-12-14 10:07 ` Hans Hagen
@ 2004-12-17 21:30   ` Dirar BOUGATEF
  0 siblings, 0 replies; 3+ messages in thread
From: Dirar BOUGATEF @ 2004-12-17 21:30 UTC (permalink / raw)


Thanks, good example indeed ..

Just few questions :

1. What is \starttable for ? I had to take it off to make the example work 
..
2. The first page i get is empty .. Is it normal ?
3. The first page of columns i get is setup with the right columns settings 
(which is red, yellow, magenta for columns 1, 4, 6) and the right row 
settings, but the second page has only the right settings for the rows and 
not for the columns. It is the same for page 3, 4, and 5, etc.

Cheers.

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

end of thread, other threads:[~2004-12-17 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-13 18:45 Directions to use the new table format Dirar BOUGATEF
2004-12-14 10:07 ` Hans Hagen
2004-12-17 21:30   ` Dirar BOUGATEF

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).