[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
two further apparent regressions in 1.23 in s.tmac
From: |
joerg van den hoff |
Subject: |
two further apparent regressions in 1.23 in s.tmac |
Date: |
Wed, 16 Oct 2024 13:30:23 +0200 |
User-agent: |
Mozilla Thunderbird |
I ran into this problem several months ago but did never suspect it would be related to a preceding
update to 1.23 (which happened as part of general package update run so I did not even take note
until recently that groff on my machine is actually now at 1.23) so this report comes a bit late.
I tried to reduce the problem to next-to-minimal but I do not know what the root issue is, so....
please try this code:
.\"snip
.LP
.DS I
foo
bar
baz
foo
bar
baz
foo
bar
baz
.rt
.sp |2.5i
after .sp |2.5i (TAB indented(!)
.DE
.sp 2i
after end of DS/DE and additional .sp 2i
.\"snip
there are two problems.
1. major one:
attached 2 pdfs (A4 page size) formatted with groff1.22.4 and groff 1.23.0, respectively. obviously
the latter one is broken (the interaction between absolute and relative .sp positioning seems to be
the issue, it seems the additional '.sp 2i' is simply ignored or replace by .sp 1v in groff1.23).
2. maybe a bug, maybe a feature -- no idea:
if you remove the first line (.LP) in the above snippet, it still formats just fine with 1.22 but
fails in 1.23 with
s.tmac:stdin:15: error: must be in top-level environment, not 'nf', when first
page is started
a wild guess: it has to do with virtual page break/transition onto page 1. but if so, I thought,
that .DS is among the macros triggering that transition? why is the document invalid without the .LP??
for the time being I have decided to revert my installation to 1.22.4. currently there are -- for my
taste, at least -- too many regressions in 1.23 (see recent threads regarding .XA and .IX, e.g.).
but I of course do sincerely hope that things will stabilize/improve soon so that 1.23 (or its
s.tmac, specifically) is better suited for use in "production".
I do which the maintainer(s) much success, naturally.
joerg
groff1.23.0.pdf
Description: Adobe PDF document
groff1.22.4.pdf
Description: Adobe PDF document
- two further apparent regressions in 1.23 in s.tmac,
joerg van den hoff <=