Re: Capitalisation

2024-11-03 Thread G. Branden Robinson
Hi Damian, At 2024-11-04T17:52:58+1100, Damian McGuckin wrote: > It there a groff command which eith > > a)transforms a string to upper case Yes, since groff 1.23.0 we have this. groff(7): .stringup str Replace each byte in the string named str with its

Re: Capitalisation

2024-11-03 Thread Damian McGuckin
On Mon, 4 Nov 2024, G. Branden Robinson wrote: a) transforms a string to upper case Yes, since groff 1.23.0 we have this. groff(7): .stringup str Replace each byte in the string named str with its uppercase version. Great. b) capitalizes the fir

Re: [groff] 06/17: tmac/{de,fr}.tmac: Respell string translations.

2024-11-03 Thread Dave Kemper
The commit log (http://git.savannah.gnu.org/cgit/groff.git/commit/?id=f486938c5) says: > Spell string translations using groff special character escape > sequences instead of Latin-1 or Latin-9 code points; this way they > work with a document that uses them no matter what its own encoding. > > I

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread Alexis
"onf" writes: i certainly agree that, for people not regularly creating new man pages from scratch, having to learn roff and a macro library probably feels like unnecessary work. I had mostly based this on the original quotation of Andrew Gallant, but personally it took me a while just to

Capitalisation

2024-11-03 Thread Damian McGuckin
It there a groff command which eith a) transforms a string to upper case b) capitalizes the first letter of a string? Thanks - Damian

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread onf
Hi Alexis, On Sun Nov 3, 2024 at 8:39 AM CET, Alexis wrote: > > It's not that documentation isn't important, merely that it's > > not so incredibly important to spend several hours on such a minor > > task. This also becomes a problem in that manpages aren't maintained > > as well as the softwar

Re: capitalization of man(7) section headings (was: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread onf
On Sun Nov 3, 2024 at 9:44 AM CET, G. Branden Robinson wrote: > At 2024-11-03T05:20:13+0100, onf wrote: > > Speaking of which, I noticed just recently that all of groff's > > manpages don't use all caps for subheadings (.SH)... which is about > > the first time I've seen manpage subheadings that we

Re: capitalization of man(7) section headings (was: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread G. Branden Robinson
At 2024-11-03T11:13:15+0100, onf wrote: > I see, thanks for the explanation. What I forgot to mention is that my > distribution uses BSD mandoc for manpages and I haven't changed that, > so it just seems that mandoc's man hasn't caught up to that change > (at least I haven't found anything like it

Re: capitalization of man(7) section headings (was: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread onf
On Sun Nov 3, 2024 at 11:30 AM CET, G. Branden Robinson wrote: > At 2024-11-03T11:13:15+0100, onf wrote: > > I see, thanks for the explanation. What I forgot to mention is that my > > distribution uses BSD mandoc for manpages and I haven't changed that, > > so it just seems that mandoc's man hasn't

Re: [PATCH v2 1/3] proc_pid_fdinfo.5: Reduce indent for most of the page

2024-11-03 Thread Colin Watson
On Sun, Nov 03, 2024 at 02:59:34AM +0100, Alejandro Colomar wrote: > On Sun, Nov 03, 2024 at 12:47:23AM +, Colin Watson wrote: > > I'm not trying to stop you committing whatever you want to your > > repository, of course, but I want to be clear that this doesn't actually > > solve the right pro

Re: Comparison against backslash obtained via .substring

2024-11-03 Thread onf
Hi Branden, thank you for having patience with me :) I have joined all the replies here. On Sun Nov 3, 2024 at 4:36 AM CET, G. Branden Robinson wrote: > At 2024-11-03T03:56:23+0100, onf wrote: > > Ugh, I should have taken more time to reply -- I missed the fact that > > groff doesn't consider DEL

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread Alexis
"onf" writes: Speaking of which, I noticed just recently that all of groff's manpages don't use all caps for subheadings (.SH)... which is about the first time I've seen manpage subheadings that weren't in all caps. In my mdoc(7) ports of documentation in the skaware ecosystem (e.g. s6-man

capitalization of man(7) section headings (was: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread G. Branden Robinson
At 2024-11-03T05:20:13+0100, onf wrote: > On Sat Oct 26, 2024 at 3:33 AM CEST, G. Branden Robinson wrote: > > At 2024-10-25T16:51:26+0200, onf wrote: > > > I wonder if the author tried Drew DeVault's scdoc, it seems to > > > work well for simpler manpages. (Output is man.) > > > > I'm not crazy abo