Follow-up Comment #38, bug #63354 (group groff):

[comment #36 comment #36:]
> I still see no way around the first,

Ha, because I'm _still_ overthinking it.  Groff offers a shorthand for
\h^\w'0'u^ -- and that is \0.  Thus the comment #36 suggestion reduces to:

.fchar \[u2012] \o'-\0'

This also eliminates the need for the conditional for nroff/troff output: this
fallback works in either environment.

(It seems like it shouldn't work in nroff with the overstruck characters
ordered as above: as bug #63028 readers are aware, it is the last character in
an overstruck sequence that nroff outputs.  But nroff seems to make an
exception for space characters:

$ echo "\o'abcd'efg" | nroff | cat -s
defg

$ echo "\o'abc\0'efg" | nroff | cat -s
cefg

$ echo "\o'abc\ 'efg" | nroff | cat -s
cefg


I'll add this to the list of things that #63028 should document.)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63354>

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


Reply via email to