diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-11-02 22:55:29 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-11-02 22:55:29 -0400 |
commit | a89fd60f2b523d3ba26b1a2e198eacf6304e2729 (patch) | |
tree | 77145f4c6712f5ceef548973d7488e6122f0b160 /lib/sisu/v5/odf_format.rb | |
parent | v4 v5: version & changelog (diff) |
v4 v5: constants, ocn output delimiter (where used) changed to 「...」
Diffstat (limited to 'lib/sisu/v5/odf_format.rb')
-rw-r--r-- | lib/sisu/v5/odf_format.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/odf_format.rb b/lib/sisu/v5/odf_format.rb index d3630df9..28c69c44 100644 --- a/lib/sisu/v5/odf_format.rb +++ b/lib/sisu/v5/odf_format.rb @@ -69,12 +69,12 @@ module SiSU_ODF_Format end def set_ref_and_display set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:reference-mark-start text:name="\1"/><text:reference-mark-end text:name="\1"/></text:span>') - disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>') + disp=@paranum.gsub(/(\d+)/,%{ <text:span text:style-name="Span_subscript">#{Dx[:ocn_o]}\\1#{Dx[:ocn_c]}</text:span>}) { display: disp, set_ref: set_ref } end def set_bookmark_and_display set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:bookmark-start text:name="\1"/><text:bookmark-end text:name="\1"/></text:span>') - disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>') + disp=@paranum.gsub(/(\d+)/,%{ <text:span text:style-name="Span_subscript">#{Dx[:ocn_o]}\\1#{Dx[:ocn_c]}</text:span>}) { display: disp, set_ref: set_ref } end def name |