From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33073 Path: news.gmane.org!not-for-mail From: "John R. Culleton" Newsgroups: gmane.comp.tex.context Subject: Re: How to make a "natural" table float. Date: Wed, 31 Jan 2007 19:31:28 -0500 Organization: WexfordPress Message-ID: <200701311931.28886.john@wexfordpress.com> References: <200701311716.57719.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170293680 7817 80.91.229.12 (1 Feb 2007 01:34:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2007 01:34:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 01 02:34:23 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HCQqC-0001if-RU for gctc-ntg-context-518@m.gmane.org; Thu, 01 Feb 2007 02:34:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CE76169; Thu, 1 Feb 2007 02:34:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11416-01; Thu, 1 Feb 2007 02:33:54 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFAE1159; Thu, 1 Feb 2007 02:33:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A05E0159 for ; Thu, 1 Feb 2007 02:33:51 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10047-09 for ; Thu, 1 Feb 2007 02:33:46 +0100 (CET) Original-Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.192.83]) by ronja.ntg.nl (Postfix) with ESMTP id 0813FC1 for ; Thu, 1 Feb 2007 02:33:45 +0100 (CET) Original-Received: from c-68-50-60-207.hsd1.md.comcast.net ([68.50.60.207]) by comcast.net (rwcrmhc13) with ESMTP id <20070201013403m1300pft03e>; Thu, 1 Feb 2007 01:34:03 +0000 User-Agent: KMail/1.9.4 In-Reply-To: <200701311716.57719.john@wexfordpress.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:33073 Archived-At: On Wednesday 31 January 2007 17:16, John R. Culleton wrote: > My task requires alternating whate and gray bars for a table. I was happy > to jump on the Natural Table facility. Further, I want the table to "float" > in the classic TeX fashion. I don't know the exact code for this in > Context. > > This doesn't work: > -------------------------------------------------------------------- > \setupcaptions[location=high] > \placetable[here][tab:comp]{Comparison of Corporate and Government Bond > Portfolios} > \setupTABLE[r][even][background=screen] > \bTABLE > ... > \eTABLE > --------------------------------------------------------------------------- >---------- I get the message: > ! Missing { inserted. > etc. OK I solved that problem by enclosing the table in {} and now the table floats. But now I have a wierder one. The \setupcaptions[location=high] command puts the caption alongside the table instead of over it. Unfortunately the customer specifies over rather than under. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com