Hello,

I need to duplicate the \subsection command. The code is:

---
\definehead[SSEC][subsection]
\setuphead
  [SSEC]
  [after={ --- }]

\starttext
  \placecontent
  \hairline

  \section{A}
    aaa

    \SSEC{B}
      bbb

    \subsection{C}
      ccc
\stoptext
---

It's OK that use of \subsection and/or \SSEC command increases the subsection 
counter (i.e. I get 1.1 and 1.2).

But there is a problem - the "1.1 B" item doesn't appear in the TOC. Why? And 
how to get it in there?

Thank you in advance.

Best regards,

Lukas

Attachment: t-Head.mkiv
Description: Binary data

Attachment: t-Head.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to