Re: how to configure LyX

2006-11-25 Thread Jens Noeckel


On Nov 24, 2006, at 11:34 PM, Paul Tremblay wrote:


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





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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the  
installer to

run. I did get a red x next to preview, indicating that the right
preview is not working?

At any rate, I now have a working version of LyX. Thanks!

Paul



Hi,

glad to hear it works - although the python issue is a bit mysterious...

Just for completeness: I forgot to mention that the defaults  
command (which writes a file called .MacOSX/environment.plist) takes  
effect only after logging out and back in again. But that really only  
helps if you have set your path to point to a working python, and  
somehow you apparently have that now.


Jens



Re: how to configure LyX

2006-11-25 Thread Jens Noeckel


On Nov 24, 2006, at 11:34 PM, Paul Tremblay wrote:


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





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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the  
installer to

run. I did get a red x next to preview, indicating that the right
preview is not working?

At any rate, I now have a working version of LyX. Thanks!

Paul



Hi,

glad to hear it works - although the python issue is a bit mysterious...

Just for completeness: I forgot to mention that the defaults  
command (which writes a file called .MacOSX/environment.plist) takes  
effect only after logging out and back in again. But that really only  
helps if you have set your path to point to a working python, and  
somehow you apparently have that now.


Jens



Re: how to configure LyX

2006-11-25 Thread Jens Noeckel


On Nov 24, 2006, at 11:34 PM, Paul Tremblay wrote:


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





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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the  
installer to

run. I did get a red x next to preview, indicating that the right
preview is not working?

At any rate, I now have a working version of LyX. Thanks!

Paul



Hi,

glad to hear it works - although the python issue is a bit mysterious...

Just for completeness: I forgot to mention that the "defaults"  
command (which writes a file called .MacOSX/environment.plist) takes  
effect only after logging out and back in again. But that really only  
helps if you have set your path to point to a working python, and  
somehow you apparently have that now.


Jens



Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


On Nov 24, 2006, at 12:56 PM, Paul Tremblay wrote:

The LyX installation on a Mac OS running 3.9 is not configured  
properly,

and I think to confiugre it should be easy. (I was not able to install
LyX using the installer because of problems with the script; I started
another thread on this problem, but no one can seem to answer it.)

When I open up the view menu, I cannot update my file. That is, I  
cannot
get LyX to convert it automatically to PDF of DVI. I have added the  
path

to the preferences and reconfigured LyX, but that does
not work.

My latex binary is in:

/usr/TeX/bin/powerpc-darwin/latex

So I have added

/usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then
run the reconfigure commnd. But this does not seem to help. LyX cannot
find latex and cannot find my classes. I have looked through the
documentation and cannot find anything to help me.

Hi,

it's hard to say what's going on - maybe the following questions will  
help:


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.


Next, what version of LyX are you using?

Your operating system is Panther, so the question arises if you had  
an older version of LyX installed previously.


Did you run the install script for LyX? You said you added the binary  
path to the preferences - I'm assuming you mean the preferences in  
the LyX menu, under PATH prefix. Is that 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.


Also, does View  pdflatex produce any output starting with lyx  
in the /tmp/ directory. Is there a latex log file?


Does exporting to latex or pdflatex work in the File menu?

I'm sure the problem is fixable, but things are a bit too hazy at  
this point.


Regards,
Jens



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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




Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


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



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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
 
 


Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
On Fri, 24 Nov 2006 16:51:23 -0800
Jens Noeckel [EMAIL PROTECTED] wrote:


 
 
 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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the installer to
run. I did get a red x next to preview, indicating that the right
preview is not working? 

At any rate, I now have a working version of LyX. Thanks!

Paul


Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


On Nov 24, 2006, at 12:56 PM, Paul Tremblay wrote:

The LyX installation on a Mac OS running 3.9 is not configured  
properly,

and I think to confiugre it should be easy. (I was not able to install
LyX using the installer because of problems with the script; I started
another thread on this problem, but no one can seem to answer it.)

When I open up the view menu, I cannot update my file. That is, I  
cannot
get LyX to convert it automatically to PDF of DVI. I have added the  
path

to the preferences and reconfigured LyX, but that does
not work.

My latex binary is in:

/usr/TeX/bin/powerpc-darwin/latex

So I have added

/usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then
run the reconfigure commnd. But this does not seem to help. LyX cannot
find latex and cannot find my classes. I have looked through the
documentation and cannot find anything to help me.

Hi,

it's hard to say what's going on - maybe the following questions will  
help:


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.


Next, what version of LyX are you using?

Your operating system is Panther, so the question arises if you had  
an older version of LyX installed previously.


Did you run the install script for LyX? You said you added the binary  
path to the preferences - I'm assuming you mean the preferences in  
the LyX menu, under PATH prefix. Is that 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.


Also, does View  pdflatex produce any output starting with lyx  
in the /tmp/ directory. Is there a latex log file?


Does exporting to latex or pdflatex work in the File menu?

I'm sure the problem is fixable, but things are a bit too hazy at  
this point.


Regards,
Jens



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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




Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


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



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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
 
 


Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
On Fri, 24 Nov 2006 16:51:23 -0800
Jens Noeckel [EMAIL PROTECTED] wrote:


 
 
 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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the installer to
run. I did get a red x next to preview, indicating that the right
preview is not working? 

At any rate, I now have a working version of LyX. Thanks!

Paul


Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


On Nov 24, 2006, at 12:56 PM, Paul Tremblay wrote:

The LyX installation on a Mac OS running 3.9 is not configured  
properly,

and I think to confiugre it should be easy. (I was not able to install
LyX using the installer because of problems with the script; I started
another thread on this problem, but no one can seem to answer it.)

When I open up the view menu, I cannot update my file. That is, I  
cannot
get LyX to convert it automatically to PDF of DVI. I have added the  
path

to the preferences and reconfigured LyX, but that does
not work.

My latex binary is in:

/usr/TeX/bin/powerpc-darwin/latex

So I have added

/usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then
run the reconfigure commnd. But this does not seem to help. LyX cannot
find latex and cannot find my classes. I have looked through the
documentation and cannot find anything to help me.

Hi,

it's hard to say what's going on - maybe the following questions will  
help:


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.


Next, what version of LyX are you using?

Your operating system is Panther, so the question arises if you had  
an older version of LyX installed previously.


Did you run the install script for LyX? You said you added the binary  
path to the preferences - I'm assuming you mean the preferences in  
the LyX menu, under "PATH prefix". Is that 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.


Also, does "View > pdflatex" produce any output starting with "lyx"  
in the /tmp/ directory. Is there a latex log file?


Does exporting to latex or pdflatex work in the File menu?

I'm sure the problem is fixable, but things are a bit too hazy at  
this point.


Regards,
Jens



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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 " 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




Re: how to configure LyX

2006-11-24 Thread Jens Noeckel


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 "  
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



Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
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 "  
> > 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
> 
> 


Re: how to configure LyX

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

>
> 
> 
> 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 didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the installer to
run. I did get a red x next to preview, indicating that the right
preview is not working? 

At any rate, I now have a working version of LyX. Thanks!

Paul