From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58620 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: TABLE in TABLE Date: Sun, 09 May 2010 15:01:42 +0200 Message-ID: <4BE6B236.9070304@telefonica.net> References: <4BE69F92.7020906@telefonica.net> <4BE6AC73.7040608@telefonica.net> <4BE6B0A1.3090906@googlemail.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273410118 9875 80.91.229.12 (9 May 2010 13:01:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 13:01:58 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sun May 09 15:01:56 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OB68m-0007Hn-Ly for gctc-ntg-context-518@m.gmane.org; Sun, 09 May 2010 15:01:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A96CC9B59; Sun, 9 May 2010 15:01:52 +0200 (CEST) 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 9B7TGo+fZyqz; Sun, 9 May 2010 15:01:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59BBCC9B8C; Sun, 9 May 2010 15:01:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4DBBC9B8C for ; Sun, 9 May 2010 15:01:47 +0200 (CEST) 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 ME1wgerCCoCz for ; Sun, 9 May 2010 15:01:45 +0200 (CEST) Original-Received: from IMPaqm2.telefonica.net (impaqm2.telefonica.net [213.4.138.2]) by balder.ntg.nl (Postfix) with ESMTP id 4BA3CC9B59 for ; Sun, 9 May 2010 15:01:45 +0200 (CEST) Original-Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm2.telefonica.net with bizsmtp id FQDW1e04W0piX6q3MR1kyL; Sun, 09 May 2010 15:01:44 +0200 Original-Received: from [172.26.0.6] ([79.147.111.137]) by IMPmailhost1.adm.correo with BIZ IMP id FR1h1e00F2xuxSf1hR1kx7; Sun, 09 May 2010 15:01:44 +0200 X-TE-authinfo: authemail="dxpublica" |auth_email="dxpublica@telefonica.net" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc02" User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: <4BE6B0A1.3090906@googlemail.com> 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:58620 Archived-At: Thanks for the technical and simple explanation Xan. En/na Wolfgang Schuster ha escrit: > Am 09.05.10 14:37, schrieb Xan: >> Thanks all of you. >> In other kind of ideas: is it a bug? Why we need {} for embed tables >> and not for embed itemizes in itemizes for example? > > It has to do with the way how TABLE is implemented, each cell is > defined as > > \def\bTD#1\eTD{...} > > this means when TeX sees a \bTD in the input it grabs everything till > the \eTD, > let's take a loo at this example > > \bTABLE \bTR > \bTD > \bTABLE \bTR > \bTD text \eTD > \eTR \eTABLE > \eTD > \eTR \eTABLE > > The \bTD from the outer table reads everything till the \eTD from the > inner table > and what ends up as real content for the table cell where you wanted > another table is > > \bTABLE \bTR > \bTD text > > As you can see the \bTD as delimiting \eTD to end the cell and this is > what > cause the error message you get. The braces ({...}) as suggested from > the others > help in this case because the hide the \eTD from the outer table and > buffers > as suggested from Taco are another way to get around this. > > Wolfgang > ___________________________________________________________________________________ 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 ___________________________________________________________________________________