[Pkg-lyx-devel] Re: escaping the - in man.lyx

Per Olofsson pelle at dsv.su.se
Mon Jun 26 13:14:24 UTC 2006


Jean-Marc Lasgouttes:
> Where can I read about this "-" vs. "\-" thing?

I can't find it right now, but basically the difference is that "-"
generates a hyphen, which is a different character when running man in
a UTF-8 locale. This creates problems when you search manual pages or
cut'n'paste because you get the wrong character. "\-" on the contrary
really generates a regular ASCII minus character.

I think Redhat has patched their groff so that this doesn't happen in
Fedora, but Debian and upstream have this behavior.

-- 
Pelle



More information about the Pkg-lyx-devel mailing list