Hi Marco, I hesitate to use combinations because Table 1.1 (a) and Table 1.1 (b) are not always related to each other. But I will use combinations if everything else fails. Do you have any intuitions as to why the numbering begins at 7? I tried to not use the outermost float ("\placetable[here,none][]{}{ ") and it still started numbering at 7. I believe this is an issue with nested tables, not nested floats. Best regards, Prash On 10/03/12 14:29, Marco wrote:
On 2012-03-09 Prashanth
wrote: I need to create some small tables that are (possibly) next to each other. Though I could make text flow around tables and appear to the left or to the right of the table, I could not manage something like this: I would use combinations for that (see example below).
So I tried to use nested floats to achieve this Nesting floats is not a good idea.
(floats because I want each to have its own number and title). There are other ways to achieve that.
\setupheads [chapter] [page=no]
\startbuffer \bTABLE [frame=off, align=center] \bTR \bTD abc \eTD \bTD def \eTD \eTR \bTR \bTD ghi \eTD \bTD jkl \eTD \eTR \eTABLE \stopbuffer
\starttext
\startchapter [title=First] \startsection [title=1st Section] \startplacetable \startcombination [2*1] {\getbuffer} {(a)} {\getbuffer} {(b)} \stopcombination \stopplacetable \stopsection \stopchapter
\startchapter [title=Second] \startplacetable [location=right] \setupcombination [distance=2cm] \startcombination [2*2] {\getbuffer} {(a)} {\getbuffer} {(b)} {\getbuffer} {(c)} {\getbuffer} {(d)} \stopcombination \stopplacetable \input knuth \stopchapter
\stoptext
Marco
___________________________________________________________________________________ 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 ___________________________________________________________________________________