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

  • Nested SY/YS Alejandro Colomar
    • Re: Nested SY/YS G. Branden Robinson

Reply via email to