Re: [NTG-context] Multi-page tables

2006-03-20 Thread Hans Hagen
Henning Hraban Ramm wrote:
 Am 2006-03-17 um 13:23 schrieb Hans Hagen:
   
 there is a page spanning mechanism (linetables); see core-ltb for  
 more info (tables that span n * m pages) with repetition of head  
 lines and such; a bit experimental;
 

 Will linetables ever grow out of the experimental state and get some  
 documentation?
   
maybe, when i'm in the mood for making a new manual -)
 We're collecting at http://wiki.contextgarden.net/Linetable
 And could you fill in the missing information on linetables at http:// 
 wiki.contextgarden.net/Tables_Overview ?
 - horizontal and vertical lines (perhaps simply via the usual frame  
 mechanism)?
 - automatic fitting to given size?

 Sorry for not investigating myself, I don't need it at the moment but  
 like usable wiki pages...
   
having a wiki page for this is fine; it may evolve in documentation in 
the end; the problem with line tables is that i made if for usage in a 
project that was eventually quit (tex lost in a word-tex)  so there was 
no priority to  finish/document it

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


Re: [NTG-context] Multi-page tables

2006-03-18 Thread Henning Hraban Ramm
Am 2006-03-17 um 13:23 schrieb Hans Hagen:
 there is a page spanning mechanism (linetables); see core-ltb for  
 more info (tables that span n * m pages) with repetition of head  
 lines and such; a bit experimental;

Will linetables ever grow out of the experimental state and get some  
documentation?
We're collecting at http://wiki.contextgarden.net/Linetable
And could you fill in the missing information on linetables at http:// 
wiki.contextgarden.net/Tables_Overview ?
- horizontal and vertical lines (perhaps simply via the usual frame  
mechanism)?
- automatic fitting to given size?

Sorry for not investigating myself, I don't need it at the moment but  
like usable wiki pages...

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] Multi-page tables

2006-03-17 Thread Taco Hoekwater


Randall Skelton wrote:
 Just curious if anyone has any suggestions on the request below.  I've 
 searched the list archives and found similar questions but, 
 unfortunately, no answers.  The tables are going in an appendix of work 
 and generally span 5-10 pages... clever (or ugly) hacks greatly 
 appreciated!

My 'solution' would be to drop the page-spanning requirement,
because that makes the rest trivial. I am not saying that it cannot
be done, I just do not know.

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Multi-page tables

2006-03-17 Thread Hans Hagen
Taco Hoekwater wrote:
 Randall Skelton wrote:
   
 Just curious if anyone has any suggestions on the request below.  I've 
 searched the list archives and found similar questions but, 
 unfortunately, no answers.  The tables are going in an appendix of work 
 and generally span 5-10 pages... clever (or ugly) hacks greatly 
 appreciated!
 

 My 'solution' would be to drop the page-spanning requirement,
 because that makes the rest trivial. I am not saying that it cannot
 be done, I just do not know.
   
there is a page spanning mechanism (linetables); see core-ltb for more info 
(tables that span n * m pages) with repetition of head lines and such; a bit 
experimental; 

Hans 

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

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


[NTG-context] Multi-page tables

2006-03-08 Thread Randall Skelton
Hi all,

I'm having a bit of trouble getting multiple page tables to work when
also using \placetable for captions.  Essentially, I want:
  (1) Captions and the ability to reference with \in[].
  (2) Alignment within a cell at a decimal point.
  (3) Span multiple pages with header/footer.

I think I would prefer to use the standard 'TABLES' method but it
looks like item 2 is only supported in natural tables?

Below are two examples.  I don't get page breaks in either case and
the table runs off the bottom of pages 2 and 3.

Thanks,
Randall

\definepapersize
  [width=8.5in,
   height=11in]

\setupcaption[table]
  [location=top]

\starttext

\section{Testing}
This is a silly table test.

\placetable[page][tbl:sample]
  {Sample table caption goes here}
  {\start
   \switchtobodyfont[small]
   \starttablehead
   \HL
   \VL command  \NC meaning  \NC $\lambda$ (deg.) \VL\SR
   \HL
   \stoptablehead
   \starttabletail
   \HL
   \stoptabletail
   \starttables[|c|l|c|]
   \VL \tex{NC}\NC next column \NC1.15 \VL\FR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\MR
   \VL \tex{NC}\NC next column \NC1.15 \VL\MR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\MR
   \VL \tex{NC}\NC next column \NC1.15 \VL\MR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\MR
   \VL \tex{NC}\NC next column \NC1.15 \VL\MR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\MR
   \VL \tex{NC}\NC next column \NC1.15 \VL\MR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\MR
   \VL \tex{NC}\NC next column \NC1.15 \VL\MR
   \VL \tex{HL}\NC horizontal line \NC   10.20 \VL\MR
   \VL \tex{VL}\NC vertical line   \NC  -14.30 \VL\MR
   \VL \tex{NR}\NC next row\NC -100.00 \VL\MR
   \VL \tex{SR}\NC single row  \NC2.35 \VL\MR
   \VL \tex{FR}\NC first row   \NC  159.00 \VL\MR
   \VL \tex{MR}\NC middle row  \NC   -1.00 \VL\MR
   \VL \tex{LR}\NC last row\NCnr   \VL\LR
   \stoptables
   \stop}

\section{Natural Testing}
This is a silly natural table test.

\placetable[page][tbl:naturalSample]
  {Sample table caption goes here}
  {\start
   \switchtobodyfont[small]
   \bTABLE[split=repeat,
   splitmethod=a]
  % Outside border
  \setupTABLE[frame=off]
  \setupTABLE[column][first][leftframe=on]
  \setupTABLE[column][last][rightframe=on]
  \setupTABLE[row][first][topframe=on]
  \setupTABLE[row][last][bottomframe=on]
  % Heading line bottom rule
  \setupTABLE[row][first][bottomframe=on]
  % Alignment
  \setupTABLE[column][1][width=2.5cm,align=middle]
  \setupTABLE[column][2][width=2.5cm,align=right]
  
\setupTABLE[column][3][width=2.5cm,alignmentcharacter={.},aligncharacter=yes,align=middle]
  % Header
  \bTABLEhead
\bTR\bTD command \eTD\bTD meaning \eTD\bTD $\lambda$ (deg.) \eTD\eTR
  \eTABLEhead
  % Body
  \bTABLEbody
\bTR\bTD \tex{NC}\eTD\bTD next column \eTD\bTD1.15 \eTD\eTR
\bTR\bTD \tex{HL}\eTD\bTD horizontal line \eTD\bTD   10.20 \eTD\eTR
\bTR\bTD \tex{VL}\eTD\bTD vertical line   \eTD\bTD  -14.30 \eTD\eTR
\bTR\bTD \tex{NR}\eTD\bTD next row