LaTeX forum ⇒ MiKTeX and proTeXtpdflatex -halt-on-error -interaction

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

pdflatex -halt-on-error -interaction

Postby Sineth » Wed Jul 27, 2022 5:47 am

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 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook

Return to “MiKTeX and proTeXt”

Who is online

Users browsing this forum: No registered users and 1 guest