bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #50917] Make \- consistently render as U+002D across all macro sets


From: Bruno Haible
Subject: [bug #50917] Make \- consistently render as U+002D across all macro sets and devices
Date: Tue, 24 Jul 2018 12:35:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]