
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
Usando la versión de contexto: 2017.06.06 13:22 en Windows 7.
¿Estoy haciendo algo mal aquí? ¿O es este un problema conocido?
Respuesta1
Está utilizando el nivel de estructura incorrecto. \subject
es la variante sin numerar de \section
. Entonces quieres usar \subsubsubject
(similar a \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
También puede hacer que la subsección ignore el reinicio del contador en un nivel superior (en este caso la sección), pero esto también ignorará \section
además 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