Improved mimeTeX binaries & more uniform cross-platform code in filter

This commit is contained in:
fiedorow 2004-02-17 03:41:10 +00:00
parent 1a1de46ae2
commit e8e6a5602e
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -48,7 +48,7 @@
$texexp = '\Large ' . $texexp;
switch (PHP_OS) {
case "Linux":
system("QUERY_STRING=;export QUERY_STRING;$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -d ". escapeshellarg($texexp) . " >$pathname");
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.linux -e $pathname ". escapeshellarg($texexp) );
break;
case "WINNT":
case "WIN32":
@ -57,7 +57,7 @@
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");
system("$CFG->dirroot/$CFG->texfilterdir/mimetex.darwin -e $pathname ". escapeshellarg($texexp) );
break;
}
}