[Tkabber-dev] r2107 - trunk/tkabber-plugins/latex

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Jan 27 10:25:36 MSK 2014


Author: sergei
Date: 2014-01-27 10:25:36 +0400 (Mon, 27 Jan 2014)
New Revision: 2107

Modified:
   trunk/tkabber-plugins/latex/latex.tcl
Log:
	* Fixed accidental commit.


Modified: trunk/tkabber-plugins/latex/latex.tcl
===================================================================
--- trunk/tkabber-plugins/latex/latex.tcl	2014-01-27 06:23:02 UTC (rev 2106)
+++ trunk/tkabber-plugins/latex/latex.tcl	2014-01-27 06:25:36 UTC (rev 2107)
@@ -141,22 +141,22 @@
 
     if {[catch {
 	    exec latex -output-directory $dirname \
-		       -interaction=batchmode out.tex 2>@1
+		       -interaction=batchmode out.tex $null
 	    if {[catch {
 		exec dvigif -o [file join $dirname out.gif] \
 			    -D $res \
 			    -T tight \
-			    [file join $dirname out.dvi] 2>@1
+			    [file join $dirname out.dvi] $null
 		} msg1]} {
 		debugmsg plugins "dvigif error: $msg1, trying dvips&convert"
 		exec dvips -o [file join $dirname out.eps] \
 			   -E \
-			   [file join $dirname out.dvi] 2>@1
+			   [file join $dirname out.dvi] $null
 		exec convert +adjoin \
 			     -antialias \
 			     -density ${res}x${res} \
 			     [file join $dirname out.eps] \
-			     [file join $dirname out.gif] 2>@1
+			     [file join $dirname out.gif] $null
 	    }
 	} msg]} {
 	file delete -force $dirname



More information about the Tkabber-dev mailing list