LyXParts of figures (eps) lost in pdf

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Jutschet
Posts: 4
Joined: Thu Jan 09, 2014 3:54 pm

Parts of figures (eps) lost in pdf

Post by Jutschet »

Hi everyone,
When converting from my Lyx document to pdf parts of my figures gets lost (e.g. some axis labels). In the preview of Lyx the figures are still fine.
This happens for *.eps graphics. I found in some older threads that lyx may have a problem with this format? Is this still true?
Thanks for your help!

edit: ps2pdf seems to work, but it takes ages (5 min) for compilation ... I still don't see the reason for just loosing parts of a graphic. Anyone has an idea?

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Parts of figures (eps) lost in pdf

Post by kaiserkarl13 »

I used to have trouble with LaTeX (not PDFLaTeX) not cutting the figure at the bounding box, as EPS-supporting programs are supposed to do. You can convert the EPS files (a one-time expenditure of time) using epstopdf, then use PDFLaTeX, and it should solve this problem.
Jutschet
Posts: 4
Joined: Thu Jan 09, 2014 3:54 pm

Re: Parts of figures (eps) lost in pdf

Post by Jutschet »

Do I have to repeat this epstopdf each time I open the document (e.g. every morning) or really only once or at least always when I add a new eps graphic? I am writing my PhD-thesis, so there are a lot of figures and I add or change some multiple times every day.
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Parts of figures (eps) lost in pdf

Post by kaiserkarl13 »

You only need to run epstopdf if the EPS file changes. If each figure is the same as it was before, running it again does nothing helpful.
Post Reply