[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad line counts from eqn 1.23.0
From: |
G. Branden Robinson |
Subject: |
Re: bad line counts from eqn 1.23.0 |
Date: |
Tue, 21 Nov 2023 15:12:52 -0600 |
Hi Doug,
At 2023-11-21T15:06:45-0500, Douglas McIlroy wrote:
> eqn issues a .lf for every .EN. In 1.23.0 the line number is assigned
> as if there were only one line of eqn text between .EQ and .EN,
> regardless of how many lines actually are present. Thus the two
> fragments below yield identical sequences of .lf requests
> .EQ .EQ
> 1 1
> .EN (.lf 3) .EN (.lf 3)
> .EQ .EQ
> 1 1
> .EN (.lf 6) 2
> .EQ .EN (.lf 6)
> 1 .EQ
> .EN (.lf 9) 1
> 2
> 3
> .EN (.lf 9)
> This ruins the line numbers in groff and eqn diagnostics. eqn 1.22.4
> does it right.
I'm sorry for the trouble.
These may be the same issue as Savannah #64105.
https://savannah.gnu.org/bugs/index.php?64105
Unfortunately, 1.22.4 doehandles some other line numbering cases
wrongly, so we're in for a carpet stomp. With enough regression tests,
we'll get them all flattened. :)
Regards,
Branden
signature.asc
Description: PGP signature