From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75000 Path: news.gmane.org!not-for-mail From: Marco Newsgroups: gmane.comp.tex.context Subject: Re: Nested floats Date: Sat, 10 Mar 2012 14:29:41 +0100 Message-ID: <20120310142941.429d6493@homerow> References: <4F5A31EB.40209@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331386197 15995 80.91.229.3 (10 Mar 2012 13:29:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Mar 2012 13:29:57 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 10 14:29:56 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S6MMq-00072K-0s for gctc-ntg-context-518@m.gmane.org; Sat, 10 Mar 2012 14:29:52 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0412ACB2D5; Sat, 10 Mar 2012 14:29:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V7lCiAAUO0hh; Sat, 10 Mar 2012 14:29:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E2CCCB2D7; Sat, 10 Mar 2012 14:29:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD161CB2D7 for ; Sat, 10 Mar 2012 14:29:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ccXpD7yxHlSh for ; Sat, 10 Mar 2012 14:29:35 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id B06A7CB2D5 for ; Sat, 10 Mar 2012 14:29:35 +0100 (CET) Original-Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2ADTY8f025523 for ; Sat, 10 Mar 2012 14:29:35 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S6MMW-0006pt-DJ for ntg-context@ntg.nl; Sat, 10 Mar 2012 14:29:32 +0100 Original-Received: from 83.68.239.197 ([83.68.239.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 14:29:32 +0100 Original-Received: from netuse by 83.68.239.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 14:29:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.68.239.197 X-Newsreader: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.3; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0UGHNtyGx - ba7e270708cd - 20120310 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75000 Archived-At: 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 ___________________________________________________________________________________