mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'wip-mdl-33616' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
2c42d088dd
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@
|
||||||
fclose( $fh );
|
fclose( $fh );
|
||||||
|
|
||||||
// run latex on document
|
// run latex on document
|
||||||
$command = "{$CFG->filter_tex_pathlatex} --interaction=nonstopmode $tex";
|
$command = "{$CFG->filter_tex_pathlatex} --interaction=nonstopmode --halt-on-error $tex";
|
||||||
chdir( $this->temp_dir );
|
chdir( $this->temp_dir );
|
||||||
if ($this->execute($command, $log)) { // It allways False on Windows
|
if ($this->execute($command, $log)) { // It allways False on Windows
|
||||||
// return false;
|
// return false;
|
||||||
|
|
|
@ -244,7 +244,7 @@
|
||||||
chdir($latex->temp_dir);
|
chdir($latex->temp_dir);
|
||||||
|
|
||||||
// step 1: latex command
|
// step 1: latex command
|
||||||
$cmd = "$CFG->filter_tex_pathlatex --interaction=nonstopmode $tex";
|
$cmd = "$CFG->filter_tex_pathlatex --interaction=nonstopmode --halt-on-error $tex";
|
||||||
$output .= execute($cmd);
|
$output .= execute($cmd);
|
||||||
|
|
||||||
// step 2: dvips command
|
// step 2: dvips command
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue