[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trouble with .length
From: |
Werner LEMBERG |
Subject: |
Re: trouble with .length |
Date: |
Thu, 11 Jul 2002 14:13:27 +0200 (CEST) |
> Try the following shell command:
>
> echo '.length n abc
> \n[n]
> ' | groff -Tlatin1
>
>
> This should return 3, but it does return 0.
>
> The result will be correct when you use .tm for displaying or if the
> `\n[n]' is preceded by some text.
This is a bug, thanks for the report (the tok.next() call must be
moved to the very end of the length_macro() function). I've fixed it
in my local copy, and I will commit it to the CVS as soon as the
ffii.org host has been resurrected (which will take a few days due to
a crash of two harddisks).
Note that address@hidden doesn't work either.
Werner