Wolfgang, Thank you very much for the information. Yes, this was the trick I was looking for.
I haved added this information in the Wiki - https://wiki.contextgarden.net/TABLE#Settings_for_multiple_TABLEs_in_a_single_page Hope it is accurate enough. Thank you once again! -Ramkumar On Wed, Jun 16, 2021 at 11:41 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Ramkumar KB schrieb am 16.06.2021 um 17:33: > > Hi, > > I have 2 "natural tables" in one page and it appears that I have to > (manually) reset the columns in the second table, for those columns that I > had set specific width. See the example below - > > Maybe I am missing a trick or two - or this indeed is the desired > behavior? Thank you very much. > > \setupTABLE[r][each][height=0.5cm,frame=on] > \setupTABLE[c][each][width=0.6cm] > \setupTABLE[r][1][height=0cm,topframe=off] \setupTABLE[c][1][width=5cm] > \setupTABLE[c][4,7][width=3cm] \bTABLE ... \eTABLE > \setupTABLE[r][each][height=1.3cm,topframe=on] > \setupTABLE[c][each][width=1.7cm] > \setupTABLE[c][1,4,7][width=1.7cm] %This is to reset from the previous Table > \setupTABLE[r][1][height=0cm,topframe=off] > \setupTABLE[c][2][width=0.3cm,frame=off] \bTABLE ... \eTABLE > > > When you need a certain setup for multiple tables you can put all > \setupTABLE commands in a setups-environment and load these settings at the > start of the table, e.g. > > > \startsetups [tablesettings] > \setupTABLE [r] [1] [..,..=..,..] > \setupTABLE [c] [2] [..,..=..,..] > \stopsetups > > \bTABLE[setups=tablesettings] > ... > \eTABLE > > > When you need individual settings for each table add \start before the > setup-commands and \stop after the table, this keeps all setups local to > the current table, e.g. > > \start > > \setupTABLE [r] [1] [..,..=..,..] > \setupTABLE [c] [2] [..,..=..,..] > > \bTABLE > ... > \eTABLE > > \stop > > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ >
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________