On Thu, Apr 3, 2008 at 11:51 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 3, 2008 at 9:23 AM, Charlse Darwin <[EMAIL PROTECTED]> > wrote: > > In Lyx->Preference->Paths->PATH prefix I have > > > >/usr/texbin:/usr/local/gwTeX/bin/powerpc-apple-darwin-current:/usr/local/gwTeX/bin/i386-apple-darwin-current:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/local/teTeX/bin/i386-apple-darwin-current:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin > > > That's the problem then. You need to add the path to your paths :-}. > So that LyX knows where all your LaTeX stuff is. Yes. I'm not sure where macports puts its latex files, but you can find out by going to Terminal.app (Applications > Utilities) and typing: which latex which should return the path to latex. That path (minus the "latex" part) is what you need to add to the PATH prefix, as Bob indicated. So for me, "which latex" returns: /usr/texbin/latex and so I add to the beginning of PATH prefix just the "/usr/texbin" part, followed by a colon (":"). (Of course, in my case, "/usr/texbin" is already there, which is why it works for me.) Then LyX should work for you. Please let us know what you have to add. I haven't used macports lately, so I'm not sure where they currently put the latex executables, but we should make sure that is a part of the default PATH prefix so that others don't have this problem. One final note: there's no reason to use macports to install LyX. They actually tend to be behind the current LyX binaries we post on the LyX website. All you need to do is download the binary, drag LyX.app wherever you want it, run the installer, and you're done. Bennett