From e5baddebcd65e7e2dd99dc4383f4ebe0d122821c Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Wed, 25 Nov 2015 17:03:55 +0000 Subject: [PATCH] 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 --- filter/tex/latex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/tex/latex.php b/filter/tex/latex.php index a1966da6212..57f37bf84c0 100644 --- a/filter/tex/latex.php +++ b/filter/tex/latex.php @@ -123,7 +123,7 @@ // 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; }