7 Oct
2011
7 Oct
'11
6:21 p.m.
On Fri, 7 Oct 2011, Wolfgang Schuster wrote:
\setuphead[section][textstyle=\tt,page=yes]
\starttext
\dorecurse{2} {\section{[[#1]]} \dorecurse{\numexpr#1+2\relax} {\subsection{[[#1-##1]]} \starttabulate \NC First \EQ \somenamedheadnumber{subsection}{first} \NC\NR \NC Current \EQ \somenamedheadnumber{subsection}{current} \NC\NR \NC Last \EQ \somenamedheadnumber{subsection}{last} \NC\NR \stoptabulate}}
\stoptext
See also: - http://wiki.contextgarden.net/Thumb_index - http://wiki.contextgarden.net/Last_Head_Number
Thanks a lot! Aditya