주제가 섹션 번호 매기기를 중단했습니다.

주제가 섹션 번호 매기기를 중단했습니다.

이 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

나에게 다음과 같은 결과를 제공합니다컴파일된

컨텍스트 버전 사용: Windows 7에서 2017.06.06 13:22.

내가 여기서 뭔가 잘못하고 있는 걸까요? 아니면 알려진 문제인가요?

답변1

잘못된 구조 수준을 사용하고 있습니다. \subject의 번호가 없는 변형입니다 \section. 그래서 당신은 \subsubsubject( \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

여기에 이미지 설명을 입력하세요

하위 섹션이 더 높은 수준(이 경우 섹션)에서 카운터 재설정을 무시하도록 만들 수도 있지만 \section이는 \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

여기에 이미지 설명을 입력하세요

관련 정보