# graphic does not appear [closed]

The problem is the following: I have included a graphic (png) and get no error message, but the picture does not appear on the pdf? The .png file is correct, I do not know what could be wrong?

Here is my code:

\documentclass{book}

\usepackage[ngerman]{babel}
\usepackage{mathptmx}
\usepackage{color}
\usepackage[final]{pdfpages}
\usepackage{xcolor,bookmark}
\usepackage{scrextend}
\usepackage{titlepic}
\usepackage{shorttoc}
\usepackage{courier}
\usepackage{type1cm}
\usepackage{zref-abspage}
\usepackage{makeidx}

\usepackage{graphicx}        % standard LaTeX graphics tool
% when including figure files
\usepackage{multicol}        % used for the two-column index
\usepackage[bottom]{footmisc}% places footnotes at page bottom
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{marginnote}
\usepackage{mdframed}
\makeindex             % used for the subject index
% please use the style svind.ist with

\newtheoremstyle{mystyle}
{\topsep}{\topsep}{}{}%
{\bfseries}{:}{.5em}{}%

\theoremstyle{mystyle}

skipbelow=\topsep]{beispiel}{Beispiel}

\newmdtheoremenv[hidealllines=true,
skipbelow=\topsep]{formel}{Formel}

\begin{document}
\begin{figure}[H]
\includegraphics[scale=1]{Zinsrechnung.png}
\caption{geometrisches Mittel}\label{fig:zins}
\end{figure}
\end{document}

-

## closed as too localized by Stefan Kottwitz♦Sep 14 '12 at 20:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Please, revise your .log file. If you can't find anything wrong with it, paste it here too. –  JLDiaz Aug 18 '12 at 8:51
Ok, I checked the .log file and searched for the picture but there where no problems - no error messages or things like that? –  BalboaSP Aug 18 '12 at 8:56
I tried with smaller scale values but it also does not work. The caption is also not appearing - it is just not there?! thanks to you helping me –  BalboaSP Aug 18 '12 at 9:02
yeah, but this was the error message, when I compiled it wrong with TexStudio! When I do it correct I do not get an error message and the pdf is built without a problem but the picture does not appear! –  BalboaSP Aug 18 '12 at 9:09
Please, paste the log you get when you compile it "correct". Also, please, in order to keep clean the question, delete all these temporary comments. I will do the same with mine. –  JLDiaz Aug 18 '12 at 9:14

• Graphic could be off the page; possible check: make the graphic much smaller and have a second look (\includegraphics[scaled=0.1]{picture}), put the graphic into the middle of the paper (\vfill\includegraphics{picture}\vfill), and make the paper larger (e.g. paper a2).
• graphicx package is in draft or demo modes. Or the main \documentclass uses draft option (this is passed to all \usepackages)
• The graphic file cannot be found, but the error is not seen because the user is using some kind of script which uses batchmode. Possible check: look for errors in the .log file.
You forgot the most important source: The problem can be due to something unrelated to the graphic. So the first step is to comment the \includegraphics and check if the document compiles. –  Ulrike Fischer Aug 18 '12 at 10:09