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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to