From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27067 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: Re: XML and table interpretation Date: Mon, 10 Apr 2006 22:25:56 -0700 Organization: Die Guten Message-ID: References: <4439A3B8.9010500@wxs.nl> <443A8E5B.4060101@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144733624 3585 80.91.229.2 (11 Apr 2006 05:33:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 05:33:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 11 07:33:43 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FTBVV-0000ZR-AI for gctc-ntg-context-518@m.gmane.org; Tue, 11 Apr 2006 07:33:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CB7B1277E; Tue, 11 Apr 2006 07:33:41 +0200 (CEST) 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 29608-02; Tue, 11 Apr 2006 07:33:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4921012772; Tue, 11 Apr 2006 07:30:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80A7812772 for ; Tue, 11 Apr 2006 07:30:08 +0200 (CEST) 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 29321-04-2 for ; Tue, 11 Apr 2006 07:30:07 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 69A191276F for ; Tue, 11 Apr 2006 07:30:07 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FTBS1-0000Df-7A for ntg-context@ntg.nl; Tue, 11 Apr 2006 07:30:05 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Apr 2006 07:30:05 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Apr 2006 07:30:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 40 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.2 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:27067 Archived-At: Hans Hagen wrote: > \defineXMLnested > [tr] > [bottomframe=off,rulethickness=0.3pt] > {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}} > {\eTR} > > \defineXMLnested > [td] > [rows=1,cols=1] > {\expanded{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}} > {\eTD} > > \defineXMLnested > [table] > {\bgroup > \defineXMLsave[caption] > \defineXMLnested[header]{\bTABLEhead} {\eTABLEhead} > \defineXMLnested[body] {\bTABLEbody} {\eTABLEbody} > \placetable > [\XMLpar{table}{location}{here}] > [\XMLpar{table}{label}{unknown}] > {\XMLflush{caption}} > \bgroup > \setupTABLE[frame=off,split=repeat,splitmethod=a] > \ix\setupinterlinespace[reset,small] > \framed > [frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=1pt] > \bgroup \bTABLE[distance=10pt]} > {\eTABLE > \egroup > \egroup > \egroup} Great! No more errors! But with this solution the caption disappears ... strange. Also: breaking the table across pages doesn't work despite 'split=repeat,splitmethod=a' - do I have to call a split explicitly somewhere? Joh