I understand this my concern has been expressed previously here,`here2 and here3 but the responses cannot still solve my problem.
I included an image in my Latex code, which was running normally until today. All attempts only show undefined control sequence.\includegraphics{IDP}. I have checked for errors, retyped the code without any luck. It seems there is something I am not doing right.
I would very much appreciate any assistance on how to correct my code.
Here is the code I am using
\documentclass[12pt,a4paper]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage[strict]{csquotes}
\usepackage{apacite}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\begin{document}
\begin{figure}[htp]
\includegraphics{IDP}
\caption*{Source:~\citeA{dunning1996investment}}
\caption{Patterns of Investment Development}
\label{figIDP}
\end{figure}
\end{document}
\usepackage{graphicx}in your preamble if not there yet, does the error persist? – Skillmon Oct 05 '19 at 11:01example-image(unless the problem is with the picture itself, which doesn't seem to be the case here). – Phelype Oleinik Oct 05 '19 at 11:06IDPwithexample-image-a, does the minimal example you posted above compile then? – cfr Oct 05 '19 at 11:50{}button) so line endings are preserved. – David Carlisle Oct 05 '19 at 11:51graphicspackage (https://miktex.org/packages/graphics) but not the LaTeX base (https://miktex.org/packages/ltxbase). https://github.com/MiKTeX/miktex-packaging/issues/131 – moewe Oct 05 '19 at 13:41graphicspackage. See my comment above. – moewe Oct 05 '19 at 16:02