summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2008-08-19 09:22:22 -0400
committerJoey Hess <joey@kitenet.net>2008-08-19 09:22:22 -0400
commit687fa6f2c0a8ed7047ad78992a0da904b4019984 (patch)
tree0c2d7df313fe0d6462ece67633208a17b557fe01
parent77cb7f5d36d7c6fd56b46fa8daad10ec52474228 (diff)
Small tweak to patch
-rw-r--r--doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn b/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn
index 2e78136c9..1077da2cd 100644
--- a/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn
+++ b/doc/todo/Move_teximg_latex_preamble_to_config_file.mdwn
@@ -100,7 +100,7 @@ The patch also makes some other changes:
+ # 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 &&