O assunto altera a numeração da seção

O assunto altera a numeração da seção

compilando este MWE.

\starttext

\startchapter[title=chapter 1]
    \startsection[title=Section 1.1]
        \startsubsection[title=Section 1.1.1]
             \subject{a Subject}
        \stopsubsection
        % Another subsection which numbers incorrectly
        \startsubsection[title=Section 1.1.2]
        \stopsubsection
    \stopsection
\stopchapter

\stoptext

me dá o seguinte resultadocompilado

Usando a versão de contexto: 2017.06.06 13:22 no Windows 7.

Estou fazendo algo errado aqui? Ou este é um problema conhecido?

Responder1

Você está usando o nível de estrutura errado. \subjecté a variante não numerada de \section. Então você deseja usar \subsubsubject(semelhante ao \subsubsection.

\starttext

\startchapter[title=chapter 1]
  \startsection[title=Section 1.1]
    \startsubsection[title=Section 1.1.1]
      \subsubsubject{a Subject}
    \stopsubsection
    \startsubsection[title=Section 1.1.2]
    \stopsubsection
  \stopsection
\stopchapter

\stoptext

insira a descrição da imagem aqui

Você também pode fazer com que a subseção ignore a redefinição do contador em um nível superior (neste caso, seção), mas isso também ignorará, \sectionalém de \subject.

\defineresetset[noreset][1,1,1,0][1]
\setuphead[subsection][sectionresetset=noreset]

\starttext

\startchapter[title=chapter 1]
  \startsection[title=Section 1.1]
    \startsubsection[title=Section 1.1.1]
      \subject{a Subject}
    \stopsubsection
    \startsubsection[title=Section 1.1.2]
    \stopsubsection
  \stopsection
  \startsection[title=Section 1.1]
    \startsubsection[title=Section 1.1.1]
      \subject{a Subject}
    \stopsubsection
    \startsubsection[title=Section 1.1.2]
    \stopsubsection
  \stopsection
\stopchapter

\stoptext

insira a descrição da imagem aqui

informação relacionada