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

Joseph Herlant herlantj at gmail.com
Sun Aug 10 11:17:20 UTC 2014

Control: tags -1 +patch


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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_for_208967_and_628751.debdiff
Type: application/octet-stream
Size: 1976 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20140810/1fef6180/attachment-0001.obj>

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