Marcin Borkowski wrote:
Dnia Wed, Mar 04, 2009 at 05:02:40PM +0100, Alan Stone napisał(a):
How do you access the first paragraph of each chapter ? ... to calculate its number of lines ?
If not possible with ConTeXt commands, is this possible with LuaTeX commands?
Maybe redefine \par to do something like
\def\nooflines{\prevgraf}\let\par=\oldpar
where previously you hd \let\oldpar=\par
messing around with \par is dangerous and asking for trouble ----------------------------------------------------------------- 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 -----------------------------------------------------------------