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
% 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