Hi,

I try to get the counter value of the next section but the result is always the value for the current section (e.g. section 3 shows also 3 as value for the next section).

\startbuffer[headnumber]
    \starttabulate
    \NC first    \EQ \somenamedheadnumber {section} {first}    \NC\NR
    \NC previous \EQ \somenamedheadnumber {section} {previous} \NC\NR
    \NC current  \EQ \somenamedheadnumber {section} {current}  \NC\NR
    \NC next     \EQ \somenamedheadnumber {section} {next}     \NC\NR
    \NC last     \EQ \somenamedheadnumber {section} {last}     \NC\NR
    \stoptabulate
\stopbuffer

\starttext

\dorecurse{5}
  {\section{Section #1}
   \getbuffer[headnumber]}

\stoptext

Wolfgang

_______________________________________________
dev-context mailing list
[email protected]
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to