Generalno graphics in the ouput but no erros while compiling

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gmod
Posts: 1
Joined: Fri Oct 03, 2008 11:52 am

no graphics in the ouput but no erros while compiling

Post by gmod »

Hello,

i'm new and not sure if this is the right section for my request.

I'm using debian with a minimal installation + kile + texlive-full.

When i compile my .tex 2 .dvi 2 .ps or .pdf i get no error or warning but there are no pictures in the pdf or ps files.
I*ve tried different format: .ps .jpg .png .pdf
I don't know what is wrong. The tex file is correctly compiled and the graphics are shown in the pdf or ps output when i use ubuntu 8.04 + kile + texlive-full.

Please help me. I dont know what is missing or wrong.


is use the follwoing commands and packages for graphics:

\usepackage{graphicx}
\usepackage{epsfig}

\begin{figure}
\begin{center}
\includegraphics[width=\textwidth]{/home/xxx/test.ps}
\end{center}\caption{This is a caption}\protect \label{fig:test}
\end{figure}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

no graphics in the ouput but no erros while compiling

Post by localghost »

Apart from some minor issues I can't see any fault in the code. You should omit the the epsfig package because it is obsolete. Its job is done by graphicx, which you are already loading. Supplement your code as follows and start a new run.

Code: Select all

\listfiles
\documentclass[11pt,a4paper]{article}
\usepackage{graphicx}

\begin{figure}[!ht]]
  \centering
  \includegraphics[width=\textwidth]{/home/xxx/test.ps}
  \caption{This is a caption}\label{fig:test}
\end{figure}
Afterwards post the complete log file. It will tell us what is going wrong.


Best regards and welcome to the board
Thorsten¹
Post Reply