aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-09-25 22:56:31 -0400
committerRalph Amissah <ralph@amissah.com>2010-09-25 22:58:49 -0400
commita69174130de52fa28b02ace087c03d7ec7553b54 (patch)
tree1f8eaed5ab5a0b2b02c604b74d155ab17c146e8b
parentversion update 2.7.1 (diff)
texinfo ocn decoration a hash (instead of angle braces) (+changelog)
-rw-r--r--CHANGELOG_v24
-rw-r--r--data/doc/sisu/v2/CHANGELOG4
-rw-r--r--lib/sisu/v2/texinfo.rb4
-rw-r--r--lib/sisu/v2/texinfo_format.rb8
4 files changed, 12 insertions, 8 deletions
diff --git a/CHANGELOG_v2 b/CHANGELOG_v2
index a6f31f79..2a11f2c4 100644
--- a/CHANGELOG_v2
+++ b/CHANGELOG_v2
@@ -20,7 +20,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.1.orig.tar.gz
[debian freeze, fix]
- * texinfo_format, texinfo output broken, fix (Closes #598063)
+ * texinfo
+ * texinfo_format, texinfo output broken, fix (Closes #598063)
+ * texinfo ocn decoration a hash (instead of angle braces
%% 2.7.0.orig.tar.gz (2010-09-21:38/2)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.0.orig.tar.gz
diff --git a/data/doc/sisu/v2/CHANGELOG b/data/doc/sisu/v2/CHANGELOG
index 6efd0114..fd970d9a 100644
--- a/data/doc/sisu/v2/CHANGELOG
+++ b/data/doc/sisu/v2/CHANGELOG
@@ -20,7 +20,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.1.orig.tar.gz
[debian freeze, fix]
- * texinfo_format, texinfo output broken, fix (Closes #598063)
+ * texinfo
+ * texinfo_format, texinfo output broken, fix (Closes #598063)
+ * texinfo ocn decoration a hash (instead of angle braces
%% 2.7.0.orig.tar.gz (2010-09-21:38/2)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.0.orig.tar.gz
diff --git a/lib/sisu/v2/texinfo.rb b/lib/sisu/v2/texinfo.rb
index 871a2b3e..bcff4915 100644
--- a/lib/sisu/v2/texinfo.rb
+++ b/lib/sisu/v2/texinfo.rb
@@ -315,8 +315,8 @@ module SiSU_TexInfo
dob.obj=nil
else
if dob.is=='para' \
- and dob.obj !~/<#{dob.ocn}>/
- dob.obj="#{dob.obj} <#{dob.ocn}>"
+ and dob.obj !~/##{dob.ocn}/
+ dob.obj="#{dob.obj} ##{dob.ocn}"
end
end
end
diff --git a/lib/sisu/v2/texinfo_format.rb b/lib/sisu/v2/texinfo_format.rb
index 9e8afb10..a17fdb65 100644
--- a/lib/sisu/v2/texinfo_format.rb
+++ b/lib/sisu/v2/texinfo_format.rb
@@ -295,8 +295,8 @@ WOK
end
def clean(dob)
if dob.is=='heading' \
- and dob.obj !~/<#{dob.ocn}>/
- dob.obj="#{dob.obj} <#{dob.ocn}>"
+ and dob.obj !~/##{dob.ocn}/
+ dob.obj="#{dob.obj} ##{dob.ocn}"
end
dob.obj.gsub!(/<:#>/,'')
dob.obj.strip!
@@ -559,8 +559,8 @@ WOK
end
def clean(dob,txt)
if dob.is=='heading' \
- and txt !~/<#{dob.ocn}>/
- txt="#{dob.obj} <#{dob.ocn}>"
+ and txt !~/##{dob.ocn}/
+ txt="#{dob.obj} ##{dob.ocn}"
end
txt.gsub!(/<:#>/,'')
txt.strip!