diff --git a/.gitignore b/.gitignore
index f699af2fcfad47976f428c486f88b0dc7e5dfab0..823aea5f34582cbd5a8b815ff04e97bd477e9265 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
\ No newline at end of file
diff --git a/matlab/reports/@report/compile.m b/matlab/reports/@report/compile.m
index 6388ba7dd3173f3c3aff984d994dd3d00a114058..bf416be69fc1afc4d60939809e16286e3a12c691 100644
--- a/matlab/reports/@report/compile.m
+++ b/matlab/reports/@report/compile.m
@@ -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