The following code does not hide the headings:
\setuphead[subsection][
placehead=no,
number=no,
]
% placehead=hidden breaks the counters?
\setuphead[subsubsection][
placehead=no,
number=no,
]
\starttext
\chapter{chapter}
chapter
\section{section}
section
\section{subsection}
subsection
\section{subsubsection}
subsubsection
\stoptext
The following code also does not hide the headings:
% placehead=hidden breaks the counters?
\setuphead[subsection, subsubsection][
placehead=no,
number=no,
]
\starttext
\chapter{chapter}
chapter
\section{section}
section
\section{subsection}
subsection
\section{subsubsection}
subsubsection
\stoptext
However, adding "section" makes the sub- and subsubsections hide as expected:
\setuphead[section, subsection, subsubsection][
placehead=no,
number=no,
]
\starttext
\chapter{chapter}
chapter
\section{section}
section
\section{subsection}
subsection
\section{subsubsection}
subsubsection
\stoptext
This behaviour appears to violate the principle of least astonishment.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________