Ask Your Question

How to export PDF with EPS image in writer [closed]

asked 2013-07-13 13:37:36 +0200

leo wang gravatar image

updated 2020-07-13 12:09:19 +0200

Alex Kemp gravatar image

Hi I am using MAC version libreoffice writer Version OS: 10.8.4

The document has figures created by inserting pictures from EPS files. The ODT file is opened and viewed fine. but the exported PDF cannot show the figures.

Any suggestions will be appreciated !!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-14 16:17:36.268981

3 Answers

Sort by » oldest newest most voted

answered 2013-07-14 23:30:55 +0200

Björgvin gravatar image

updated 2013-11-17 10:07:44 +0200

oweng gravatar image

This is a known bug: fdo#34836 The original bug has been resolved (unmanageable) and subsequently split into two more manageable bugs that try to address the issues:

  • fdo#67464, Request for built-in EPS rendering
  • fdo#67465, EPS rendering: locating pstoedit on Mac a problem
edit flag offensive delete link more


It is also worth noting that this bug has huge problems as indicated in comment #44. In order to support EPS in LO a third-party tool (ghostscript or ImageMagick) needs to be installed. EPS will gradually fade away and be replaced by SVG, so it is advisable for users to start trending in this direction where possible.

oweng gravatar imageoweng ( 2013-07-15 02:20:02 +0200 )edit

I did looked this bug and comments it seems to be long time issue and complex. I just installed ghostscript or ImageMagick for mac ( . also installed "pstoedit" via macport: "$ which pstoedit /opt/local/bin/pstoedit" It still cannot export the PDF with EPS image (which is the output from Matlab)! how to make writer to find these commandline tools?

leo wang gravatar imageleo wang ( 2013-07-19 13:09:41 +0200 )edit

There is an example CorelDRAW generated EPS here: Can you export that to PDF OK using LO? It works here. It may be the MATLAB generated EPS graphics that are causing the issue, or even something on the Mac platform. I would suggest running a few tests like this to try and narrow down the problem (if possible) to determine if it is LO or something else.

oweng gravatar imageoweng ( 2013-07-19 13:45:19 +0200 )edit

@oweng, Thanks for that, see my latest answer ( below. It works when I start LO from Mac terminal (command line interface). Any further advices?

leo wang gravatar imageleo wang ( 2013-07-19 13:49:31 +0200 )edit

answered 2013-07-19 13:39:56 +0200

leo wang gravatar image

updated 2013-07-22 13:22:24 +0200

The problem is partially solved according to @Björgvin post and bug 34836

  1. Install MacPorts (

  2. Install ps2edit from Macports

    $ sudo port install pstoedit

  3. you can start libreoffice from the terminal: ./Applications/ The pdf will be exported with EPS image displayed no problem.

However. It only works in terminal mode. I still cannot export PDF with EPS Image when start libreoffice from application folder by double click. I think it is due to from terminal start the libreoffice can find the relevant tools such as "pstoedit" and "convert". Is there any suggestion that I can start libreoffice with these commands available in the default PATH?

UPDATE Now I found the solution of launch the GUI app with the user own PATH vars. For example if your "pstoedit" is in "/opt/local/bin" your LO maynot be able to find it, therefore the export PDF with EPS image will be fail. Since Lion, the GUI app environment PATH is only affected by "launchctl" command.

In my case, here is what I did:

p=$(launchctl getenv PATH)
launchctl setenv PATH /opt/local/bin:/opt/local/sbin:$p

And it now finally works for me!!!

edit flag offensive delete link more


From reading the bug comments it sounds to me like the required 3rd party tools need to be on your $PATH, in particular `pstoedit`. It appears that the easiest way to do this is to edit `/etc/paths` directly. You can also look at `~/.MacOSX/environment.plist` or the usual bash files.

oweng gravatar imageoweng ( 2013-07-19 14:01:21 +0200 )edit

answered 2013-07-13 17:21:06 +0200

m.a.riosv gravatar image

Have you enable the options to print pictures in:

Menu/Tools/Options/LibreOffice writer/Print/Contents.

edit flag offensive delete link more


Yes, this option is enabled. and my problem is not due to that.

leo wang gravatar imageleo wang ( 2013-07-19 11:05:11 +0200 )edit

Question Tools



Asked: 2013-07-13 13:37:36 +0200

Seen: 4,591 times

Last updated: Nov 17 '13