Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
0d9cf39f
Commit
0d9cf39f
authored
May 16, 2013
by
Houtan Bastani
Browse files
reporting: @report: bug fix: test for os x on octave
parent
08d1d0b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/reports/@report/compile.m
View file @
0d9cf39f
...
...
@@ -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;'
...
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment