At 2025-05-09T07:59:23-0500, G. Branden Robinson wrote: > If I revise the document as follows, I get a display after the cover > page material, but on the same page, then a page break as expected > after the display.
Ah, I should point out that my corrected document doesn't work as desired with stock groff 1.23.0. This was due to a bug/regression. ---snip--- commit 7fbda04469c0581e7d6394291ca3d1c13483c3ed Author: G. Branden Robinson <g.branden.robin...@gmail.com> Date: Wed Oct 16 13:08:39 2024 -0500 [ms]: Fix Savannah #66339 (starting doc w/ `DS`). * tmac/s.tmac (DS): Break line unconditionally, ensuring that that the top-of-page trap springs even if the document starts with a call of this macro. Fixes <https://savannah.gnu.org/bugs/?66339>. Thanks to Joerg van den Hoff for the report. Problem introduced by me in commit 1887bbe68c, 5 November 2021. ---end snip--- If you need to work around the problem, then as Tadziu noted you can invoke `rs` after ending the display. A second bug is thus implicated. commit 5808f3f4dd8f39341170597363a6aaf7acf921fd Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Wed Apr 5 20:04:17 2023 -0500 Commit: G. Branden Robinson <g.branden.robin...@gmail.com> CommitDate: Mon Jul 10 03:19:29 2023 -0500 [ms]: Fix Savannah #64005. * tmac/s.tmac (@break-page, bp): Define alias for `bp` request and wrapper for `bp` to (if needed) temporarily disable no-space mode, so that a document's `bp` requests are honored even if no-space mode is on, as can happen after displays. Fixes a regression from groff 1.22.4 and historical ms implementations introduced by me on 6 July when resolving Savannah #62688. Fixes <https://savannah.gnu.org/bugs/?64005>. Thanks to Michał Kruszewski for reporting the problem and Dave Kemper for identifying the cause. ANNOUNCE: Acknowledge Michał. Sorry about that. Regards, Branden
signature.asc
Description: PGP signature