Graphics, Figures & TablesProblems converting EPS to PDF using EPS2PDF

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Toty
Posts: 10
Joined: Fri Apr 13, 2012 1:40 am

Problems converting EPS to PDF using EPS2PDF

Post by Toty »

Hi,

I am having problems to convert a EPS figure into PDF using the tool EPS2PDF for my Latex book. The figures are not being converted correctly, parts of them are missing.

Please find an example of the original EPS and the converted PDF in the attachemtns. You can see that a part of the legend of the graph in the PDF file is missing.
XXXX.EPS
EPS file
(214.81 KiB) Downloaded 413 times
XXXX.pdf
PDF file
(3.77 KiB) Downloaded 269 times

I am aware I could use other tools such as the epstopdf package for "on the fly" conversions. Howerver I am very advanced with the writing, and would rather avoid making drastic changes in the Texniccenter.

I would appreciate if someone could help me to fix the probelm with the EPS2PDF.

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

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Re: Problems converting EPS to PDF using EPS2PDF

Post by CrazyHorse »

when I delete the rubbish code at the beginning and the end of the EPS I get the correct PDF. The eps should start with

%!PS-Adobe-2.0 EPSF-2.0

and end with

%%EOF

I suppose you created the eps with Publisher or another Windows tool.
You can fix that problem whith running

eps2eps XXXX.EPS xxxx.eps
Post Reply