On Wed Jan 29, 2025 at 7:36 PM CET, Walter Alejandro Iglesias wrote: > On Tue, Jan 28, 2025 at 10:40:36PM +0100, onf wrote: > > On Tue Jan 28, 2025 at 9:02 PM CET, Walter Alejandro Iglesias wrote: > > > [...] After a week of > > > struggling, I got the code below, it's to automatically get rid of the > > > last line of the last paragraph of a page end hanging alone on the next > > > page (just to avoid arguments about whether she was abandoned by her > > > parents or her husband died ;-)). > [...] > > > I'd appreciate if anyone could give me some clues on how to get a more > > > solid solution or a better approach. > > > [...] > > > > You might find the following useful: > > https://lists.gnu.org/r/groff/2003-01/msg00024.html > > Sorry for the delay in replying. Tadziu's code works perfectly. :-)
No worries; glad to hear that! ~ onf