Graphics, Figures & TablesProblem with inserting .eps image in Latex

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dipteshc
Posts: 2
Joined: Mon Jul 13, 2009 6:33 am

Problem with inserting .eps image in Latex

Post by dipteshc »

I tried inserting a couple of .eps images in my latex file. After compliling, the .dvi produced is perfect. But when I use dvipdfm to convert to pdf, the left boundary of all the images disappear. Since all my images are plots, the left boundary is absolutely crucial. Somebody please help me sort out this prolem.

I am using Miktex 2.7 and please dont tell me to use anything else because my company wont allow that. :(

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Re: Problem with inserting .eps image in Latex

Post by gmedina »

Hi,

try converting the .dvi file to a .ps file first and then converting this .ps file to the pdf format.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with inserting .eps image in Latex

Post by localghost »

To translate the suggestion made by gmedina you need Ghostscript installed on your machine. A method that also needs that is to convert the EPS files to PDF by either using the command line tool epstopdf or convert them "on the fly" with the epstopdf package. You then could benefit from advantages of compiling with pdflatex.


Best regards and welcome to the board
Thorsten
dipteshc
Posts: 2
Joined: Mon Jul 13, 2009 6:33 am

Re: Problem with inserting .eps image in Latex

Post by dipteshc »

thank you people. your suggestions worked. whoop-de-doo!!!! :D :D :D
Post Reply