On Thu, Jan 29, 2009 at 11:50 AM, Alan Stone
... how do you define myCommand so
\setuphead[chapter] [(any other parameter settings), command=\myCommand, (any other parameter settings)]
is equal to
\setuphead[chapter] [(any other parameter settings), command=, (any other parameter settings)]
i.e. with any other parameter settings remaining active.
This is not possible because ConTeXt use the \normalplacehead command by default (even for "command=," as fallback) and this is where the align key is used, with your \myCommand this \normalplacehead is repleaced and the align key and many of the others are no longer used by ConTeXt. The best thing is to key that are used in higher level macros like style, color or \numbercommand and \textcommand because they act independent of the command key. Wolfgang