David Arnold wrote:
All,
This:
%output=pdf
\definehead[david][section]
If you set
\setuphead[david][ownnumber=yes]
>
\starttext
\chapter{One}
\input tufte
\section{Two}
\input tufte
then add a mandatory argument:
\david{10}{Three}
Vit
\david{Three}
\input tufte
\section{Four}
David Arnold wrote:
%output=pdf
\definehead[david][section]
\setuphead[david][ownnumber=yes]
\starttext
\chapter{One}
\input tufte
\section{Two}
\input tufte
\david{Three}
\input tufte
\section{Four}
\input tufte
\stoptext
you need to provide the 'own' number!
\david{own number}{Three
All,
This:
%output=pdf
\definehead[david][section]
\setuphead[david][ownnumber=yes]
\starttext
\chapter{One}
\input tufte
\section{Two}
\input tufte
\david{Three}
\input tufte
\section{Four}
\input tufte
\stoptext
Causes this:
! TeX capacity exceeded, sorry [input stack size=5000].
\s