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:
bb054a3
)
*** empty log message ***
author
nisikimi
<nisikimi>
Wed, 28 Jan 2004 08:02:40 +0000
(08:02 +0000)
committer
nisikimi
<nisikimi>
Wed, 28 Jan 2004 08:02:40 +0000
(08:02 +0000)
utils/mkman.rb
patch
|
blob
|
history
diff --git
a/utils/mkman.rb
b/utils/mkman.rb
index
76013f8
..
b136889
100644
(file)
--- a/
utils/mkman.rb
+++ b/
utils/mkman.rb
@@
-247,14
+247,25
@@
def desrewrite(text)
ind = text.index(line)
text.delete_at(ind+1) if text[ind+1] == (".in +1c\n")}
ind = text.index(line)
text.delete_at(ind+1) if text[ind+1] == (".in +1c\n")}
+### letting verbatim end in place Part1
+ verbatim = false
text.each_with_index{|line,i|
### TEST 6/24
line.gsub!(/^\.RS 4/,"")
text.each_with_index{|line,i|
### TEST 6/24
line.gsub!(/^\.RS 4/,"")
-### letting verbatim end in place
- line.gsub!(/^\.nf/,".NF")
+### letting verbatim end in place Part2
+ if line =~ /^\.nf/
+ verbatim = true
+ end
+
+ if verbatim == true
+ if line =~ /^\.PP/
+ line.gsub!(/^\.PP/,".fi")
+ verbatim = false
+ end
+ end
#removing "More..." hyperlink
line.gsub!(/More.../,"")
#removing "More..." hyperlink
line.gsub!(/More.../,"")