Graphics, Figures & TablesEPS file is not found

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Harri
Posts: 6
Joined: Sun Jan 02, 2011 4:49 pm

EPS file is not found

Post by Harri »

Dear friends,

I am new to latex as well to this community also.

I am writing a thesis. In which I am using a following packages --

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{amsmath}
\usepackage[small]{caption}
\usepackage[dvips]{graphicx}
\usepackage{amsmath}
\usepackage[retainorgcmds]{IEEEtrantools}
\usepackage{mathtext}
\usepackage{phdthesis}

-----
\include{chapterone}
----

\begin{figure}[h]
\centering
\includegraphics [width=80mm] {Circle.eps} 
\caption{Plot of solid on solid friction against surface roughness.}
\label{fig:roughness}
\end{figure}
and in sty file --

Code: Select all

\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{phdthesis}[2007/09/11 v1.0 PhD Thesis Style]
\RequirePackage[avantgarde]{quotchap}
After running is it, it says "Circle.eps" is not found, thou it is in the same directory.

This same code is running on some other system.

Please help me.
Last edited by Stefan Kottwitz on Wed Jun 15, 2011 5:33 pm, edited 1 time in total.

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: EPS file is not found

Post by Stefan Kottwitz »

Hi Harri,

welcome to the board!

Ensure that you use LaTeX, compiling to DVI anc converting to PS/PDF, instead of running pdfLaTeX which doesn't directly support EPS files.

Stefan
LaTeX.org admin
Harri
Posts: 6
Joined: Sun Jan 02, 2011 4:49 pm

Re: EPS file is not found

Post by Harri »

Dear Stefan,
Thanks for reply.

But problem still persist. AS you mentioned, I am using LATEX only then convert DVI file to PDF.

-- Hari
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: EPS file is not found

Post by Stefan Kottwitz »

Hi Hari,

is your file system case sensitive? Perhaps it's circle.eps with small c?

Stefan
LaTeX.org admin
Harri
Posts: 6
Joined: Sun Jan 02, 2011 4:49 pm

Re: EPS file is not found

Post by Harri »

Hi Stefan,

Sorry for late reply. Little busy with other things. No that was not the problem, but I figure it out --- In one code (which is running on one PC perfectly) it was able to import eps files from some other folder in same directory, using following command --

G:/Hari/latex writting/Phd_thesis_ harri/fig/chapter1/Circle.eps,

but on another PC this command is not working.. (I made sure that the path was right) --- strange !!

I copied all the EPS file in same folder in which my tex file is, now it is working fine.

Any way. Thanks for your kind help.

Hari
Post Reply