On Wed, Mar 26, 2025 at 02:32:39PM +0100, VA wrote:
>Package: libnotify-bin
>Version: 0.8.4-1
>
>When running "man notify-send", here's how it looks like (the beginning at
>least):
>
>```
>NOTIFY-SEND(1)   User Commands   NOTIFY-SEND(1)
>
>  .SH "NAME" notify-send - a program to send desktop notifications
>
>  .SH "SYNOPSIS"
>
>    .HP 288u
>```

I don't have sufficient experience to know why the xslt man page generator is
indenting the output, but this is what is causing the dot directives to be
interpreted literally (e.g. .SH).

A simple work-around would be to post-filter the output:

  zcat /usr/share/man/man1/notify-send.1.gz |
      sed 's/^ *//; /^\.HP .*notify/d' |
      man -l -

seems sufficiently readable.

--bod

Reply via email to