Hi Hans, Currently I am using the following version under Windows: ConTeXt ver: 2003.11.26 fmt: 2003.11.27 int: english mes: english and pdfeTeXk, Version 3.141592-1.11a-2.1 The attached code-sample breaks with an error of "missing number". Because I am sure, that this kind of table compiled previously I tried the following Next to the current installation I run on a linuxbox ConTeXt ver: 2003.7.3 fmt: 2003.7.7 int: english mes: english without problem and pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1 The attached code compiles to expectation. Is there something changed in the bTABLE-eTABLE environment? Thanks for looking into it. Kind regards Willi
At 09:16 12/12/2003, you wrote:
Hi Hans,
Currently I am using the following version under Windows:
ConTeXt ver: 2003.11.26 fmt: 2003.11.27 int: english mes: english and pdfeTeXk, Version 3.141592-1.11a-2.1
The attached code-sample breaks with an error of "missing number". Because I am sure, that this kind of table compiled previously I tried the following
Next to the current installation I run on a linuxbox ConTeXt ver: 2003.7.3 fmt: 2003.7.7 int: english mes: english without problem and pdfeTeX, Version 3.14159-1.00b-pretest-20020211-2.1
The attached code compiles to expectation.
Is there something changed in the bTABLE-eTABLE environment?
only multiple split strategies were added (with repeated headlines and alternate headlines) ... i'll look into it, has to do with nested tables Hans
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}
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
participants (2)
-
Hans Hagen
-
Willi Egger