projects
/
m17n
/
m17n-docs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7c3c06
)
*** empty log message ***
author
nisikimi
<nisikimi>
Wed, 28 Jan 2004 07:06:57 +0000
(07:06 +0000)
committer
nisikimi
<nisikimi>
Wed, 28 Jan 2004 07:06:57 +0000
(07:06 +0000)
utils/mkman.rb
patch
|
blob
|
history
diff --git
a/utils/mkman.rb
b/utils/mkman.rb
index
018346c
..
76013f8
100644
(file)
--- a/
utils/mkman.rb
+++ b/
utils/mkman.rb
@@
-261,6
+261,7
@@
def desrewrite(text)
# ? ad hoc
line.gsub!(/^\.TP/,"")
# ? ad hoc
line.gsub!(/^\.TP/,"")
+
#headers
if line =~ /Return\svalue:/
returndescribed = true
#headers
if line =~ /Return\svalue:/
returndescribed = true
@@
-347,6
+348,17
@@
def orewrite(text)
### let verbatim end in place
line.gsub!(/^.nf/,".NF")
### let verbatim end in place
line.gsub!(/^.nf/,".NF")
+ ### test1/16/2004 changes the type of list, and indentation
+ if line =~ /^.IP/
+ line = ".TP"
+ text[i+2] = ""
+ end
+
+ if line =~ /^.TP/
+ text[i+2] = ""
+ end
+ ### end of test1/20/2004
+
# let the library name appear in the header
if line =~ /^.TH/
line = line.gsub!(/\" \"/, "\" \"\" \"")
# let the library name appear in the header
if line =~ /^.TH/
line = line.gsub!(/\" \"/, "\" \"\" \"")