*** empty log message ***
[m17n/m17n-docs.git] / utils / mkman.rb
index 303fc78..5cf667d 100644 (file)
@@ -13,9 +13,9 @@ $currentdir = Dir.pwd+"/"
 $doxywork = $currentdir+"doxywork/"
 $srcman3 = $currentdir+usr_or_ja+"/man/man3/"
 if usr_or_ja == "usr"
-  $dstman3m = $currentdir+"/man/man3m/"
+  $dstman3m = $currentdir+"/usr/man3m/"
 else
-  $dstman3m = $currentdir+"/man/ja/man3m/"
+  $dstman3m = $currentdir+"/ja/man3m/"
 end
 $sampledir="sample/man3/"
 
@@ -255,6 +255,9 @@ def desrewrite(text)
 ### TEST 6/24
   line.gsub!(".RS 4","")
 
+### letting verbatim end in place
+  line.gsub!(/^.nf/,".NF")
+
 #removing "More..."  hyperlink
   line.gsub!(/More.../,"")
 # ? ad hoc 
@@ -342,6 +345,9 @@ def orewrite(text)
 
   text.each_with_index{|line,i|
              line.gsub!(/More.../,"")
+     
+     ### let verbatim end in place
+        line.gsub!(/^.nf/,".NF")
 
      # let the library name appear in the header 
               if line =~ /^.TH/