--- Begin Message ---
Subject: |
Man page of loginctl is invalid troff. |
Date: |
Fri, 7 Apr 2023 14:08:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 |
Hi,
man loginctl prints stuff like
.SH "NAME" loginctl - Control the elogind login manager
.SH "SYNOPSIS"
.HP 216u
loginctl
[OPTIONS...]
{COMMAND}
[NAME...]
.PP /lib/elogind/system-shutdown
Indeed zcat /run/current-system/profile/share/man/man1/loginctl.1.gz
shows
[...]
.SH "NAME"
loginctl \- Control the elogind login manager
.SH "SYNOPSIS"
.HP \w'\fBloginctl\fR\ 'u
\fBloginctl\fR
[OPTIONS...]
{COMMAND}
[NAME...]
.PP
/lib/elogind/system\-shutdown
[...]
i.e. .SH etc. are not at line beginnings and are not recognized by man.
I'm using elogind-246.10:
/gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/share/man/man1/loginctl.1.gz
Martin
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#62710: Man page of loginctl is invalid troff. |
Date: |
Tue, 11 Apr 2023 21:59:46 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Martin Castillo <castilma@uni-bremen.de> writes:
> Hi,
>
> man loginctl prints stuff like
>
> .SH "NAME" loginctl - Control the elogind login manager
>
> .SH "SYNOPSIS"
>
> .HP 216u
>
> loginctl
> [OPTIONS...]
> {COMMAND}
> [NAME...]
>
> .PP /lib/elogind/system-shutdown
>
> Indeed zcat /run/current-system/profile/share/man/man1/loginctl.1.gz
> shows
> [...]
> .SH "NAME"
> loginctl \- Control the elogind login manager
>
>
> .SH "SYNOPSIS"
>
> .HP \w'\fBloginctl\fR\ 'u
>
> \fBloginctl\fR
> [OPTIONS...]
> {COMMAND}
> [NAME...]
>
>
>
> .PP
> /lib/elogind/system\-shutdown
>
> [...]
>
> i.e. .SH etc. are not at line beginnings and are not recognized by man.
>
> I'm using elogind-246.10:
> /gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/share/man/man1/loginctl.1.gz
That's due to a bug in the last release of docbook-xsl
(https://github.com/docbook/xslt10-stylesheets/issues/109). It's fixed
on the core-updates branch by using an unreleased snapshot. Since
elogind has 2953 dependents, we'll have to wait until this branch is
merged, which should be soon!
Closing.
--
Thanks,
Maxim
--- End Message ---