Alan Stone wrote:
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
\startlinenumbering \input tufte \stoplinenumbering ----------------------------------------------------------------- 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 -----------------------------------------------------------------