I encountered this problem coming from linux, where you could just easily go to Extension->Render->LaTex and type your latex formula. This is what I did (finding every piece from different sources) to fix this problem.
The general solution is that you have to add the PATH for
pstoedit to the paths in the app. To do this follow the instruction below:
- Find the PATH to
dvips by typing the following in a terminal:
which <app.name>, and the write down the paths. These two apps are usually installed with the MacTex installation, so there shouldn't be any need for installation here.
For example here I get for both of them:
pstoedit does not exists by default in the MacTex, so you have to install it. However, I tried installing it from a tar ball and it didn't work (probably cause I didn't have all the dependencies).
I used macports here to to install this, and it worked for me. Now similarly find the PATH for
pstoedit. For example I had:
- With your desired editor, open (with
sudo) the following file:
/Applications/Inkscape.app/Contents/Resources/script. Now at the end of this file, right above the last line
exec "$CWD/bin/inkscape" "$@" add the paths that you extracted from step 1 and 2.
For example I should add the line:
After all these steps, you should be able to open1 inkscape and type latex formulas by going to Extension->Render->LaTex. This worked for me on two different 15" MacPro Retina, mid 2015, El Capitan.
1. On one of my machines, this works when opening inkscape from app launcher, but on the other one this only works when you open the app from terminal by typing
/Applications/Inkscape.app/Contents/Resources/bin/inkscape and pressing enter.