groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested SY/YS


From: G. Branden Robinson
Subject: Re: Nested SY/YS
Date: Sun, 1 Dec 2024 08:57:45 -0600

Hi Alex,

At 2024-12-01T15:17:22+0100, Alejandro Colomar wrote:
> I was wondering if it would be good to nest SY/YS.
> 
> What do you think of this?:
> 
>  .SY void\~*bsearch (
>  .BI const\~void\~ key [. size ],
>  .BI const\~void\~ base [. size \~*\~. n ],
>  .BI size_t\~ n ,
>  .BI size_t\~ size ,
>  .br
> -.BI int\~(* compar )(const\~void\~[. size ],
> +.SY int\~(*\f[I]compar\f[]) (
> +.BI const\~void\~[. size ],
>  .BI const\~void\~[. size ]));
> +.YS
>  .YS
> 
> 
> Which would ideally produce:
> 
>        void *bsearch(const void key[.size],
>                      const void base[.size * .n], size_t n, size_t size,
>                      int (*compar)(const void [.size],
>                                    const void [.size]));

How many documents in the Linux man-pages corpus do you expect to
benefit from such a feature?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]