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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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: 10335
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