\usemodule[pararef]

% Test content
\starttext

\startchapter[title={Lorem ipsum}]
\startsection[title={Dolor sit}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}

\stopsection
\startsection[title={Amet}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}

\startsubsection[title={Consetetur sadipscing}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}

\startsubsubsection[title={Elitr sed}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}
\stopsubsubsection
\startsubsubsection[title={Diam nonumy}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}
\stopsubsubsection
\stopsubsection
\startsubsection[title={Eirmod tempor}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}
\stopsubsection
\stopsection
\stopchapter
\startsection[title={Dolor sit}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}

\stopsection
\startchapter[title={Lorem ipsum}]
\startsection[title={Dolor sit}]

\dorecurse{2}{
\startParagraph
\input tufte 
\stopParagraph
}

\stopsection




\stoptext
