From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14289 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Struggles with the bTABLE eTABLE environment Date: Sat, 13 Dec 2003 16:30:56 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <3FDB30B0.6030804@boede.nl> References: <1071216961.1489.5.camel@linux.local> <6.0.1.1.2.20031212105417.0204a7e8@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070007010306050204070100" X-Trace: sea.gmane.org 1071329908 15472 80.91.224.253 (13 Dec 2003 15:38:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Dec 2003 15:38:28 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Dec 13 16:38:21 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AVBqX-00028j-00 for ; Sat, 13 Dec 2003 16:38:21 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 057E510B13; Sat, 13 Dec 2003 16:38:16 +0100 (MET) Original-Received: from smtpzilla5.xs4all.nl (smtpzilla5.xs4all.nl [194.109.127.141]) by ref.ntg.nl (Postfix) with ESMTP id BE4F210ACC for ; Sat, 13 Dec 2003 16:30:59 +0100 (MET) Original-Received: from boede.nl (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla5.xs4all.nl (8.12.9/8.12.9) with ESMTP id hBDFUxBC072049 for ; Sat, 13 Dec 2003 16:30:59 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: <6.0.1.1.2.20031212105417.0204a7e8@server-1> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14289 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14289 This is a multi-part message in MIME format. --------------070007010306050204070100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Hans thanks for the patch. Unfortunately it does not yet solve all struggles. When compiling the original test.tex of the previous mail, where in a single table row there is a nested table in the first cell, it works correctly. Once you add another row before the row with the nested table the nested table part fails. I would be greatful if you could investigate thie again. Best wishes Willi Hans Hagen wrote: > At 09:16 12/12/2003, you wrote: > >> Is there something changed in the bTABLE-eTABLE environment? > > > ah .. i changed the default \push \pop macro's, so now i need global > ones here: > > \def\pushTBLparameters > {\globalpushmacro\TBLlevel > \ifcase\TBLpass > % we're just after \bTABLE > \else\ifnum\TBLlevel>\zerocount > \doglobal\increment\TBLlevel\relax > \fi\fi} > > \def\popTBLparameters > {\globalpopmacro\TBLlevel} > > \def\pushTBL > {\ifnum\TBLlevel=\zerocount > \doglobal\increment\currenttbl\relax > \fi > \doglobal\increment\TBLlevel\relax > \ifnum\TBLlevel>\plusone > \resetallTABLEparameters > \globalpushmacro\colTBL > \globalpushmacro\rowTBL > \else > \global\intabletrue > \fi} > > \def\popTBL > {\ifnum\TBLlevel>\plusone > \globalpopmacro\rowTBL > \globalpopmacro\colTBL > \else > \global\intablefalse > \fi > \doglobal\decrement\TBLlevel\relax} > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context --------------070007010306050204070100 Content-Type: text/plain; name="test.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.tex" % bTABLE - eTABLE environmnet % Test file compiles with the patch of 12-12-2003 % Boxing of the nested table fales. \setupoutput[pdftex] \starttext \bTABLE %\setupTABLE[column][1,2][width=0.5\textwidth] %\setupTABLE[row][last][height=2cm] \bTR \bTD \bf Product: \eTD \bTD \bf Code: \eTD \eTR \bTR \bTD {\bf Chemische / fysische kenmerken:} \\ {%\setupTABLE[column][1,2][width=3cm] \setupTABLE[x][frame=off] \setupTABLE[y][frame=off] \bTABLE \bTR \bTD[width=2cm] Vocht: \eTD \bTD \quad \% \eTD \eTR \bTR \bTD Vet: \eTD \bTD \quad \% \eTD \eTR \bTR \bTD Eiwit \eTD \bTD \quad \% \eTD \eTR \bTR \bTD Zout \eTD \bTD \quad \% \eTD \eTR \bTR \bTD pH \eTD \bTD \quad \eTD \eTR \eTABLE} \eTD \bTD{\bf Visuele en organoleptische eigenschappen:} \\ \startitemize \item Geen beschadiging \item Geen vreemde stoffen \item Geen afwijkende geur \item Geen afwijkende kleur \stopitemize \eTD \eTR \eTABLE \stoptext --------------070007010306050204070100--