[xml/sgml-pkgs] Bug#208967: [docbook2man] Patch to get correct replacement for dashes/hyphen

Alejandro Colomar alx at kernel.org
Sun Oct 22 12:07:01 BST 2023


Hi!

Here's a ping, reminding that this bug still affects Debian Trixie
(currently unstable).  I have uncommented the workaround in my
/etc/groff/man.local, because as maintainer of the Linux man-pages, I do
want to be able to check if there are problems in my manual pages.  As a
consequence, I can't search (/) for options and things that contain '-'
in manual pages that have this bug.

There's a patch, so what else do we need to fix the bug?  Can the patch
be offered to upstream, please?

Thanks,
Alex

On Sun, 10 Aug 2014 13:17:20 +0200 Joseph Herlant <herlantj at gmail.com> wrote:
> Control: tags -1 +patch
> 
> Hi,
> 
> Please find attached the debdiff patch that should solve both #208967
> and #628751.
> 
> In short:  Current version of docbook2man's hyphen rendering makes
> lintian complain about "hyphen-used-as-minus-sign". This patch renders
> `-' as `\-' and `\-' as `\\\-', so we should have a correct output and
> lintian not complaining again.
> 
> This should solve a big amount of the current
> "hyphen-used-as-minus-sign" reports.
> 
> I wrote it as an NMU but I'd rather have it uploaded and integrated by
> official maintainers.
> 
> Tested on module-init-tools (the oldstable version which uses sgml)
> and it seems fine to me.
> Also tested on gnome-shell-pomodoro I am currently using sgml man
> pages with and it also works great!
> 
> Best,
> Joseph

-- 
<https://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-xml-sgml-pkgs/attachments/20231022/59f7c099/attachment.sig>


More information about the debian-xml-sgml-pkgs mailing list