aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/texinfo_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-06-26 15:44:15 -0400
committerRalph Amissah <ralph@amissah.com>2011-06-26 22:40:25 -0400
commit408bf6b65fcbdecd8cbcc810e1fe9f7be95da5a1 (patch)
tree82fd9cc775d45ce4532a237747734eacd94a3b0c /lib/sisu/v3/texinfo_format.rb
parentv3: manpage (sysenv), move output; line-breaks within object (diff)
v3: info (texinfo) (sysenv), move output; line-breaks within object
* backslashes & line-breaks * place under web server directory * info tool setting prompt * sysenv, accommodate info page changes
Diffstat (limited to 'lib/sisu/v3/texinfo_format.rb')
-rw-r--r--lib/sisu/v3/texinfo_format.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v3/texinfo_format.rb b/lib/sisu/v3/texinfo_format.rb
index b9fb3256..cd98754a 100644
--- a/lib/sisu/v3/texinfo_format.rb
+++ b/lib/sisu/v3/texinfo_format.rb
@@ -376,7 +376,8 @@ WOK
txt.gsub!(/#{Mx[:gl_o]}#042#{Mx[:gl_c]}/,'*')
txt.gsub!(/#{Mx[:gl_o]}#047#{Mx[:gl_c]}/,'/')
txt.gsub!(/#{Mx[:gl_o]}#095#{Mx[:gl_c]}/,'_')
- txt.gsub!(/#{Mx[:br_nl]}+/,"\n")
+ txt.gsub!(/#{Mx[:gl_o]}#092#{Mx[:gl_c]}/,'\\')
+ txt.gsub!(/(?:#{Mx[:br_line]}|#{Mx[:br_nl]})\s*/,"\n\n") # watch
txt.gsub!(/<sup><font face=symbol>&atild;<\/font><\/sup>/,' ')
#txt.gsub!(/\\/,'\\backslash ')
txt.gsub!(/<:pb>/,'\\newpage')