- Package:
- docbook-utils
- Source:
- docbook-utils
- Submitter:
- Marco d'Itri
- Date:
- 2014-08-10 11:21:15 UTC
- Severity:
- normal
How to reproduce: rebuild module-init-tools with DOCBOOKTOMAN=docbook2man.
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
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