diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-09 12:27:23 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-09 12:27:23 +0100 |
commit | 74de55918974eb71123ab16321d135623d7b198d (patch) | |
tree | fe61423a2c09da85cc66a498653b03809a4c9dc4 /lib/sisu/v0/texinfo.rb | |
parent | texpdf, when not to output numbers on text objects (diff) |
markup header, cleaning of obsoleted url_png marker
Diffstat (limited to 'lib/sisu/v0/texinfo.rb')
-rw-r--r-- | lib/sisu/v0/texinfo.rb | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/lib/sisu/v0/texinfo.rb b/lib/sisu/v0/texinfo.rb index 18415c47..3c7a35c2 100644 --- a/lib/sisu/v0/texinfo.rb +++ b/lib/sisu/v0/texinfo.rb @@ -103,23 +103,19 @@ module SiSU_TexInfo data=IO.readlines(@opt.fns,'') @md=SiSU_Param::Parameters.new(@opt).get puts "\t#{@@cX.grey}TexInfo#{@@cX.off}" - #@@copyright="\n #{@@tex_backslash*2}[3]\\ \\linebreak \\copyright \\ #{@md.copyright_tex}" if @md.copyright_tex #appears to be redundant ! remove 2004w19 - if @md.markup.to_s !~ /url_png/ - my_make=SiSU_Env::Create_file.new(@opt.cmd,@opt.fns) - directories - @marshalfile=my_make.marshal_meta - if FileTest.file?(@marshalfile)==true - File.open(@marshalfile) { |f| @@tuned_file=Marshal.load(f)} - tell.meta_verse_skipped unless @opt.cmd =~/q/ - else - tex_array=IO.readlines(@opt.fns,'') - SiSU_Metaverse.songsheet(tex_array) - end - tex_array=@@tuned_file - Texinfo_make.new(tex_array,@md).songsheet - tex_array='' + my_make=SiSU_Env::Create_file.new(@opt.cmd,@opt.fns) + directories + @marshalfile=my_make.marshal_meta + if FileTest.file?(@marshalfile)==true + File.open(@marshalfile) { |f| @@tuned_file=Marshal.load(f)} + tell.meta_verse_skipped unless @opt.cmd =~/q/ + else + tex_array=IO.readlines(@opt.fns,'') + SiSU_Metaverse.songsheet(tex_array) end - #@@filename_texinfo.close if @@filename_texinfo + tex_array=@@tuned_file + Texinfo_make.new(tex_array,@md).songsheet + tex_array='' @@filename_texinfo=nil rescue; STDERR.puts SiSU_Screen::Ansi.new(@opt.cmd,$!,$@).rescue ensure |