X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=utils%2Fmkman.rb;h=bad886218a6cc9e05eb087a7ac01851d6bf8af0a;hb=77e9431fa5c52e06b32cf2ec2c80bed24bd07470;hp=1ae1fa95ca2cfce71a976781e50404453c49f415;hpb=2cb6096b0d1b5e2fe4ae6f3558eafdc6d43c5e81;p=m17n%2Fm17n-docs.git diff --git a/utils/mkman.rb b/utils/mkman.rb index 1ae1fa9..bad8862 100644 --- a/utils/mkman.rb +++ b/utils/mkman.rb @@ -466,8 +466,8 @@ def orewrite(text) # to: # .SH NAME # M-text \- M-text objects and API for them. - prevline = buf.pop - text[i+1] = prevline.chop!.concat(text[i+1]) + prevline = buf.pop.chop!.chop!.chop!.chop!.chop!.gsub(" ","_").concat(" \\- ") + text[i+1] = prevline.concat(text[i+1]) else #removing author section line.gsub!(/^\.SH\s\"AUTHOR\"/,"")