testsuite: provide meaningful output in case of LaTeX errors
parent
6adf1c2639
commit
37ab539a10
|
@ -185,6 +185,8 @@ stoch_simul(order=1,irf=20,graph_format=eps,periods=0,contemporaneous_correlatio
|
|||
collect_latex_files;
|
||||
|
||||
//identification(advanced=1,max_dim_cova_group=3,prior_mc=250);
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
|
|
|
@ -179,6 +179,8 @@ alpha2_rmse=0, // no correlation analysis
|
|||
rmse=1,ppost=1,Nsam=512);
|
||||
|
||||
collect_latex_files;
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
|
|
|
@ -96,7 +96,9 @@ identification(tex);
|
|||
identification(tex,advanced=1,max_dim_cova_group=3,prior_mc=250,no_identification_spectrum, no_identification_minimal);
|
||||
|
||||
collect_latex_files;
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
close all;
|
||||
|
|
|
@ -134,6 +134,8 @@ identification(advanced=1,max_dim_cova_group=3,prior_mc=250,tex);
|
|||
|
||||
collect_latex_files;
|
||||
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
|
|
|
@ -245,6 +245,8 @@ write_latex_original_model(write_equation_tags);
|
|||
write_latex_steady_state_model;
|
||||
|
||||
collect_latex_files;
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
end
|
||||
|
|
|
@ -165,6 +165,8 @@ realtime_shock_decomposition(fast_realtime=75) y_obs R_obs pie_obs dq de;
|
|||
squeeze_shock_decomposition;
|
||||
|
||||
collect_latex_files;
|
||||
if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
|
||||
[status, cmdout]=system(['pdflatex -halt-on-error -interaction=nonstopmode ' M_.fname '_TeX_binder.tex']);
|
||||
if status
|
||||
cmdout
|
||||
error('TeX-File did not compile.')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue