On Thu, Jan 22, 2009 at 12:02 PM, Alan Stone\starttext
<software.list.1es9s@gmail.com> wrote:
> Hi,
>
> Is there a command which returns the number of lines for a given portion of
> text ?
\setbox\scratchbox\vbox{\input knuth\par}
\getnoflines\htdp\scratchbox
Your text has \noflines\ lines.
\stoptext