[NTG-context] ownnumber=yes

David Arnold dwarnold45 at cox.net
Wed Dec 21 05:42:18 CET 2005


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].
<argument> \s!section
                       -3
\previoussection #1->\csname \??se #1
                                      \c!before \endcsname
\countervalue #1->\csname #1
                             \endcsname
\@@longsectionnumber ...?se \previoussection {#1}}
                                                   >\zerocount  
\csname \previ...

\finalsectionnumber ...alue {\@@sectie \c!number }
                                                   \fi \fi
\@@shortsectionnumber ...1\c!ownnumber \endcsname
                                                   \fi
...
l.14 \david{Three}


Any ideas?




More information about the ntg-context mailing list