Graphics, Figures & Tablesgraphicx | Included Image and following Text not displayed

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
nich
Posts: 14
Joined: Fri Aug 13, 2010 8:22 am

graphicx | Included Image and following Text not displayed

Post by nich »

I'm still a bit of a LaTeX noob, and this one has got me stumped. My code is:

Code: Select all

\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\begin{document}

paragraph one

\includegraphics{ConfidenceChart.png}

paragraph two

\end{document}
Paragraph one appears in the output pdf, but the graphic 'ConfidenceChart.png' does not appear, and neither does anything I write below it!

This seems like it should be such a simple operation...

Any help would be greatly appreciated

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Re: graphicx | Included Image and following Text not display

Post by Stefan Kottwitz »

Did you get warnings or errors? Perhaps post the .log file here, as attachment. You could also post the png image, if you like.

Stefan
LaTeX.org admin
nich
Posts: 14
Joined: Fri Aug 13, 2010 8:22 am

Re: graphicx | Included Image and following Text not display

Post by nich »

It says there were 0 errors, 0 warnings 0 bad boxes and 0 page(s)... even though the pdf is three pages long.

I've uploaded the log file which may have some clues. Haven't uploaded the png - its just a graph I made in excel
Attachments
A1upload.log
(5.21 KiB) Downloaded 298 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

graphicx | Included Image and following Text not displayed

Post by Stefan Kottwitz »

0 pages mean there wasn't any output produced. Perhaps the 3 page pdf was from a previous compilation.

However, I see that the log file is incomplete, which points to a known issue with MiKTeX. Have a look at No output after recovering from system rebuild, there's a solution.

Stefan
LaTeX.org admin
nich
Posts: 14
Joined: Fri Aug 13, 2010 8:22 am

Re: graphicx | Included Image and following Text not display

Post by nich »

Excellent,

I didn't even realize the whole document wasn't changing each time I compiled - thought it was just that I couldn't see text that I added after the insert graphic line.

So, for future reference, the solution was to switch on-the-fly package downloading to yes or no but not 'ask me first'. I accessed Miktex options through:
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\mo_admin.exe

Thanks a lot Stefan
Post Reply