From 0d9cf39fa0e2f88d24c5990449a2001f0a96720e Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Thu, 16 May 2013 14:26:50 +0200 Subject: [PATCH] reporting: @report: bug fix: test for os x on octave --- matlab/reports/@report/compile.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reports/@report/compile.m b/matlab/reports/@report/compile.m index d890c1134..421a8fedd 100644 --- a/matlab/reports/@report/compile.m +++ b/matlab/reports/@report/compile.m @@ -47,7 +47,7 @@ if ~exist(o.filename, 'file') end if isempty(compiler) - if strncmp(computer, 'MACI', 4) + if strncmp(computer, 'MACI', 4) || ~isempty(regexpi(computer, '.*apple.*', 'once')) % Add most likely places for pdflatex to exist outside of default $PATH [status, compiler] = ... system(['PATH=$PATH:/usr/texbin:/usr/local/bin:/usr/local/sbin;' ...