Hello Peter,
two more ways which work OK (my preferred ways):
----
\section{Alt 1}
\bTABLE
\setupTABLE[width=3cm, height=3cm, align={middle, lohi}] % Place setup just after \bTABLE...
\bTR \bTD bla \eTD \eTR
\eTABLE
\section{Alt 2}
\bTABLE[width=3cm, height=3cm, align={middle, lohi}] % ... or perform setup in the scope of \bTABLE
\bTR \bTD bla \eTD \eTR
\eTABLE
----
Best regards,
Lukas
On Fri, 04 Oct 2013 11:03:38 +0200, Wolfgang Schuster
Am 04.10.2013 um 10:57 schrieb Peter Münster
: Hi,
Is this wanted or a bug? If it's wanted, then why?
--8<---------------cut here---------------start------------->8--- \starttext \section{Why is the align key not used?} \setupTABLE[width=3cm, height=3cm, align={middle, lohi}] \bTABLE \bTR \bTD bla \eTD \eTR \eTABLE
\section{Workaround} \setupTABLE[each][each][width=3cm, height=3cm, align={middle, lohi}] \bTABLE \bTR \bTD bla \eTD \eTR \eTABLE \stoptext
The \bTABLE does set its own values for the align-key which overwrites your settings from \setupTABLE. The arguments in the second argument are processed at a later stage (this happens always when you use row/columns setups) and taken into account when the cells are typeset.
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038