groff-1.19.2-man-unicode-dashes.patch 582 B

12345678910111213141516171819202122232425
  1. format dashes as dashes so as to not confuse people
  2. http://bugs.gentoo.org/16108
  3. http://bugs.gentoo.org/17580
  4. http://bugs.gentoo.org/121502
  5. --- a/tmac/man.local
  6. +++ b/tmac/man.local
  7. @@ -1,2 +1,6 @@
  8. .\" This file is loaded after an-old.tmac.
  9. .\" Put any local modifications to an-old.tmac here.
  10. +.if '\*[.T]'utf8' \{\
  11. +. char \- \N'45'
  12. +. char - \N'45'
  13. +.\}
  14. --- a/tmac/mdoc.local
  15. +++ b/tmac/mdoc.local
  16. @@ -1,2 +1,6 @@
  17. .\" This file is loaded after doc.tmac.
  18. .\" Put any local modifications to doc.tmac here.
  19. +.if '\*[.T]'utf8' \{\
  20. +. char \- \N'45'
  21. +. char - \N'45'
  22. +.\}