[PATCH] explicitly use escaped minus in man pages
normalperson at yhbt.net
Thu Oct 18 08:04:05 UTC 2012
Hleb Valoshka <375gnu at gmail.com> wrote:
> On 10/15/12, Eric Wong <normalperson at yhbt.net> wrote:
> > All the manpages are generated with pandoc. Can you send a patch
> > for the Markdown files in Documentation/*.1.txt instead? Thanks
> > in advance.
> I'll try but I'm not sure that it's possible, it seems to be only
> groff-specific issue to treat minus as hyphen.
> May be it's better to try to patch pandoc.
Yes, it is probably a bug in pandoc.
Btw, I'm not married to pandoc, either. I'm open to migrating to ronn
(or similar) if somebody is willing to try it out. ronn might be an
easier tool for Rubyists on various platforms to install, too, and I
likely would've chosen it if I had known about it back in the day...
> > I generate manpages using pandoc 22.214.171.124-5+b1 from Debian stable
> > using: make -C Documentation
> I'll try it with pandoc 126.96.36.199-2 from sid, maybe it knows groff
> better than 1.5 :)
I have the same version on my wheezy machine, and it doesn't seem
to escape hyphens, either.
More information about the mongrel-unicorn