Hans, guess I didn't explain wel enough. Using Wolfgang's TABLE module \bTABLE \bTABLEhead \bTR \bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH \bTH STD \eTH \bTH MIN \eTH \bTH MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTC[nc=8] 1980 \eTC \eTR . .. . lots and lots and lots or rows . ... . \eTABLEbody \bTABLEfoot \bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR \eTABLEfoot \eTABLE\eTABLEbody \bTABLEfoot \bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR \eTABLEfoot \eTABLE all works fine but when I add: \placetable[here][tab:five]{Descriptive Statistics for Salaried Men \& Women} { in order to get reference, caption I lose the split and so the tables just runs OFF the end of the page suggestions PLEASE barney
Hi Barney, On 2010-12-10 <15:30:04>, barney schwartz wrote:
Hans, guess I didn't explain wel enough. Using Wolfgang's
TABLE module
\bTABLE \bTABLEhead \bTR \bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH \bTH STD \eTH \bTH MIN \eTH \bTH MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTC[nc=8] 1980 \eTC \eTR . .. . lots and lots and lots or rows
Fyi: context has a built-in way of saying “lots of”, it’s called “\dorecurse”; have look at syst-aux.mkiv for loops &c.
. ... . \eTABLEbody \bTABLEfoot \bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR \eTABLEfoot \eTABLE\eTABLEbody \bTABLEfoot \bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR \eTABLEfoot \eTABLE
all works fine
but when I add:
\placetable[here][tab:five]{Descriptive Statistics for Salaried Men \& Women} {
in order to get reference, caption I lose the split and so the tables just runs OFF the end of the page
Placetable takes an optional arg “split”: ···8<···························································· \startbuffer \bTABLE[split=repeat] \bTABLEhead \bTR \bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH \bTH STD \eTH \bTH MIN \eTH \bTH MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTC[nc=8] 1980 \eTC \eTR \dorecurse{100}{\bTR \dorecurse{8}{\bTC text \eTC} \eTR} \eTABLEbody \bTABLEfoot \bTR \bTC[nc=8]*\$=New Taiwan Dollars \eTC \eTR \eTABLEfoot \eTABLE \stopbuffer \starttext \placetable[here,split][tab:five]{Salary Stats}{\getbuffer} \stoptext ···8<···························································· Regards, Philipp PS: What table module are you referring to? This seems to be a standard natural table.
suggestions PLEASE
barney
___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
barney schwartz
-
Philipp Gesang