Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

  1. Install MacPorts (http://www.macports.org/install.php)

  2. Install ps2edit from Macports

    $ sudo port install pstoedit

  3. you can start libreoffice from the terminal: ./Applications/LibreOffice.app/Contents/MacOS/soffice 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?

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

  1. Install MacPorts (http://www.macports.org/install.php)

  2. Install ps2edit from Macports

    $ sudo port install pstoedit

  3. you can start libreoffice from the terminal: ./Applications/LibreOffice.app/Contents/MacOS/soffice 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!!!