Re: groff_ms: table in indented paragraph and page break

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.general
Message-ID <20251202092102.5zejfrqdcosfziff@illithid>
Hi Dirk,

At 2025-12-02T09:48:00+0100, Dirk Gouders wrote:
> I was preparing a document that consists of indented paragraphs and
> one of those has a table in it.
> 
> I was producing a PDF document and needed a page break after that
> table but the .bp request dind't produce a page break.
>
> I could fix this by putting the table inside a keep but wonder if this
> is expected behavior.

Long story short, that's because a bug (my fault) slipped out in the
groff 1.23.0 release.

https://lists.gnu.org/archive/html/groff/2023-04/msg00022.html

This issue was tracked as Savannah #64005 and a fix was in the first
batch of changes committed to the "master" branch after groff 1.23.0 was
tagged and released.

https://savannah.gnu.org/bugs/?64005

Adding a `rs` request before `bp` should be portable to all versions of
ms(7), if you need portability to multiple groff releases, for instance.

Your document works as intended _without_ any change in groff Git HEAD.
(I just checked.)  I also added a regression test that should keep me
from breaking it again.  One hopes.

Sorry about that.

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmkur3cACgkQ0Z6cfXEm
bc6sIg/9EGmKnK3esqsmY/IuhTRRG7O+T7Jt5gyUtxM0ufAk6emKEpalAeIIKS5J
sNyPgNWB3jBZ3evLhf4s/ESSlJ9SH42W4SDi8lOfYWw/QQ2d+dQh7aXI2Fh8eSq5
svTLSOdzkMVWhGgDM+tCEUgKKbpGJH7l1+MUC0hgdKrSh1wLQ6A/+W0KdiWpbY82
R0ndaDH1DremcHwkae/HA5awmVMlb4rU6SKFmUrj9XMDR6u7pU3ZG/NdLmM+GObJ
QjedCmutu7Y0syUQaFRCia4NbGmvNXickFZi6wjWU2SSfNZsJ0IzaZLKuPjGV86l
WEUJxO198xmd3UDr8S5jbORCXmH5rk8uEF8LK605u9wZksd9gE1BKNT27uhamfCb
DNs82FOz2dvfa0bCC601lyPE7ee1LbCYTRyKI+vtjEYilMiFdYoUYorpYPx+pNPM
+CPigKmThuLvQdO6druGwkGpNJHx4aPqJC8h9juCQZjOCiJelzMtykPE2/Q7RB/t
IyNSJ5TUIHG3cUyzjAUsXV2Bx9KlP1qF0tU8mk9FqbCgfrnRw+8/RkWXgDN8IrIa
L9vvNkuOJeY+mPUl0CHxlxwf4Ysois9kgKzudVNb7DYRMcfelgaMjEmrK+nsvYmg
jrkBNA2kmVBr1H+C1v6EhQB9zGVUYoVFigCW7zTB7BdjSgLZtTg=
=eDGY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.