\starttext

\placelist[part,chapter,section,subsection][criterium=all]

\part{first}
\chapter{alpha}
\section{a}
\section{b}
\subsection{x}
\subsection{y}
\chapter{beta}

\part{second}
\chapter{gamma}
\section{a}
\section{b}
\subsection{x}
\subsection{y}
\chapter{delta}

\stoptext
