Update of bug #64300 (group groff):
Status: Confirmed => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #17:
commit 1f44ea3be31d8ada3bef8197ff0be6ca7f12e700
Author: G. Branden Robinson <[email protected]>
Date: Fri Jan 2 00:08:38 2026 -0600
[troff]: Fix Savannah #64300.
* src/roff/troff/div.cpp (space_request): If the `sp` request is invoked
with the no-break control character (that is, "'sp") when the drawing
position is off the page (as when the formatter starts up), ignore the
request and throw an error diagnostic. This is inconsistent with AT&T
troffs (including Heirloom Doctools) and neatroff, but precisely
consistent with all other requests that have different semantics when
invoked with the no-break control character. When invoked thus, none
of `br`, `brp`, `ce`, `cf`, `fi`, `fl`, `in`, `nf`, or `rj` move the
drawing position onto the page.
* tmac/doc-old.tmac (Sh): If the formatter claims groff compatibility,
simply emit a `br` request to start the (next) document instead of
invoking `sp` with the no-break control character.
* doc/groff.texi (Manipulating Spacing): Document that invoking `'sp`
in the top-level diversion when the vertical drawing position is
negative is an error.
* doc/groff.texi (Other Differences):
* man/groff_diff.7.man: (Other differences): Document difference between
AT&T and GNU troffs. (AT&T troff's behavior looks buggy to me...)
Fixes <https://savannah.gnu.org/bugs/?64300>. Thanks to Dave Kemper for
the discussion.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64300>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
