Graphics, Figures & TablesEps figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bolle
Posts: 8
Joined: Wed May 20, 2009 4:52 pm

Eps figure

Post by bolle »

Hi,

I have a report where in I already added a lot of eps files without problems using the command:
pdftex --enable-write18 -interaction=nonstopmode "filename.tex"

I wanted to add today another eps file but now he produces a very strange pdf file.

This is my code:

Code: Select all

\documentclass[a4paper]{report}
\usepackage[english]{babel}
\usepackage{graphicx, ctable, url, amsmath,mathrsfs, bbm}
\usepackage[pdftex, colorlinks]{hyperref}
\usepackage[latin1]{inputenc}
\usepackage[text={14cm, 24cm}]{geometry}
\usepackage{epstopdf}

\begin{document}
yahaaaa

\begin{figure}[h]
\centering
\includegraphics[width=5cm]{rel_cu_coplan_norm_unc_75000}
\caption{blaaa}
\label{figuur:blabala}
\end{figure}

\end{document}
The pdf file looks as follows:

[a4paper]report [english]babel graphicx, ctable, url, amsmath,mathrsfs, bbm [pdftex, colorlinks]hyperref
[latin1]inputenc [text=14cm, 24cm]geometry epstopdf
document yahaaaa
gure[h] [width=5cm]relcucoplannormunc75000blaaafiguur : blabala

Although I did not change anything to my installation or something...

Recommended reading 2024:

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

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

T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Eps figure

Post by T3. »

Use pdflatex instead of pdftex to compile your document and it should be OK.

Cheers,

Tomek
bolle
Posts: 8
Joined: Wed May 20, 2009 4:52 pm

Re: Eps figure

Post by bolle »

Oh! I must have forgotten that. Thanks for the advice!
Post Reply