Permalink
Browse files

MDL-23128 tex: silence dvips output

This was causing spewwing of lots of messages to the error log..

Thanks to Fred Woolard for the suggestion
  • Loading branch information...
danpoltawski committed Nov 25, 2015
1 parent f0aa5b7 commit e5baddebcd65e7e2dd99dc4383f4ebe0d122821c
Showing with 1 addition and 1 deletion.
  1. +1 −1 filter/tex/latex.php
View
@@ -123,7 +123,7 @@ function render( $formula, $filename, $fontsize=12, $density=240, $background=''
// run dvips (.dvi to .ps)
$pathdvips = escapeshellarg(trim(get_config('filter_tex', 'pathdvips'), " '\""));
$command = "$pathdvips -E $dvi -o $ps";
$command = "$pathdvips -q -E $dvi -o $ps";
if ($this->execute($command, $log )) {
return false;
}

0 comments on commit e5badde

Please sign in to comment.