Well, there's probably a better way to do this, but adding the line

export PATH=$PATH:/usr/local/bin:/usr/texbin

just before

exec "$CWD/bin/inkscape" "$@"

in /Applications/Inkscape.app/Contents/Resources/script did the trick. Now I can start Inkscape.app by clicking its icon, without "losing" Render-->LaTeX.

Note: I have pstoedit in /usr/local/bin, with latex and dvips in /usr/texbin. Without the added line, the value of PATH is only /usr/bin:/bin:/usr/sbin:/sbin, rather than the value of PATH in my login shell.

Thanks again for the help.


----- Original Message -----
From: "Louis P Zulli" <zullil@...2149...>
To: "inkscape-devel" <inkscape-devel@lists.sourceforge.net>
Sent: Thursday, March 5, 2009 1:16:55 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?

Thanks, JiHO. Apparently, if I start Inkscape by clicking on the Inkscape.app icon, then my PATH variable is not read. However, if I start Inkscape by typing /Applications/Contents/MacOS/Inkscape in Terminal, I do have Extensions-->Render-->LaTeX (and it seems to work correctly).

Now I need to figure out why my first method failed.

Louis

----- Original Message -----
From: "jiho" <jo.irisson@...400...>
To: "Louis P Zulli" <zullil@...2149...>
Sent: Thursday, March 5, 2009 9:01:56 AM GMT -05:00 US/Canada Eastern
Subject: Re: [Inkscape-devel] Extensions-->Render-->LaTeX doesn't exist?

On 2009-March-05  , at 13:28 , Zulli, Louis P wrote:

> I just installed the latest snapshot of Inkscape-20809-10.5-i386.dmg  
> on my MacBook. There does not seem to be an option for including  
> LaTeX formulas. With the stable version of Inkscape, I use the  
> textext extension. However, I thought the ability to render LaTeX  
> had now been built into Inkscape.
>
> Am I missing something, or is this feature not available yet? Thanks.

I have built this snapshot. I initially saw the same here = no Latex  
extension. Nothing has changed in the .inx file itself so my best  
guess is that something changed in the loading of extensions.
However, now, after running different versions of Inkscape including  
the release one, I see the option in the devel version. No idea what  
happened.
One thing I did and you may try, is to open Inkscape.app (right click,  
show package content). Navigate to Contents/Resources/extensions and  
open eqtexsvg.inx and remove the lines:
                <dependency type="executable" location="path">latex</dependency>
        <dependency type="executable" location="path">dvips</dependency>
        <dependency type="executable" location="path">pstoedit</dependency>
it may be that Inkscape does not find these executables when it checks  
them before loading the extension, even though they are on your system  
(but in exotic places such as /usr/texbin or /opt/local/bin). Removing  
the lines removes the check.

JiHO
---
http://jo.irisson.free.fr/


------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel