How do you make the attached example work (see comments at the beginning of
the file) ?

{Thus, I came to the conclusion that the designer of a new system mus\ETC.
! Paragraph ended before \makelines was complete.
<to be read again>
                   \par
l.22

?

Alan

On Thu, Jan 22, 2009 at 3:46 PM, Otared Kavian <ota...@gmail.com> wrote:

>
> On 22 janv. 09, at 15:39, Alan Stone wrote:
>
> On Thu, Jan 22, 2009 at 12:22 PM, Wolfgang Schuster <
> schuster.wolfg...@googlemail.com> wrote:
>
>> On Thu, Jan 22, 2009 at 12:02 PM, Alan Stone
>> <software.list.1e...@gmail.com> wrote:
>> > Hi,
>> >
>> > Is there a command which returns the number of lines for a given portion
>> of
>> > text ?
>>
>> \starttext
>>
>> \setbox\scratchbox\vbox{\input knuth\par}
>>
>> \getnoflines\htdp\scratchbox
>
>
> \getnoflines{\htdp\scratchbox}  % this works
>
>
>
>
>> Your text has \noflines\ lines.
>
>
> or: Your text has \noflines lines.
>
>
> Try: Your text has {\the\noflines} lines.
>
>
> Best regards: OK
>

Attachment: makelines.tex
Description: TeX document

___________________________________________________________________________________
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