Graphics, Figures & TablesTeXnicCenter doesn't recognize .eps file type.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
GeorgeLeCompte
Posts: 7
Joined: Sun Jan 28, 2007 1:18 pm

TeXnicCenter doesn't recognize .eps file type.

Post by GeorgeLeCompte »

Code: Select all

\documentclass[english]{article}
\usepackage{graphicx}

\begin{document}

\begin{center}
  \includegraphics{chick.eps}
\end{center}

\end{document}

yields

! LaTeX Error: Unknown graphics extension: .eps.

when built using TexnicCenter.

It seems to be ok
latex thatfile.tex
yields a dvi file.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: TeXnicCenter doesn't recognize .eps file type.

Post by phi »

TeXnicCenter uses pdfLaTeX to produce a PDF directly. In PDF mode pdfTeX cannot include EPS images, so convert them to PDF using epstopdf.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10397
Joined: Mon Mar 10, 2008 9:44 pm

Re: TeXnicCenter doesn't recognize .eps file type.

Post by Stefan Kottwitz »

Hi George,

you could use another output profile of TeXnicCenter. Choose LaTeX => PS => PDF instead of LaTeX => PDF.
But also consider to convert the file to pdf like phi said, and to use pdfLaTeX, you could benefit from some advantages.

Stefan
LaTeX.org admin
Post Reply