]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn
* Response
[git.ikiwiki.info.git] / doc / todo / Move_teximg_latex_preamble_to_config_file.mdwn
index 2e78136c9d4ef7ce129e65160a5fb38d3425ccc1..1077da2cd9489e1421ebe00c327c4883d25b2caf 100644 (file)
@@ -100,7 +100,7 @@ The patch also makes some other changes:
     +          # ensure destination directory exists
     +          writefile("$imagedir/$digest.png", $config{destdir}, "") &&
     +          (($config{teximg_dvipng} &&
     +          # ensure destination directory exists
     +          writefile("$imagedir/$digest.png", $config{destdir}, "") &&
     +          (($config{teximg_dvipng} &&
-    +                  system("dvipng -D 120 -bg Transparent -T tight -o $config{destdir}/$imagedir/$digest.png $tmp/$digest.dvi 2> $tmp/$digest.log") == 0
+    +                  system("dvipng -D 120 -bg Transparent -T tight -o $config{destdir}/$imagedir/$digest.png $tmp/$digest.dvi > $tmp/$digest.log") == 0
     +                  ) || 
     +          (!$config{teximg_dvipng} &&
     +                  system("dvips -E $tmp/$digest.dvi -o $tmp/$digest.ps 2> $tmp/$digest.log") == 0 &&
     +                  ) || 
     +          (!$config{teximg_dvipng} &&
     +                  system("dvips -E $tmp/$digest.dvi -o $tmp/$digest.ps 2> $tmp/$digest.log") == 0 &&