MDL-48846 filter: Stop reffering to invalid moodle.org/download/mimetex
This commit is contained in:
committed by
Sara Arjona
parent
175b3708c9
commit
292df9f613
@@ -338,17 +338,8 @@ Mathematics Tools</a> forum in the Using Moodle course on moodle.org.</li>
|
||||
running Unix, a likely cause is that the mimetex binary you are using is
|
||||
incompatible with your operating system. You can try compiling it from the
|
||||
C sources downloaded from <a href="http://www.forkosh.com/mimetex.zip">
|
||||
http://www.forkosh.com/mimetex.zip</a>, or looking for an appropriate
|
||||
binary at <a href="http://moodle.org/download/mimetex/">
|
||||
http://moodle.org/download/mimetex/</a>. You may then also need to
|
||||
edit your moodle/filter/algebra/pix.php file to add
|
||||
<br /><?php echo "case "" . PHP_OS . "":" ;?><br ?> to the list of operating systems
|
||||
in the switch (PHP_OS) statement. Windows users may have a problem properly
|
||||
unzipping mimetex.exe. Make sure that mimetex.exe is is <b>PRECISELY</b>
|
||||
433152 bytes in size. If not, download fresh copy from
|
||||
<a href="http://moodle.org/download/mimetex/windows/mimetex.exe">
|
||||
http://moodle.org/download/mimetex/windows/mimetex.exe</a>. Lastly check
|
||||
the execute permissions on your mimetex binary, as outlined in item 2 above.</li>
|
||||
http://www.forkosh.com/mimetex.zip</a>. Lastly check the execute permissions
|
||||
on your mimetex binary, as outlined in item 2 above.</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -29,15 +29,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
function filter_tex_get_executable($debug=false) {
|
||||
global $CFG;
|
||||
|
||||
$error_message1 = "Your system is not configured to run mimeTeX. You need to download the appropriate<br />"
|
||||
."executable for you ".PHP_OS." platform from <a href=\"http://moodle.org/download/mimetex/\">"
|
||||
."http://moodle.org/download/mimetex/</a>, or obtain the C source<br /> "
|
||||
."from <a href=\"http://www.forkosh.com/mimetex.zip\">"
|
||||
."http://www.forkosh.com/mimetex.zip</a>, compile it and "
|
||||
."put the executable into your<br /> moodle/filter/tex/ directory.";
|
||||
|
||||
$error_message2 = "Custom mimetex is not executable!<br /><br />";
|
||||
|
||||
if ((PHP_OS == "WINNT") || (PHP_OS == "WIN32") || (PHP_OS == "Windows")) {
|
||||
return "$CFG->dirroot/filter/tex/mimetex.exe";
|
||||
}
|
||||
|
||||
+1
-10
@@ -377,16 +377,7 @@ If this fails or is not available, the Mimetex executable is tried. If this
|
||||
fails a likely cause is that the mimetex binary you are using is
|
||||
incompatible with your operating system. You can try compiling it from the
|
||||
C sources downloaded from <a href="http://www.forkosh.com/mimetex.zip">
|
||||
http://www.forkosh.com/mimetex.zip</a>, or looking for an appropriate
|
||||
binary at <a href="http://moodle.org/download/mimetex/">
|
||||
http://moodle.org/download/mimetex/</a>. You may then also need to
|
||||
edit your moodle/filter/tex/pix.php file to add
|
||||
<br /><?php echo "case "" . PHP_OS . "":" ;?><br ?> to the list of operating systems
|
||||
in the switch (PHP_OS) statement. Windows users may have a problem properly
|
||||
unzipping mimetex.exe. Make sure that mimetex.exe is is <b>PRECISELY</b>
|
||||
433152 bytes in size. If not, download a fresh copy from
|
||||
<a href="http://moodle.org/download/mimetex/windows/mimetex.exe">
|
||||
http://moodle.org/download/mimetex/windows/mimetex.exe</a>.
|
||||
http://www.forkosh.com/mimetex.zip</a>.
|
||||
Another possible problem which may affect
|
||||
both Unix and Windows servers is that the web server doesn't have execute permission
|
||||
on the mimetex binary. In that case change permissions accordingly</li>
|
||||
|
||||
+1
-1
@@ -383,7 +383,7 @@ $string['loginasonecourse'] = 'You cannot enter this course.<br /> You have to t
|
||||
$string['maxbytesfile'] = 'The file {$a->file} is too large. The maximum size you can upload is {$a->size}.';
|
||||
$string['maxareabytes'] = 'The file is larger than the space remaining in this area.';
|
||||
$string['messagingdisable'] = 'Messaging is disabled on this site';
|
||||
$string['mimetexisnotexist'] = 'Your system is not configured to run mimeTeX. You need to download the appropriate executable for you PHP_OS platform from <a href="http://moodle.org/download/mimetex/">http://moodle.org/download/mimetex/</a>, or obtain the C source from <a href="http://www.forkosh.com/mimetex.zip"> http://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.';
|
||||
$string['mimetexisnotexist'] = 'Your system is not configured to run mimeTeX. You need to obtain the C source from <a href="http://www.forkosh.com/mimetex.zip">http://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.';
|
||||
$string['mimetexnotexecutable'] = 'Custom mimetex is not executable!';
|
||||
$string['missingfield'] = 'Field "{$a}" is missing';
|
||||
$string['missingkeyinsql'] = 'ERROR: missing param "{$a}" in query';
|
||||
|
||||
Reference in New Issue
Block a user