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:
a328685
)
*** empty log message ***
author
nisikimi
<nisikimi>
Wed, 1 Oct 2003 06:29:38 +0000
(06:29 +0000)
committer
nisikimi
<nisikimi>
Wed, 1 Oct 2003 06:29:38 +0000
(06:29 +0000)
utils/mkman.rb
patch
|
blob
|
history
diff --git
a/utils/mkman.rb
b/utils/mkman.rb
index
55d6eff
..
018346c
100644
(file)
--- a/
utils/mkman.rb
+++ b/
utils/mkman.rb
@@
-198,7
+198,7
@@
def documentfunc2 (dstart, title, func_text, short_text)
def frewrite(text)
# let the library name appear in the header
def frewrite(text)
# let the library name appear in the header
- buf = [text[0].gsub!("\" \"", "\" \"\" \"")]
+ buf = [text[0].gsub!(/\" \"/, "\" \"\" \"")]
title = text[0].split(" ")[1].chop!.reverse.chop!.reverse
title = text[0].split(" ")[1].chop!.reverse.chop!.reverse
@@
-251,10
+251,10
@@
def desrewrite(text)
text.each_with_index{|line,i|
### TEST 6/24
text.each_with_index{|line,i|
### TEST 6/24
- line.gsub!(".RS 4","")
+ line.gsub!(/^\.RS 4/,"")
### letting verbatim end in place
### letting verbatim end in place
- line.gsub!(/^.nf/,".NF")
+ line.gsub!(/^\.nf/,".NF")
#removing "More..." hyperlink
line.gsub!(/More.../,"")
#removing "More..." hyperlink
line.gsub!(/More.../,"")
@@
-349,7
+349,7
@@
def orewrite(text)
# let the library name appear in the header
if line =~ /^.TH/
# let the library name appear in the header
if line =~ /^.TH/
- line = line.gsub!("\" \"", "\" \"\" \"")
+ line = line.gsub!(/\" \"/, "\" \"\" \"")
end
# finding structure documentations and merging into "structures"
end
# finding structure documentations and merging into "structures"
@@
-375,7
+375,7
@@
def orewrite(text)
#removing author section
line.gsub!(/^\.SH\s\"AUTHOR\"/,"")
#removing author section
line.gsub!(/^\.SH\s\"AUTHOR\"/,"")
- line.gsub!("Generated automatically by Doxygen for m17n_test from the source code.","")
+ line.gsub!(/Generated automatically by Doxygen for m17n_test from the source code\./,"")
line.gsub!(/\\fP\s+,/,"\\fP,")
line.gsub!(/\\fP\s+\./,"\\fP.")
line.gsub!(/\\fP\s+,/,"\\fP,")
line.gsub!(/\\fP\s+\./,"\\fP.")