ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* automatic tables...
@ 2001-04-16  8:28 Willi Egger
  2001-04-17  7:22 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Willi Egger @ 2001-04-16  8:28 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hi Hans, hi all

Currently I am trying out the atomatic tables (\bTABLE ... \eTABLE).

It took me some exercise to find out why I did not get the expected
results. - I believe that there is a bug in this module. - According to my
sample file the alignment works reveresed i.e. left alignment results in
right alignment and vice versa.

In fact I saw it already in the up-to-date 2000/8 but there I was confused
by the 'background=crossed' on pages 13 and 14. - So what does
background=crossed?

Best regards Willi

[-- Attachment #2: test.pdf --]
[-- Type: application/octet-stream, Size: 14179 bytes --]

[-- Attachment #3: test.tex --]
[-- Type: application/octet-stream, Size: 1076 bytes --]

\mainlanguage[de]
\setupoutput[pdftex]
\setupbodyfont[12pt]

\starttext
\startbuffer[Zuchtstiere78]
\bTABLE
\setupTABLE	                [frame=off, leftframe=on,align=left]
\setupTABLE[column][last]   [rightframe=on]
\setupTABLE[row][first,last][topframe=on]
\setupTABLE[row][first,last][bottomframe=on]
\setupTABLE[column][first]  [align=right]
\setupTABLE[column][2,3,4]  [width=90pt]
	\bTR \bTD Kanton \eTD 	
	     \bTD[align=right] Anzahl Seren	von Stieren \eTD 
	     \bTD[align=right] Positive Stiere \eTD 	
	     \bTD[align=right] Negative Stiere \eTD \eTR
	\bTR \bTD ZH \eTD 
	     \bTD 48 \eTD 
	     \bTD 10 \eTD 
	     \bTD 38 \eTD \eTR
	\bTR \bTD BE \eTD
	     \bTD 757 \eTD	
	     \bTD 1 \eTD
	     \bTD 756 \eTD \eTR 
	\bTR \bTD LU \eTD		
	     \bTD 571 \eTD
	     \bTD 	24 \eTD
	     \bTD 547 \eTD \eTR 
	\bTR \bTD Total \eTD
	     \bTD 4'871 \eTD
	     \bTD 179 \eTD
	     \bTD 4692 \eTD\eTR 
   \eTABLE
\stopbuffer

\placetable
   [here]
   [tab:zuchtstiere78]
   {Die Untersuchung von Zuchtstieren im Herbst 1978}
   {\getbuffer[Zuchtstiere78]}

\stoptext   

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

* Re: automatic tables...
  2001-04-16  8:28 automatic tables Willi Egger
@ 2001-04-17  7:22 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2001-04-17  7:22 UTC (permalink / raw)
  Cc: ntg-context

At 10:28 AM 4/16/01 +0200, Willi Egger wrote:
>Hi Hans, hi all
>
>Currently I am trying out the atomatic tables (\bTABLE ... \eTABLE).
>
>It took me some exercise to find out why I did not get the expected
>results. - I believe that there is a bug in this module. - According to my
>sample file the alignment works reveresed i.e. left alignment results in
>right alignment and vice versa.

this is due to the fact that in context 'right' means raggedright which is
left aligned -) 

in the beta you can say \@@asraggedfalse [obscure name to prevent misuse]
and and get the opposite behavior. 

>In fact I saw it already in the up-to-date 2000/8 but there I was confused
>by the 'background=crossed' on pages 13 and 14. - So what does
>background=crossed?

see metafun manual, it's just a mp background graphic

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


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

end of thread, other threads:[~2001-04-17  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-16  8:28 automatic tables Willi Egger
2001-04-17  7:22 ` Hans Hagen

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