Changes

Jump to navigation Jump to search
answered question on how to append a dot to section numbers
How to do the same for For sections?:* 1. Section<texcode>** \def\Dot#1.{#1. Subsection}\setuphead[section][numbercommand=\Dot]\setuplist[section][numbercommand=\Dot]\setuplist[subsection][numbercommand=\Dot]\setuplist[subsubsection][numbercommand=\Dot]
\starttext \completecontent \section{abc}\subsection{def} \stoptext</texcode> <context>\def\Dot#1{#1.}\setuphead[section][numbercommand=\Dot]\setuplist[section][numbercommand=\Dot]\setuplist[subsection][numbercommand=\Dot]\setuplist[subsubsection][numbercommand=\Dot] \starttext \completecontent \section{howtoabc}\subsection{def\stoptext</context> Somewhat surprisingly, <cmd>setuphead</cmd> does have some inheritance built in, but for the table of contents, all section levels must be treated individually.

Navigation menu