6 Mar
2009
6 Mar
'09
10:42 a.m.
Another idea... How do you make this line counter work ? \newcount\parnumber \newcount\linenumber \def\myCounters{% \EveryPar{% \advance\parnumber by 1 (P\the\parnumber) \EveryLine{% % (L\the\prevgraf)}} \advance\linenumber by 1 (L\the\linenumber)} \linenumber=0\relax} \parnumber=0\relax} \setuphead[chapter][page=,after={\myCounters}] \starttext \chapter{Chapter 0} Only one line. \dorecurse{2}{\chapter{Chapter #1}\input knuth} \stoptext Alan