Am 18.03.10 22:28, schrieb Peter Münster:
Hello,
How can I do the setups for the inner TABLE?
I know why i works it works when you write the setup before the table
and how to solve it in the ugly way (don’t use this solution) but I can't
provide a fix for this.
\startsetups outer-table
\setupTABLE[c][last][width=5cm]
\stopsetups
\startsetups inner-table
\globalpushmacro\TBLlevel
\doglobal\decrement\TBLlevel\relax
\setupTABLE[c][last][width=2cm]
\globalpopmacro\TBLlevel
\stopsetups
\starttext
\bTABLE[setups=outer-table]
\bTR
\bTD bla \eTD
\bTD
{
%\setupTABLE[c][last][width=2cm]
\bTABLE[setups=inner-table]
\bTR
\bTD bla \eTD
\bTD problem: width is 5cm instead of 2cm \eTD
\eTR
\eTABLE
}
\eTD
\eTR
\eTABLE
\stoptext
What you can do to separate setup and code you can write
\bTD
{
\setups[inner-table]
\bTABLE
...
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
___________________________________________________________________________________