Permalink
Browse files

Updates for Windows and MacOS X

  • Loading branch information...
1 parent 4866a36 commit d29d3218a2ce801905d69565df54c95cf903ad7d fiedorow committed Feb 16, 2004
Showing with 3 additions and 2 deletions.
  1. BIN filter/tex/mimetex.darwin
  2. BIN filter/tex/mimetex.exe
  3. +3 −2 filter/tex/pix.php
View
Binary file not shown.
View
Binary file not shown.
View
@@ -50,8 +50,9 @@
case "Linux":
system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -d ". escapeshellarg($texexp) . " >$pathname");
break;
- case "Windows":
- system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -d ". escapeshellarg($texexp) . " >$pathname");
+ case "WINNT":
+ $texexp = str_replace('"','\"',$texexp);
+ system("$CFG->dirroot/$CFG->texfilterdir/mimetex.exe -e $pathname \"$texexp\"");
break;
case "Darwin":
system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -d ". escapeshellarg($texexp) . " >$pathname");

0 comments on commit d29d321

Please sign in to comment.