I was working on an assignment and everything worked as it should work, but then I tried to add an image and suddenly I couldn't build a pdf file anymore. It was the first time I tried to add an image (I don't have a lot of LaTeX experience) so I copied code from an other work, planning on adjusting some parameters to get what I want. Here's the code:
Code: Select all
\begin{wrapfigure}{r}{0.45\textwidth}
\includegraphics[scale=0.25]{HistAfronding}
\end{wrapfigure}
I also included the packages that the other work included. Once I tried to build the pdf file however, LaTeX said there were no errors, no warnings, no bad boxes, but the weird thing: no pages either. The pdf file didn't change. When I looked at the text describing what happens during the build process it said that it found no citation commands, bibdata commands, and bibstyle commands in the aux file. I opened the aux file and there were only two lines written in it:
When I removed the lines I added for the image, I still had the same problem so I still can't change the pdf.
An other thing that might be important: a few weeks ago I tried to build a file somebody sent to me (the file from which I copied the code for the image) but I had the same problem, even though it worked perfectly on her computer. Even when I tried to make a completely new file the problem remained. Now it suddenly disappeared without me doing anything but it came back when I used that code. I suspect it was the same problem then as it is now, but I'm not entirely sure.