[NTG-context] \structureheadnumber does not work before first section

Vianney le Clément vleclement at gmail.com
Sat Oct 2 13:26:31 CEST 2010


Hi,

I'm trying to get the last section number using
\structureheadnumber[section][last]. This works fine inside a section,
but expands to nothing when used at the beginning of the document.

Here is a minimal example:

\starttext
Last: \structureheadnumber[section][last]
\dorecurse{4}
  {\section{Test #1}
   Last: \structureheadnumber[section][last]}
\stoptext

Vianney


More information about the ntg-context mailing list