Am 09.03.10 17:36, schrieb Taco Hoekwater:
In general, it is advisable not to use any \setup.... commands in
horizontal mode (unless there is absolutely no way around it).
Right but for natural tables it's not so easy, maybe something like this
will help.
\def\dobTABLE[#1]%
{\pushTBL
% box not here
\bgroup
\TBLhead\emptytoks
\TBLnext\emptytoks
\TBLbody\emptytoks
\TBLfoot\emptytoks
\ifhmode\kern\zeropoint\fi % blocks \removeunwantedspaces: check
this on icare handelingsschema
\resetcharacteralign % new
\getparameters
[\@@tbl\@@tbl]
[\c!align={\v!right,\v!broad,\v!high},#1]%
\doprocesslocalsetups{\csname\@@tbl\@@tbl\c!setups\endcsname}%
\hsize\tbltbltextwidth
...
You can make your setups in the preamble with
\startsetups setups:table
\setupTABLE[...]
\stopsetups
and use them in your document with
\bTABLE[setups=setups:table]
...
\eTABLE
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
___________________________________________________________________________________