Thread (4 messages) 4 messages, 2 authors, 2024-12-01

Re: [PATCH] man2/: SYNOPSIS: Use SY/YS

From: G. Branden Robinson <hidden>
Date: 2024-12-01 23:39:40

Hi Alex,

At 2024-12-01T22:45:20+0100, Alejandro Colomar wrote:
On Sun, Dec 01, 2024 at 02:51:27PM -0600, G. Branden Robinson wrote:
quoted
You can go ahead and use the second argument to `SY` now--older
groffs (and other formatters) won't complain about it.[1]
Sorry, I had a brainfart there--I should have said `YS` instead of `SY`;
that is what my example illustrated.
Hmmm.  Actually, groff <= 1.23.0 is bad: it doesn't print $2.  See
below.
Right.  And I wouldn't expect it to; a general rule in *roff is that
macros do nothing with arguments that they don't expect.  (mandoc(1)
prints them all.)

So yes, probably need to wait for 1.24 for this one.

Regards,
Branden

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help