On 7-8-2011 11:07, Wolfgang Schuster wrote:
Hi Hans,

is \ifsectionnumber really needed?

When you run the following example \setuphead sets \ifsectionnumber to false 
and this disables are heading numbers:

\setuphead[section][number=no]%\sectionnumbertrue

\starttext

\chapter{Chapter}
\section{Section}

\stoptext

it can probably go away (it's the global setting) but we have an inheritance problem (took me a while to figure it out)

\setuphead[section][number=yes]

is clashing with

\c!sectionnumber=\v!yes,

needs a bit of thinking

(as we don't use \@@xxname here we can probably add an : to currenthead without too problems; we had something similar with framed)

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to