Re: Help with diversions to handle widows (or orphans?) ;-)

2025-01-28 Thread onf
Hi Walter, 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 s

Re: Some requests for refer(1) and "-me" macro package

2025-01-28 Thread Dave Kemper
On Tue, Jan 21, 2025 at 8:11 AM onf wrote: > I think groff would benefit from neatroff's hydash request: > hydash CHARS > Specify the list of characters after which words may be broken > (even when hyphenation is disabled) without inserting hyphens. Sounds like a prime candidate to file

Re: Some requests for refer(1) and "-me" macro package

2025-01-28 Thread G. Branden Robinson
At 2025-01-28T18:35:25-0600, Dave Kemper wrote: > On Tue, Jan 21, 2025 at 8:11 AM onf wrote: > > I think groff would benefit from neatroff's hydash request: > > hydash CHARS > > Specify the list of characters after which words may be broken > > (even when hyphenation is disabled) without

Re: man(7), the hyperlink tagging challenge, and what's a node?

2025-01-28 Thread Dave Kemper
On Mon, Jan 27, 2025 at 6:27 AM G. Branden Robinson wrote: > Dave Kemper's done some solid QA work that should avoid > embarrassment in groff 1.24.0.rc1. Thanks! But so that the record's not overstated: It's great that groff has hundreds of regression tests now. But a problem like the .hys req

Help with diversions to handle widows (or orphans?) ;-)

2025-01-28 Thread Walter Alejandro Iglesias
Hello list, I've been using groff for years, but mostly solving problems as they came up. Lately I decided to study the documentation more deeply, the last thing I did was learn how to use diversions. After a week of struggling, I got the code below, it's to automatically get rid of the last lin

[PATCH] Correct quotes in pic(1) manpage

2025-01-28 Thread sebastien peterson boudreau
The quotes for `i'th and `i+1'th are very important because the parser will reject input that uses two right/neutral quotes/apostrophes. The double quotes \[lq] and \[rq] were also adjusted as it looked like a mistake. --- src/preproc/pic/pic.1.man | 6 +++--- 1 file changed, 3 insertions(+), 3 de

Re: Help with diversions to handle widows (or orphans?) ;-)

2025-01-28 Thread onf
On Tue Jan 28, 2025 at 9:02 PM CET, Walter Alejandro Iglesias wrote: > [...] to automatically get rid of the > last line of the last paragraph of a page end hanging alone on the next > page [...] By the way, given the notorious difficulty of controlling orphans in troff, is there any reason (besid