rabbit の TeX による数式表示

rabbit-0.5.3/lib/rabbit/parser/ext/tex.rb の中身で, TeX を image に変換している所,

 begin
   latex_command = ["latex", "-halt-on-error",
                    "-output-directory=#{dir}", latex_file.path]
   dvips_command = ["dvips", "-q", "-E", dvi_path, "-o", eps_path]
     unless SystemRunner.run(*latex_command)
       raise TeXCanNotHandleError.new(latex_command.join(" "))
     end
     unless SystemRunner.run(*dvips_command)
       raise TeXCanNotHandleError.new(dvips_command.join(" "))
     end
     FileUtils.mv(eps_path, image_file.path)
     image_file
   ensure
   FileUtils.rm_f(dvi_path)
   FileUtils.rm_f(eps_path)
   FileUtils.rm_f(log_path)
   FileUtils.rm_f(aux_path)
 end

ここをちょっと弄れば, もう少し良い感じで数式が表現できそう.

...しかし, 最近「PowerPoint 使おうよ」プレッシャー凄いなぁ...