Changes

Jump to navigation Jump to search
425 bytes added ,  08:47, 16 July 2018
m
Added a backslash to make the exemple compile
% Redefine the toc list to include titles
\definecombinedlist[content][title, section]
</texcode>
 
== Complete Section Numbering ==
 
You might have documents in which your sections don’t follow the structure, such as in:
 
<texcode>
\section{A}
%\subsection{B}
\subsubsection{C}
</texcode>
 
In that case, you would get <code>1 A</code> <code>1 C</code>. To enable complete section numbering, you would need in this case (using a beta after 2017.08.07 11:30):
 
<texcode>
\setuphead[subsection][criterium=all]
</texcode>
\defineoverlay[HeaderDeco][\uniqueMPgraphic{HeaderDeco}]
\define[2]\Myheader{%
\framedtext
[width= \overlaywidth,
StartPage ;
fill ((topboundary Page --cycle) enlarged(0,5mm)) shifted (0,-20mm)
withcolor \MPcolor{color:title:\namedstructureuservariable{chapter}{mycolor}} ;
StopPage ;
MyTitlePageDone.\namedstructureuservariable{chapter}{mycolor} := 1 ;
19

edits

Navigation menu