On 10/22/2017 08:59 PM, Thangalin wrote:
> The following code does not hide the headings:
> [..]
> The following code also does not hide the headings:
> [...]
> However, adding "section" makes the sub- and subsubsections hide as expected:
> [...]

Hi Thangalin,

I’m afraid that it doesn’t work as you expect, because you only used
\section commands (no \subsection or \subsubsection ones).

    \setuphead[subsection][
      placehead=hidden,
      number=no]

    % placehead=hidden breaks the counters?
    \setuphead[subsubsection][
      placehead=hidden,
      number=no]

    \starttext
    \startTEXpage[offset=1em]
      \chapter{chapter}
      chapter
      \section{section}
      section
      \subsection{subsection}
      subsection
      \subsubsection{subsubsection}
      subsubsection
    \stopTEXpage
    \stoptext

> This behaviour appears to violate the principle of least astonishment.

Simple get a break, too much ConTeXt for now ;-).

Cheers,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to