MiKTeX and proTeXtpdflatex -halt-on-error -interaction

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
Sineth
Posts: 1
Joined: Wed Jul 27, 2022 5:45 am

pdflatex -halt-on-error -interaction

Post by Sineth »

Hi,
I am using Matlab, and Dynare to run a model.
I have the following codes to generate the Latex file. My codes were properly working and I generated the pdf file once. Now I cannot re-generate the same pdf file. I get the warning message ('TeX-File did not compile; you need to compile it manually'
Can someone please identify any issues here? I have updated MiKTeX and checked for updates. No issue is found.
My problem is as I have generated the pdf once, do I need to delete the history files or so. Otherwise how to resolve this issue.
Thanks
Sineth

write_latex_definitions;
write_latex_parameter_table;
write_latex_original_model;
write_latex_dynamic_model;
write_latex_static_model;
write_latex_steady_state_model;
collect_latex_files;

if system(['pdflatex -halt-on-error -interaction=batchmode ' M_.fname '_TeX_binder.tex'])
warning('TeX-File did not compile; you need to compile it manually')

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply