Generalpdf, ps, eps....

LaTeX specific issues not fitting into one of the other forums of this category.
wjahn
Posts: 9
Joined: Fri Jun 06, 2008 1:13 pm

pdf, ps, eps....

Post by wjahn »

Hi,
I downloaded a trial version of PDFill Editor, because I needed to produce some simple graphs in vector format. My idea was to convert the pdf file into a eps file using imageMagik. All worked fine, I have my pdf graph, converted it to eps and when I open it in GSview I can see the bounding box and everything. Also checked the bb in the eps file and all is allright. BUT, when I include it in LaTeX, the graph does not appear. It appears for a fraction of a second (but without bb, the whole A4 page), and then dissappears as if it was under all the text or something. I changed the dimensions in \includegraphics, but nothing would work.

It's a strange matter, since I have been using LaTeX and eps graphs for years now and never had any problems with it.

Any suggestions??

Thanks
cheers,
wolfram
-------
Wolfram - 5 years and still a beginner

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: pdf, ps, eps....

Post by Stefan Kottwitz »

Hi Wolfram,

perhaps post the eps file here as attachment (zipped/compressed), then we could test this file on our systems.

Stefan
LaTeX.org admin
wjahn
Posts: 9
Joined: Fri Jun 06, 2008 1:13 pm

Re: pdf, ps, eps....

Post by wjahn »

ok, thanks..
Attachments
layout.zip
this is the .eps file
(57.82 KiB) Downloaded 201 times
-------
Wolfram - 5 years and still a beginner
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

pdf, ps, eps....

Post by Stefan Kottwitz »

Hi Wolfram,

I compiled this minimal example:

Code: Select all

\documentclass[a4paper,10pt]{article}
\usepackage{graphicx}
\begin{document}
\centering
\includegraphics{layout.eps}
\end{document}
I can see the image inside the produced ps file. I will attach the ps file. Can you open it and do you see the image? If yes, what happens if you just compile my minimal example?

Stefan
Attachments
layouttest.ps.zip
(63.03 KiB) Downloaded 211 times
LaTeX.org admin
wjahn
Posts: 9
Joined: Fri Jun 06, 2008 1:13 pm

Re: pdf, ps, eps....

Post by wjahn »

yeah, at least it appears...but apparently LaTeX does not recognize the bb.
I tried with a very simple script file, but with caption etc, and see what happens:
Attachments
Figure.zip
(100.02 KiB) Downloaded 198 times
-------
Wolfram - 5 years and still a beginner
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: pdf, ps, eps....

Post by Stefan Kottwitz »

Could you show the compilable tex source of this tex document?

Stefan
LaTeX.org admin
wjahn
Posts: 9
Joined: Fri Jun 06, 2008 1:13 pm

Re: pdf, ps, eps....

Post by wjahn »

here it goes...thanks for the help!!
Attachments
Figure.zip
(101.47 KiB) Downloaded 219 times
-------
Wolfram - 5 years and still a beginner
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: pdf, ps, eps....

Post by Stefan Kottwitz »

I compiled it and on my system the image is placed at the top of the second page centered horizontally.
So I assume the problem is not caused by the eps file and not by the tex code for the document.

Perhaps I could find the problem by examining your logfile. Could you post Figure.log too?

Stefan
LaTeX.org admin
wjahn
Posts: 9
Joined: Fri Jun 06, 2008 1:13 pm

Re: pdf, ps, eps....

Post by wjahn »

ok....are you running it on Linux??

I am using WinXP and running it through TeXnicCenter, maybe that's the problem :S

thanks!
wolfram
Attachments
Figure.zip
(105.58 KiB) Downloaded 218 times
-------
Wolfram - 5 years and still a beginner
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

pdf, ps, eps....

Post by Stefan Kottwitz »

Yes, I am using Linux and TeXlive. In the logfile I see you are using MiKTeX 2.4, that's very old and no longer supported, see here on the miktex-blog.

I recommend an update of your MiKTeX installation. The dates of some uses files are very old, that may cause problems. An update could solve this problem and prevent more problems from occuring.

Stefan
LaTeX.org admin
Post Reply