On Fri, 24 Nov 2006 16:51:23 -0800
Jens Noeckel <[EMAIL PROTECTED]> wrote:

Thanks again Jens. I will try this in a bit. 

In the mean time I wanted to report (in case this is valuable to anyone
else), that I was able to reconfigure LyX with some success. What I did
is create a soft link in /usr/local/bin to the my executable. I didn't
think I had to do this because I added the path in the preferences in
LyX, but adding the path didn't work.

When I tried to view a document using pdflatex, I got a message stating
that /tmp/xxxlyx/xxlyx/myfile.pdf could not be found. I went to the
directory and found the file myfile.tex and typed

pdflatex myfile.tex

Some defaults had to run in pdflatex, as if pdflatex was a first run.
Then the document was created.

When I went back to LyX and tried to view the document in view, I had
success. 

The only problem I have now is that if I modify the document, I cannot
update it. I think this problem is different. On my linux machine you
can update PDF documents in the PDF viewer, but I know you can't do this
in Mac. Since Mac uses Adobe, the file cannot be updated. So I need to
find another viewer like ghostview. I have ghostview installed, but it
requires X11 (which is also installed), so I may have to use X11 as my
viewer. 

I will let you know how the installation goes when I change that
variable. I could also create a soft link to the place where python is
expected, couldn't I?

Paul



> 
> On Nov 24, 2006, at 3:56 PM, Paul Tremblay wrote:
> 
> > On Fri, 24 Nov 2006 13:30:02 -0800
> > Jens Noeckel <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >> since your path is not one of those listed under "prerequisites" at
> >> http://wiki.lyx.org/Mac/Mac#toc4
> >> my first question would be if you have checked that pdflatex,
> >> ghostscript and imagemagick work properly outside of LyX. How did
> >you >
> >> install this TeX (manually or using some installer)? If you're sure
> >> that this is a kosher TeX installation, you could create a symbolic
> >> link as mentioned in the above link.
> >
> > Okay, I didn't realize I needed ghostview and imagemagic. I am
> > installing them right now. The version is 1.4.3. My TeX  
> > installation is
> > "kosher" in that from the terminal I can type "latex <document>"  
> > and get
> > a PDF document. I installed it with TeXLive, I believe.
> >
> >> path to the preferences - I'm assuming you mean the preferences in
> >> the LyX menu, under "PATH prefix". Is that correct?
> >
> > Yes, that is correct.
> >
> >>
> >> To make sure people know which sh script you're talking about, it
> >> would probably be good to send the verbatim output from the Console
> >> or Terminal command line.
> >
> > I did this in a thread on 2006-11-23. The post is actually from  
> > Cynthia
> > Johnson (whose computer I am trying to install this on). In brief,
> > the .sh script stated that python was not found, though I have a
> > working version of python in /usr/local/bin.
> >
> > Thanks for your response. I wanted to reply right away even before I
> > downloaded ghostview because the easiest (and perhaps best) way to
> > fix this problem is to fix the installer problem, if possible.
> >
> > Paul
> >
> >
> 
> Paul,
> 
> looks like your python isn't being recognized, even though it  
> evidently exists. Under factory conditions, there is a python in /usr/
> 
> bin/python, but you probably installed another one (maybe MacPython). 
> 
> Hopefully this /usr/local/bin/python of yours is functional. Assuming 
> 
> it is, you could try the following command before invoking the LyX  
> Install script:
> 
> defaults write ~/.MacOSX/environment PATH $PATH
> 
> This will hopefully tell the installer what your shell path settings  
> are, and that you want it to find /usr/local/bin/python as you do in  
> the Terminal.
> 
> That way you can (with luck) get the standard installation process to 
> 
> go through before trying LyX.
> 
> Regards,
> Jens
> 
> 

Reply via email to