diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-12-02 03:19:07 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-12-02 03:22:23 -0500 |
commit | 83f669a0908f123c7703e9b5b7d587fb7580c5ab (patch) | |
tree | a12f69fcd8fa1df3c320c537885fdb9e3a80770f /lib/sisu/v3/texpdf_format.rb | |
parent | v3: 3.1.6 version & changelog "opened" (diff) |
v3, require iconv (removed), should use String#encode instead, watch
* removed iconv, required a number of places without being used, watch
Diffstat (limited to 'lib/sisu/v3/texpdf_format.rb')
-rw-r--r-- | lib/sisu/v3/texpdf_format.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v3/texpdf_format.rb b/lib/sisu/v3/texpdf_format.rb index 34169892..71a8c989 100644 --- a/lib/sisu/v3/texpdf_format.rb +++ b/lib/sisu/v3/texpdf_format.rb @@ -80,7 +80,6 @@ module SiSU_TeX_Pdf end end class Format_text_object - require 'iconv' require_relative 'defaults' # defaults.rb attr_accessor :string,:string1,:orientation,:url,:dir,:tex @@sys=SiSU_Env::System_call.new @@ -1150,7 +1149,7 @@ WOK @tex2pdf=@@tex3pdf ||=SiSU_Env::System_call.new.tex2pdf_engine end def xetex_special_characters_1(str,is='') # ~ ^ $ & % _ { } #LaTeX special characters - KEEP list - #str=Iconv.conv('ISO-8859-1', 'UTF-8', @txt) + #str=Iconv.conv('ISO-8859-1', 'UTF-8', @txt) # `require': iconv will be deprecated in the future, use String#encode instead. word=str.scan(/\S+|\n/) #unless line =~/^(?:@\S|%+\s)/ para_array=[] str=if word |