I'm using TXC and using the insert function to insert a picture in my text file. The commands are done automatically with this feature and the input is:
Unfortunately, when I compile the file I get the error message: Undefined control sequence on the \includegraphics line. The output prints out:C:/Users/Ed/Desktop/Documents/Economics/Van der Waals Macroeconomy/Word Versions/Van der Waals Economy Figure 1.pdf. So what's wrong? If I remove these blocks of command then the error disappears, but I want to insert the picture.
Last edited by cgnieder on Tue Jan 14, 2014 11:24 am, edited 1 time in total.
Preparing a minimal working example can help you find the reasons for problems. In your case, the package graphicx seems to be missing. Include it in your preamble with the line