bin/tex2image in madowu-0.0.7 vs bin/tex2image in madowu-0.0.8
- old
+ new
@@ -58,10 +58,10 @@
img_file = Pathname(tex_file).sub_ext(".#{img_ext}").to_s
commands = []
commands << "#{LATEX} #{tex_file} > /dev/null"
-commands << "#{CONVERT} -trim -density #{density}x#{density} #{dvi_file} #{img_file}"
+commands << "#{CONVERT} -background white -alpha deactivate -trim -density #{density}x#{density} #{dvi_file} #{img_file}"
execute(commands)
commands = []
trash_exts = [ 'aux', 'dvi', 'fdb_latexmk', 'fls', 'log']
trash_exts.each do |ext|