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}
\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?


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


--
=======================================================
Ing. Vít Zýka, Ph.D.                         TYPOkvítek

database publishing              databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189     www: http://typokvitek.com
=======================================================

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to