ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Alternating screen/noscreen rows on table
@ 2007-01-25 21:19 John R. Culleton
  2007-01-26  0:54 ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: John R. Culleton @ 2007-01-25 21:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


I am required by my customer to alternate between white and screen backgrounds
for each row of a table for all tables, and there are lots of tables. I am 
considering adding code to each row of the table or else doing the thing in 
metafun/metapost.  Advice, anyone? 

Just to mess things up further she wants the table number etc. above the table 
and left justified. I can handle that.

The customer is not always right but the customer is always the customer. She 
who pays the bills calls the shots.  


-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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

* Re: Alternating screen/noscreen rows on table
  2007-01-25 21:19 Alternating screen/noscreen rows on table John R. Culleton
@ 2007-01-26  0:54 ` Mojca Miklavec
  2007-01-27 15:23   ` John R. Culleton
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2007-01-26  0:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/25/07, John R. Culleton wrote:
>
> I am required by my customer to alternate between white and screen backgrounds
> for each row of a table for all tables, and there are lots of tables.

Like this you mean?

\def\line{\bTR\bTD something \eTD\bTD nice \eTD\eTR}

\setupTABLE[r][even][background=screen]
\bTABLE
\dorecurse{10}{\line}
\eTABLE

> The customer is not always right

No, the custumer is always right ;)

Mojca

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

* Re: Alternating screen/noscreen rows on table
  2007-01-26  0:54 ` Mojca Miklavec
@ 2007-01-27 15:23   ` John R. Culleton
  2007-01-29 10:18     ` luigi scarso
  2007-01-29 10:34     ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: John R. Culleton @ 2007-01-27 15:23 UTC (permalink / raw)
  To: ntg-context; +Cc: Mojca Miklavec

On Thursday 25 January 2007 19:54, Mojca Miklavec wrote:
> \def\line{\bTR\bTD something \eTD\bTD nice \eTD\eTR}
>
> \setupTABLE[r][even][background=screen]
> \bTABLE
> \dorecurse{10}{\line}
> \eTABLE

Amazing! But it uses a table writing program I hadn't heard of before. I am 
printing out a wiki page on natural tables. Is there a manual somewhere?

-- 
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed. 
http://wexfordpress.com

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

* Re: Alternating screen/noscreen rows on table
  2007-01-27 15:23   ` John R. Culleton
@ 2007-01-29 10:18     ` luigi scarso
  2007-01-29 10:34     ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2007-01-29 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> Amazing! But it uses a table writing program I hadn't heard of before. I am
> printing out a wiki page on natural tables. Is there a manual somewhere?
>
Also
www.logosrl.it/context/modules/2007-01-23/core-modu.pdf
and look for core-ntb section

luigi

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

* Re: Alternating screen/noscreen rows on table
  2007-01-27 15:23   ` John R. Culleton
  2007-01-29 10:18     ` luigi scarso
@ 2007-01-29 10:34     ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2007-01-29 10:34 UTC (permalink / raw)
  To: ntg-context

On Sat, 27 Jan 2007 10:23:14 -0500
"John R. Culleton" <john@wexfordpress.com> wrote:

> On Thursday 25 January 2007 19:54, Mojca Miklavec wrote:
> > \def\line{\bTR\bTD something \eTD\bTD nice \eTD\eTR}
> >
> > \setupTABLE[r][even][background=screen]
> > \bTABLE
> > \dorecurse{10}{\line}
> > \eTABLE
> 
> Amazing! But it uses a table writing program I hadn't heard of before. I am 
> printing out a wiki page on natural tables. Is there a manual somewhere?
> 
> -- 
> John Culleton
> Able Indexing and Typesetting
> Precision typesetting (tm) at reasonable cost.
> Satisfaction guaranteed. 
> http://wexfordpress.com
> 

Hi John,

there is http://www.pragma-ade.com/general/manuals/enattab.pdf for
natural tables.

You should also look at http://wiki.contextgarden.net/TABLE.

To setup the caption (position, layout, numbering) search for
\setupcaption(s) in one of the two manuals (ma-cb-en and cont-en).

Wolfgang

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

end of thread, other threads:[~2007-01-29 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25 21:19 Alternating screen/noscreen rows on table John R. Culleton
2007-01-26  0:54 ` Mojca Miklavec
2007-01-27 15:23   ` John R. Culleton
2007-01-29 10:18     ` luigi scarso
2007-01-29 10:34     ` Wolfgang Schuster

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