reporting: compile with synctex option
parent
80de0f324f
commit
5cb2fd4ae6
|
@ -192,3 +192,6 @@ mex/build/matlab/run_m2html.m
|
|||
/contrib/ms-sbvar/*.dat
|
||||
/contrib/ms-sbvar/sbvar_commandline
|
||||
/contrib/ms-sbvar/sbvar_init_file
|
||||
|
||||
# Reporting
|
||||
*synctex.gz
|
|
@ -47,6 +47,7 @@ if ~exist(o.filename, 'file')
|
|||
end
|
||||
|
||||
middle = ' ./';
|
||||
options = '-synctex=1';
|
||||
if isoctave
|
||||
echo = 1;
|
||||
else
|
||||
|
@ -71,7 +72,7 @@ if isempty(compiler)
|
|||
o.compiler = compiler;
|
||||
end
|
||||
|
||||
status = system([compiler middle o.filename], echo);
|
||||
status = system([compiler ' ' options middle o.filename], echo);
|
||||
[junk, rfn, junk] = fileparts(o.filename);
|
||||
|
||||
if status ~= 0
|
||||
|
|
Loading…
Reference in New Issue