\documentclass[12pt]{book}
\usepackage{amsmath}
\begin{document}
\chapter{X}
\include{X}
\end{document}
It's not compiling at all. Giving me an error saying - pdflatex -synctex=1 -interaction=nonstopmode %.tex
I saw a similar question about this on the site. It did not help me. Please offer some advice.
If it helps, I didn't exactly download TexMaker and MikTex on my current laptop. I simply transferred MikTex and TexMaker from my old laptop to a external hard disk and then transferred it into my current laptop. Both are installed in the "Program Files" folder of the C drive. The LaTex documents are stored in the F drive (which k fragmented). Please let me know what to configure in the configures dialogue box if that's causing the error.
Thanks.
X.tex
file (at least for mepdflatex
?