On 17-1-2010 13:36, Wolfgang Schuster wrote:

Am 17.01.2010 um 13:06 schrieb Andreas Harder:

Nonetheless the needed information is already present even more if one uses a 
table of contents …

The table of contents needs two passes too but only Hans can say (or provide
a command like \convertedstructurecounter for section numbers) how you can
access these information.

the beta now has

\starttext

\dorecurse {5} {
    \chapter{Test #1}
    first: \somestructureheadnumber[chapter][first]\par
    current: \somestructureheadnumber[chapter][current]\par
    last: \somestructureheadnumber[chapter][last]
    \dorecurse {3} {
    \section{Test #1}
        first: \somestructureheadnumber[section][first]\par
        current: \somestructureheadnumber[section][current]\par
        last: \somestructureheadnumber[section][last]
    }
}

\stoptext

upto the two of you who wikifies this

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to