Follow-up Comment #2, bug #50917 (project groff):

> defining  \(hm : U+002D : hyphen-minus # NO!  would be so ugly that it
couldn't reasonably be recommended for manual pages.

In many GNU packages, nowadays, the man pages are generated from the programs,
by use of 'help2man'. If there was a sequence that is guaranteed to produce
ASCII U+002D, 'help2man' could use it; it doesn't matter for generated manual
pages whether the syntax is ugly or not.

In the current state, 'help2man' produces '\-' in its output. Which produces
copy&pastable U+002D in 'groff -Tutf8 -mandoc' output. But it produces
'−' (U+2212) in 'groff -Thtml -mandoc' output, which I have to revert
through postprocessing: sed -e 's/\−/-/g'

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50917>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to