Re: Can't convert

2011-07-01 Thread Paul A. Rubin

Bill,

If you have not yet uninstalled/reinstalled (or if you have and the 
problem persists), here's another thing you can try.  Open a command 
prompt (Start  Run  cmd) and navigate to your user directory (which I 
think we established was C:\Documents and Settings\you\Application 
Data\lyx16) (or lyx20 ... you can try both versions).  From that 
directory, run


C:\Program Files\whichever LyX directory\Python\python.exe C:\Program 
Files\same LyX directory\Resources\configure.py


which will do a reconfiguration of that version of LyX.  This helped 
someone else with similar symptoms.  His case was different -- he has a 
roaming profile homed on a network drive -- but it might work for you as 
well.


Paul


Re: Can't convert

2011-07-01 Thread William Hanson
Paul,

I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
morning.  During the installation process, a got the error message
Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found. I was
nevertheless able to continue with the installation process, and I now have
2.0.0 in Program Files.  I can open it, but when I select a file to work on
I get a message which says that the selected document class article
requires external files that are not available.  (This is what happened when
the problems started ten days ago.)  When I close this message the selected
file comes up, and I can work on it.  However, when I try to View (convert)
nothing happens.  This also happened with the previous verizion of 2.0.0
when I started having problems.  But then I would get another error message
at this point, which doesn't happen now.

I've tried reconfiguring from the Tools menu, but it doesn't help.

I'm unable to execute the stuff you suggest in the message you sent earlier
today.  StartRuncmd puts me into DOS, but I'm unable to carry out the
recommended steps.

Bill

On Fri, Jul 1, 2011 at 8:17 AM, Paul A. Rubin ru...@msu.edu wrote:

 Bill,

 If you have not yet uninstalled/reinstalled (or if you have and the problem
 persists), here's another thing you can try.  Open a command prompt (Start 
 Run  cmd) and navigate to your user directory (which I think we established
 was C:\Documents and Settings\you\Application Data\lyx16) (or lyx20 ...
 you can try both versions).  From that directory, run

 C:\Program Files\whichever LyX directory\Python\python.exe C:\Program
 Files\same LyX directory\Resources\**configure.py

 which will do a reconfiguration of that version of LyX.  This helped
 someone else with similar symptoms.  His case was different -- he has a
 roaming profile homed on a network drive -- but it might work for you as
 well.

 Paul



Re: Can't convert

2011-07-01 Thread Paul A. Rubin

On 07/01/2011 12:46 PM, William Hanson wrote:


I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this 
morning.  During the installation process, a got the error message 
Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found.
When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX 
installer should not be trying to download it.  Typically the LyX 
installer looks for MiKTeX and, if it finds it, asks you whether to use 
that version or to download a new one.  I'm not sure, but I think the 
LyX installer may look for MiKTeX by checking a registry entry, so it's 
possible that you're missing the registry entry.  (The alternative would 
be that the LyX installer would look for latex.exe on the command path, 
and we've established it is there.)
I was nevertheless able to continue with the installation process, and 
I now have 2.0.0 in Program Files.  I can open it, but when I select a 
file to work on I get a message which says that the selected document 
class article requires external files that are not available.  (This 
is what happened when the problems started ten days ago.)
That's consistent with LyX thinking that you do not have a LaTeX 
distribution installed.
I'm unable to execute the stuff you suggest in the message you sent 
earlier today.  StartRuncmd puts me into DOS, but I'm unable to 
carry out the recommended steps.


The configuration script does not use the registry (I just checked), so 
I think manual configuration should work.  The script tries to find 
LaTeX by running latex.exe (against a small file), so if the MiKTeX bin 
directory is on the system command path, this should succeed.  From DOS, 
you will need to execute


cd C:\Documents and Settings\you\Application Data\lyx20

to get to the user directory, then execute the Python command I supplied 
in the last message.  If the local directory does not exist (you can 
check that with Windows Explorer, or running the command above will tell 
you Windows can't find the target directory), execute


mkdir C:\Documents and Settings\you\Application Data\lyx20

then the cd line and then the Python command.  Of course, in all this 
you need to replace you with your login id.  You may also need to put 
the path strings in quotes (C:\...\lyx20); I can't remember if that's 
necessary, and my XP machine has been retired, but it can't hurt to use 
the quotes.


Where do you get stuck trying to do this?

Paul



Re: Can't convert

2011-07-01 Thread William Hanson
I don't remember doing anything to MiKTeX when I reinstalled 2.0.0 this
morning.  And MiKTeX still appears at C:\Documents and
Settings\whanson\Local Settings\Application Data\MiKTeX 2.7.

I cannot execute cmd C:\Documents and Settings\you\Application Data\lyx20.
When I try I get Application is not recognized as an internal or external
command, operable program, or batch file.  Could this be because my DOS
prompt always comes up as

C:\Documents and Settings\whanson

I'm unable to get rid of the , and when I put \ after it and try to
continue, I get the error message.  And I'm unable to get the DOS prompt
back to just plain C:\.  Maybe I've forgotten something really simple about
DOS.

Bill


On Fri, Jul 1, 2011 at 1:10 PM, Paul A. Rubin ru...@msu.edu wrote:

 On 07/01/2011 12:46 PM, William Hanson wrote:


 I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
 morning.  During the installation process, a got the error message
 Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found.

 When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX
 installer should not be trying to download it.  Typically the LyX installer
 looks for MiKTeX and, if it finds it, asks you whether to use that version
 or to download a new one.  I'm not sure, but I think the LyX installer may
 look for MiKTeX by checking a registry entry, so it's possible that you're
 missing the registry entry.  (The alternative would be that the LyX
 installer would look for latex.exe on the command path, and we've
 established it is there.)

  I was nevertheless able to continue with the installation process, and I
 now have 2.0.0 in Program Files.  I can open it, but when I select a file to
 work on I get a message which says that the selected document class
 article requires external files that are not available.  (This is what
 happened when the problems started ten days ago.)

 That's consistent with LyX thinking that you do not have a LaTeX
 distribution installed.

  I'm unable to execute the stuff you suggest in the message you sent
 earlier today.  StartRuncmd puts me into DOS, but I'm unable to carry out
 the recommended steps.


 The configuration script does not use the registry (I just checked), so I
 think manual configuration should work.  The script tries to find LaTeX by
 running latex.exe (against a small file), so if the MiKTeX bin directory is
 on the system command path, this should succeed.  From DOS, you will need to
 execute

 cd C:\Documents and Settings\you\Application Data\lyx20

 to get to the user directory, then execute the Python command I supplied in
 the last message.  If the local directory does not exist (you can check that
 with Windows Explorer, or running the command above will tell you Windows
 can't find the target directory), execute

 mkdir C:\Documents and Settings\you\Application Data\lyx20

 then the cd line and then the Python command.  Of course, in all this you
 need to replace you with your login id.  You may also need to put the path
 strings in quotes (C:\...\lyx20); I can't remember if that's necessary,
 and my XP machine has been retired, but it can't hurt to use the quotes.

 Where do you get stuck trying to do this?

 Paul




Re: Can't convert

2011-07-01 Thread Paul A . Rubin
William Hanson whanson at umn.edu writes:

 When I try I get Application is not recognized as an internal or external
command, operable program, or batch file.  Could this be because my DOS prompt
always comes up as C:\Documents and Settings\whanson  I'm unable to get rid of
the , and when I put \ after it and try to continue, I get the error
message.  And I'm unable to get the DOS prompt back to just plain C:\.  Maybe
I've forgotten something really simple about DOS.

The DOS prompt is not the culprit.  Once you get to the C:\Documents and
Settings\whanson, type

cd Application Data\lyx20

(not sure the quotes are necessary, but they can't hurt) and see if you get
there.  If not, from the C:\Documents and Settings\whanson prompt type

cd Application Data
mkdir lyx20
cd lyx20

which should get you to where you need to be (C:\Documents and
Settings\whanson\Application Data\lyx20).  Once that's your prompt, run the
Python command, slapping quotes around all paths to be safe.

Paul




Re: Can't convert

2011-07-01 Thread Paul A. Rubin

Bill,

If you have not yet uninstalled/reinstalled (or if you have and the 
problem persists), here's another thing you can try.  Open a command 
prompt (Start  Run  cmd) and navigate to your user directory (which I 
think we established was C:\Documents and Settings\you\Application 
Data\lyx16) (or lyx20 ... you can try both versions).  From that 
directory, run


C:\Program Files\whichever LyX directory\Python\python.exe C:\Program 
Files\same LyX directory\Resources\configure.py


which will do a reconfiguration of that version of LyX.  This helped 
someone else with similar symptoms.  His case was different -- he has a 
roaming profile homed on a network drive -- but it might work for you as 
well.


Paul


Re: Can't convert

2011-07-01 Thread William Hanson
Paul,

I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
morning.  During the installation process, a got the error message
Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found. I was
nevertheless able to continue with the installation process, and I now have
2.0.0 in Program Files.  I can open it, but when I select a file to work on
I get a message which says that the selected document class article
requires external files that are not available.  (This is what happened when
the problems started ten days ago.)  When I close this message the selected
file comes up, and I can work on it.  However, when I try to View (convert)
nothing happens.  This also happened with the previous verizion of 2.0.0
when I started having problems.  But then I would get another error message
at this point, which doesn't happen now.

I've tried reconfiguring from the Tools menu, but it doesn't help.

I'm unable to execute the stuff you suggest in the message you sent earlier
today.  StartRuncmd puts me into DOS, but I'm unable to carry out the
recommended steps.

Bill

On Fri, Jul 1, 2011 at 8:17 AM, Paul A. Rubin ru...@msu.edu wrote:

 Bill,

 If you have not yet uninstalled/reinstalled (or if you have and the problem
 persists), here's another thing you can try.  Open a command prompt (Start 
 Run  cmd) and navigate to your user directory (which I think we established
 was C:\Documents and Settings\you\Application Data\lyx16) (or lyx20 ...
 you can try both versions).  From that directory, run

 C:\Program Files\whichever LyX directory\Python\python.exe C:\Program
 Files\same LyX directory\Resources\**configure.py

 which will do a reconfiguration of that version of LyX.  This helped
 someone else with similar symptoms.  His case was different -- he has a
 roaming profile homed on a network drive -- but it might work for you as
 well.

 Paul



Re: Can't convert

2011-07-01 Thread Paul A. Rubin

On 07/01/2011 12:46 PM, William Hanson wrote:


I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this 
morning.  During the installation process, a got the error message 
Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found.
When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX 
installer should not be trying to download it.  Typically the LyX 
installer looks for MiKTeX and, if it finds it, asks you whether to use 
that version or to download a new one.  I'm not sure, but I think the 
LyX installer may look for MiKTeX by checking a registry entry, so it's 
possible that you're missing the registry entry.  (The alternative would 
be that the LyX installer would look for latex.exe on the command path, 
and we've established it is there.)
I was nevertheless able to continue with the installation process, and 
I now have 2.0.0 in Program Files.  I can open it, but when I select a 
file to work on I get a message which says that the selected document 
class article requires external files that are not available.  (This 
is what happened when the problems started ten days ago.)
That's consistent with LyX thinking that you do not have a LaTeX 
distribution installed.
I'm unable to execute the stuff you suggest in the message you sent 
earlier today.  StartRuncmd puts me into DOS, but I'm unable to 
carry out the recommended steps.


The configuration script does not use the registry (I just checked), so 
I think manual configuration should work.  The script tries to find 
LaTeX by running latex.exe (against a small file), so if the MiKTeX bin 
directory is on the system command path, this should succeed.  From DOS, 
you will need to execute


cd C:\Documents and Settings\you\Application Data\lyx20

to get to the user directory, then execute the Python command I supplied 
in the last message.  If the local directory does not exist (you can 
check that with Windows Explorer, or running the command above will tell 
you Windows can't find the target directory), execute


mkdir C:\Documents and Settings\you\Application Data\lyx20

then the cd line and then the Python command.  Of course, in all this 
you need to replace you with your login id.  You may also need to put 
the path strings in quotes (C:\...\lyx20); I can't remember if that's 
necessary, and my XP machine has been retired, but it can't hurt to use 
the quotes.


Where do you get stuck trying to do this?

Paul



Re: Can't convert

2011-07-01 Thread William Hanson
I don't remember doing anything to MiKTeX when I reinstalled 2.0.0 this
morning.  And MiKTeX still appears at C:\Documents and
Settings\whanson\Local Settings\Application Data\MiKTeX 2.7.

I cannot execute cmd C:\Documents and Settings\you\Application Data\lyx20.
When I try I get Application is not recognized as an internal or external
command, operable program, or batch file.  Could this be because my DOS
prompt always comes up as

C:\Documents and Settings\whanson

I'm unable to get rid of the , and when I put \ after it and try to
continue, I get the error message.  And I'm unable to get the DOS prompt
back to just plain C:\.  Maybe I've forgotten something really simple about
DOS.

Bill


On Fri, Jul 1, 2011 at 1:10 PM, Paul A. Rubin ru...@msu.edu wrote:

 On 07/01/2011 12:46 PM, William Hanson wrote:


 I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
 morning.  During the installation process, a got the error message
 Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found.

 When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX
 installer should not be trying to download it.  Typically the LyX installer
 looks for MiKTeX and, if it finds it, asks you whether to use that version
 or to download a new one.  I'm not sure, but I think the LyX installer may
 look for MiKTeX by checking a registry entry, so it's possible that you're
 missing the registry entry.  (The alternative would be that the LyX
 installer would look for latex.exe on the command path, and we've
 established it is there.)

  I was nevertheless able to continue with the installation process, and I
 now have 2.0.0 in Program Files.  I can open it, but when I select a file to
 work on I get a message which says that the selected document class
 article requires external files that are not available.  (This is what
 happened when the problems started ten days ago.)

 That's consistent with LyX thinking that you do not have a LaTeX
 distribution installed.

  I'm unable to execute the stuff you suggest in the message you sent
 earlier today.  StartRuncmd puts me into DOS, but I'm unable to carry out
 the recommended steps.


 The configuration script does not use the registry (I just checked), so I
 think manual configuration should work.  The script tries to find LaTeX by
 running latex.exe (against a small file), so if the MiKTeX bin directory is
 on the system command path, this should succeed.  From DOS, you will need to
 execute

 cd C:\Documents and Settings\you\Application Data\lyx20

 to get to the user directory, then execute the Python command I supplied in
 the last message.  If the local directory does not exist (you can check that
 with Windows Explorer, or running the command above will tell you Windows
 can't find the target directory), execute

 mkdir C:\Documents and Settings\you\Application Data\lyx20

 then the cd line and then the Python command.  Of course, in all this you
 need to replace you with your login id.  You may also need to put the path
 strings in quotes (C:\...\lyx20); I can't remember if that's necessary,
 and my XP machine has been retired, but it can't hurt to use the quotes.

 Where do you get stuck trying to do this?

 Paul




Re: Can't convert

2011-07-01 Thread Paul A . Rubin
William Hanson whanson at umn.edu writes:

 When I try I get Application is not recognized as an internal or external
command, operable program, or batch file.  Could this be because my DOS prompt
always comes up as C:\Documents and Settings\whanson  I'm unable to get rid of
the , and when I put \ after it and try to continue, I get the error
message.  And I'm unable to get the DOS prompt back to just plain C:\.  Maybe
I've forgotten something really simple about DOS.

The DOS prompt is not the culprit.  Once you get to the C:\Documents and
Settings\whanson, type

cd Application Data\lyx20

(not sure the quotes are necessary, but they can't hurt) and see if you get
there.  If not, from the C:\Documents and Settings\whanson prompt type

cd Application Data
mkdir lyx20
cd lyx20

which should get you to where you need to be (C:\Documents and
Settings\whanson\Application Data\lyx20).  Once that's your prompt, run the
Python command, slapping quotes around all paths to be safe.

Paul




Re: Can't convert

2011-07-01 Thread Paul A. Rubin

Bill,

If you have not yet uninstalled/reinstalled (or if you have and the 
problem persists), here's another thing you can try.  Open a command 
prompt (Start > Run > cmd) and navigate to your user directory (which I 
think we established was C:\Documents and Settings\\Application 
Data\lyx16) (or lyx20 ... you can try both versions).  From that 
directory, run


C:\Program Files\\Python\python.exe C:\Program 
Files\\Resources\configure.py


which will do a reconfiguration of that version of LyX.  This helped 
someone else with similar symptoms.  His case was different -- he has a 
roaming profile homed on a network drive -- but it might work for you as 
well.


Paul


Re: Can't convert

2011-07-01 Thread William Hanson
Paul,

I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
morning.  During the installation process, a got the error message
"Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found." I was
nevertheless able to continue with the installation process, and I now have
2.0.0 in Program Files.  I can open it, but when I select a file to work on
I get a message which says that the selected document class "article"
requires external files that are not available.  (This is what happened when
the problems started ten days ago.)  When I close this message the selected
file comes up, and I can work on it.  However, when I try to View (convert)
nothing happens.  This also happened with the previous verizion of 2.0.0
when I started having problems.  But then I would get another error message
at this point, which doesn't happen now.

I've tried reconfiguring from the Tools menu, but it doesn't help.

I'm unable to execute the stuff you suggest in the message you sent earlier
today.  Start>Run>cmd puts me into DOS, but I'm unable to carry out the
recommended steps.

Bill

On Fri, Jul 1, 2011 at 8:17 AM, Paul A. Rubin  wrote:

> Bill,
>
> If you have not yet uninstalled/reinstalled (or if you have and the problem
> persists), here's another thing you can try.  Open a command prompt (Start >
> Run > cmd) and navigate to your user directory (which I think we established
> was C:\Documents and Settings\\Application Data\lyx16) (or lyx20 ...
> you can try both versions).  From that directory, run
>
> C:\Program Files\\Python\python.exe C:\Program
> Files\\Resources\**configure.py
>
> which will do a reconfiguration of that version of LyX.  This helped
> someone else with similar symptoms.  His case was different -- he has a
> roaming profile homed on a network drive -- but it might work for you as
> well.
>
> Paul
>


Re: Can't convert

2011-07-01 Thread Paul A. Rubin

On 07/01/2011 12:46 PM, William Hanson wrote:


I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this 
morning.  During the installation process, a got the error message 
"Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found."
When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX 
installer should not be trying to download it.  Typically the LyX 
installer looks for MiKTeX and, if it finds it, asks you whether to use 
that version or to download a new one.  I'm not sure, but I think the 
LyX installer may look for MiKTeX by checking a registry entry, so it's 
possible that you're missing the registry entry.  (The alternative would 
be that the LyX installer would look for latex.exe on the command path, 
and we've established it is there.)
I was nevertheless able to continue with the installation process, and 
I now have 2.0.0 in Program Files.  I can open it, but when I select a 
file to work on I get a message which says that the selected document 
class "article" requires external files that are not available.  (This 
is what happened when the problems started ten days ago.)
That's consistent with LyX thinking that you do not have a LaTeX 
distribution installed.
I'm unable to execute the stuff you suggest in the message you sent 
earlier today.  Start>Run>cmd puts me into DOS, but I'm unable to 
carry out the recommended steps.


The configuration script does not use the registry (I just checked), so 
I think manual configuration should work.  The script tries to find 
LaTeX by running latex.exe (against a small file), so if the MiKTeX bin 
directory is on the system command path, this should succeed.  From DOS, 
you will need to execute


cd C:\Documents and Settings\\Application Data\lyx20

to get to the user directory, then execute the Python command I supplied 
in the last message.  If the local directory does not exist (you can 
check that with Windows Explorer, or running the command above will tell 
you Windows can't find the target directory), execute


mkdir C:\Documents and Settings\\Application Data\lyx20

then the cd line and then the Python command.  Of course, in all this 
you need to replace  with your login id.  You may also need to put 
the path strings in quotes ("C:\...\lyx20"); I can't remember if that's 
necessary, and my XP machine has been retired, but it can't hurt to use 
the quotes.


Where do you get stuck trying to do this?

Paul



Re: Can't convert

2011-07-01 Thread William Hanson
I don't remember doing anything to MiKTeX when I reinstalled 2.0.0 this
morning.  And MiKTeX still appears at C:\Documents and
Settings\whanson\Local Settings\Application Data\MiKTeX 2.7.

I cannot execute cmd C:\Documents and Settings\\Application Data\lyx20.
When I try I get "Application is not recognized as an internal or external
command, operable program, or batch file."  Could this be because my DOS
prompt always comes up as

C:\Documents and Settings\whanson>

I'm unable to get rid of the ">", and when I put "\" after it and try to
continue, I get the error message.  And I'm unable to get the DOS prompt
back to just plain C:\.  Maybe I've forgotten something really simple about
DOS.

Bill


On Fri, Jul 1, 2011 at 1:10 PM, Paul A. Rubin  wrote:

> On 07/01/2011 12:46 PM, William Hanson wrote:
>
>>
>> I've already uninstalled both 1.6.7 and 2.0.0.  I reinstalled 2.0 this
>> morning.  During the installation process, a got the error message
>> "Downloading of MiKTeX failed.  (HTTP/1.1 4054 not found."
>>
> When you uninstalled LyX, you left MiKTeX alone, right?  If so, the LyX
> installer should not be trying to download it.  Typically the LyX installer
> looks for MiKTeX and, if it finds it, asks you whether to use that version
> or to download a new one.  I'm not sure, but I think the LyX installer may
> look for MiKTeX by checking a registry entry, so it's possible that you're
> missing the registry entry.  (The alternative would be that the LyX
> installer would look for latex.exe on the command path, and we've
> established it is there.)
>
>  I was nevertheless able to continue with the installation process, and I
>> now have 2.0.0 in Program Files.  I can open it, but when I select a file to
>> work on I get a message which says that the selected document class
>> "article" requires external files that are not available.  (This is what
>> happened when the problems started ten days ago.)
>>
> That's consistent with LyX thinking that you do not have a LaTeX
> distribution installed.
>
>  I'm unable to execute the stuff you suggest in the message you sent
>> earlier today.  Start>Run>cmd puts me into DOS, but I'm unable to carry out
>> the recommended steps.
>>
>
> The configuration script does not use the registry (I just checked), so I
> think manual configuration should work.  The script tries to find LaTeX by
> running latex.exe (against a small file), so if the MiKTeX bin directory is
> on the system command path, this should succeed.  From DOS, you will need to
> execute
>
> cd C:\Documents and Settings\\Application Data\lyx20
>
> to get to the user directory, then execute the Python command I supplied in
> the last message.  If the local directory does not exist (you can check that
> with Windows Explorer, or running the command above will tell you Windows
> can't find the target directory), execute
>
> mkdir C:\Documents and Settings\\Application Data\lyx20
>
> then the cd line and then the Python command.  Of course, in all this you
> need to replace  with your login id.  You may also need to put the path
> strings in quotes ("C:\...\lyx20"); I can't remember if that's necessary,
> and my XP machine has been retired, but it can't hurt to use the quotes.
>
> Where do you get stuck trying to do this?
>
> Paul
>
>


Re: Can't convert

2011-07-01 Thread Paul A . Rubin
William Hanson  umn.edu> writes:

> When I try I get "Application is not recognized as an internal or external
command, operable program, or batch file."  Could this be because my DOS prompt
always comes up as C:\Documents and Settings\whanson>  I'm unable to get rid of
the ">", and when I put "\" after it and try to continue, I get the error
message.  And I'm unable to get the DOS prompt back to just plain C:\.  Maybe
I've forgotten something really simple about DOS.

The DOS prompt is not the culprit.  Once you get to the C:\Documents and
Settings\whanson, type

cd "Application Data\lyx20"

(not sure the quotes are necessary, but they can't hurt) and see if you get
there.  If not, from the C:\Documents and Settings\whanson prompt type

cd "Application Data"
mkdir lyx20
cd lyx20

which should get you to where you need to be (C:\Documents and
Settings\whanson\Application Data\lyx20).  Once that's your prompt, run the
Python command, slapping quotes around all paths to be safe.

Paul




Re: Can't convert

2011-06-29 Thread William Hanson
Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text in
either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many
suggestions, for which I am grateful, but nothing has worked.  Is there a
way to wipe both versions of LyX off my computer and start over from
scratch?  My OS is Windows XP.

Bill Hanson

On Mon, Jun 27, 2011 at 2:01 PM, Richard Heck rgh...@comcast.net wrote:

 On 06/27/2011 02:53 PM, William Hanson wrote:
  I made the change in 1.6.7 but still couldn't convert.  The error
  message was, No information for exporting the format DVI.
 
  In 2.0 I changed:   article article article false
  article.cls to
  article article article true article.cls, since that was the
  closest line in 2.0 to
  article article article false.  Conversion didn't work in 2.0
  either.  The error message was, The directory path to the document
  cannot contain spaces.
 
 OK, bad idea.

 rh




Re: Can't convert

2011-06-29 Thread Paul Rubin


On 06/29/2011 02:35 PM, William Hanson wrote:

Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text 
in either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many 
suggestions, for which I am grateful, but nothing has worked.  Is 
there a way to wipe both versions of LyX off my computer and start 
over from scratch?  My OS is Windows XP.


Yes.  You can run the uninstallers:  go to Control Panel, look for the 
category that says install/uninstall software, click uninstall to get a 
list of software for which Windows has identified an uninstaller, and 
use that to wipe both versions.  (As an aside, there's a very nice 
freeware program for Windows called CCleaner that, among other things, 
will do the same thing, but a bit faster.  It also has a registry 
cleaner, which is useful for zapping wayward registry entries that many 
uninstallers leave behind.)  After uninstalling, look for the LyX 
program directories (under C:\Program Files) and the user directories 
(which you've previously visited) and delete anything that may have been 
left behind.


Paul



Re: Can't convert

2011-06-29 Thread William Hanson
Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text in
either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many
suggestions, for which I am grateful, but nothing has worked.  Is there a
way to wipe both versions of LyX off my computer and start over from
scratch?  My OS is Windows XP.

Bill Hanson

On Mon, Jun 27, 2011 at 2:01 PM, Richard Heck rgh...@comcast.net wrote:

 On 06/27/2011 02:53 PM, William Hanson wrote:
  I made the change in 1.6.7 but still couldn't convert.  The error
  message was, No information for exporting the format DVI.
 
  In 2.0 I changed:   article article article false
  article.cls to
  article article article true article.cls, since that was the
  closest line in 2.0 to
  article article article false.  Conversion didn't work in 2.0
  either.  The error message was, The directory path to the document
  cannot contain spaces.
 
 OK, bad idea.

 rh




Re: Can't convert

2011-06-29 Thread Paul Rubin


On 06/29/2011 02:35 PM, William Hanson wrote:

Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text 
in either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many 
suggestions, for which I am grateful, but nothing has worked.  Is 
there a way to wipe both versions of LyX off my computer and start 
over from scratch?  My OS is Windows XP.


Yes.  You can run the uninstallers:  go to Control Panel, look for the 
category that says install/uninstall software, click uninstall to get a 
list of software for which Windows has identified an uninstaller, and 
use that to wipe both versions.  (As an aside, there's a very nice 
freeware program for Windows called CCleaner that, among other things, 
will do the same thing, but a bit faster.  It also has a registry 
cleaner, which is useful for zapping wayward registry entries that many 
uninstallers leave behind.)  After uninstalling, look for the LyX 
program directories (under C:\Program Files) and the user directories 
(which you've previously visited) and delete anything that may have been 
left behind.


Paul



Re: Can't convert

2011-06-29 Thread William Hanson
Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text in
either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many
suggestions, for which I am grateful, but nothing has worked.  Is there a
way to wipe both versions of LyX off my computer and start over from
scratch?  My OS is Windows XP.

Bill Hanson

On Mon, Jun 27, 2011 at 2:01 PM, Richard Heck  wrote:

> On 06/27/2011 02:53 PM, William Hanson wrote:
> > I made the change in 1.6.7 but still couldn't convert.  The error
> > message was, "No information for exporting the format DVI".
> >
> > In 2.0 I changed:   "article" "article" "article" "false"
> > "article.cls" to
> > "article" "article" "article" "true" "article.cls", since that was the
> > closest line in 2.0 to
> > "article" "article" "article" "false".  Conversion didn't work in 2.0
> > either.  The error message was, "The directory path to the document
> > cannot contain spaces".
> >
> OK, bad idea.
>
> rh
>
>


Re: Can't convert

2011-06-29 Thread Paul Rubin


On 06/29/2011 02:35 PM, William Hanson wrote:

Richard, Paul, LyX Users,

It's been over a week since I've been able to convert to finished text 
in either LyX 1.6.7 or 2.0.0 (using DVI or View).  I've received many 
suggestions, for which I am grateful, but nothing has worked.  Is 
there a way to wipe both versions of LyX off my computer and start 
over from scratch?  My OS is Windows XP.


Yes.  You can run the uninstallers:  go to Control Panel, look for the 
category that says install/uninstall software, click uninstall to get a 
list of software for which Windows has identified an uninstaller, and 
use that to wipe both versions.  (As an aside, there's a very nice 
freeware program for Windows called CCleaner that, among other things, 
will do the same thing, but a bit faster.  It also has a registry 
cleaner, which is useful for zapping wayward registry entries that many 
uninstallers leave behind.)  After uninstalling, look for the LyX 
program directories (under C:\Program Files) and the user directories 
(which you've previously visited) and delete anything that may have been 
left behind.


Paul



Re: Can't convert

2011-06-28 Thread ehud.kap...@gmail.com
Actually, I have switched away from Miktex on Windows to TexLive, to 
make my Windows and Linux Latexs more similar to each other.

EK

On 06/25/2011 10:05 AM, Paul A. Rubin wrote:


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know 
what you mean when you say, open a command prompt and run 'kpsewhich 
article.cls' .
Click Start  Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably Ok or Run).  That should open a window with a DOS 
prompt.  At the prompt, type 'kpsewhich article.cls' and see what 
happens.  Don't type the single quotes (') either place.


Paul





Re: Can't convert

2011-06-28 Thread ehud.kap...@gmail.com
Actually, I have switched away from Miktex on Windows to TexLive, to 
make my Windows and Linux Latexs more similar to each other.

EK

On 06/25/2011 10:05 AM, Paul A. Rubin wrote:


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know 
what you mean when you say, open a command prompt and run 'kpsewhich 
article.cls' .
Click Start  Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably Ok or Run).  That should open a window with a DOS 
prompt.  At the prompt, type 'kpsewhich article.cls' and see what 
happens.  Don't type the single quotes (') either place.


Paul





Re: Can't convert

2011-06-28 Thread ehud.kap...@gmail.com
Actually, I have switched away from Miktex on Windows to TexLive, to 
make my Windows and Linux Latexs more similar to each other.

EK

On 06/25/2011 10:05 AM, Paul A. Rubin wrote:


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named "MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know 
what you mean when you say, "open a command prompt and run 'kpsewhich 
article.cls' ".
Click Start > Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably "Ok" or "Run").  That should open a window with a DOS 
prompt.  At the prompt, type 'kpsewhich article.cls' and see what 
happens.  Don't type the single quotes (') either place.


Paul





Re: Can't convert

2011-06-27 Thread Richard Heck
On 06/26/2011 05:54 PM, William Hanson wrote:
 Richard, Paul

 In response to Paul's latest message: 
 1.  No, I can't produce pdf output in LyX 2.0. 
 2.  In each version of LyX, what do you see in the Converter and
 Extra flag fields when you go to Tools  Preferences...  File
 Handling  Converters and highlight LaTeX (pdflatex) - PDF
 (pdflatex)? 
 In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag. 
 In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
 Extra Flag. 
 3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
 assume Paul means LaTeX (plain) - DraftDVI.)
 In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
 In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from HelpAbout),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

article article article false 

Change false to true, close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the configuration routine.

Richard



Re: Can't convert

2011-06-27 Thread William Hanson
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a message
from Pareto File Cure saying that I don't have the proper application to
open lst files.  I get a similar message from Windows.

Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck rgh...@comcast.net wrote:

 On 06/26/2011 05:54 PM, William Hanson wrote:
  Richard, Paul
 
  In response to Paul's latest message:
  1.  No, I can't produce pdf output in LyX 2.0.
  2.  In each version of LyX, what do you see in the Converter and
  Extra flag fields when you go to Tools  Preferences...  File
  Handling  Converters and highlight LaTeX (pdflatex) - PDF
  (pdflatex)?
  In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag.
  In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
  Extra Flag.
  3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
  assume Paul means LaTeX (plain) - DraftDVI.)
  In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
  In 2.0.0 I see pplatex in Converter and latex in Extra Flag.
 
 Let's try something else: We'll trick LyX into thinking these classes
 are installed and then see what happens.

 In your LyX user directory (again, you can find this from HelpAbout),
 there is a file textclass.lst. This is the file that tells LyX what
 classes and packages are installed, etc. In it, you should find a line
 that looks like this:

 article article article false 

 Change false to true, close the file and restart LyX. Can you
 convert now? If so, then the issue is purely with the configuration
 routine.

 Richard




Re: Can't convert

2011-06-27 Thread Paul A. Rubin

It's a text file.  You can open it with either Notepad or Wordpad.

Paul

On 06/27/2011 01:32 PM, William Hanson wrote:
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a 
message from Pareto File Cure saying that I don't have the proper 
application to open lst files.  I get a similar message from Windows.


Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 06/26/2011 05:54 PM, William Hanson wrote:
 Richard, Paul

 In response to Paul's latest message:
 1.  No, I can't produce pdf output in LyX 2.0.
 2.  In each version of LyX, what do you see in the Converter and
 Extra flag fields when you go to Tools  Preferences...  File
 Handling  Converters and highlight LaTeX (pdflatex) - PDF
 (pdflatex)?
 In 1.6.7 I see pdflatex $$i in Converter and latex in Extra
Flag.
 In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
 Extra Flag.
 3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
 assume Paul means LaTeX (plain) - DraftDVI.)
 In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
 In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from HelpAbout),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

article article article false 

Change false to true, close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the
configuration routine.

Richard




Re: Can't convert

2011-06-27 Thread Richard Heck
On 06/26/2011 05:54 PM, William Hanson wrote:
 Richard, Paul

 In response to Paul's latest message: 
 1.  No, I can't produce pdf output in LyX 2.0. 
 2.  In each version of LyX, what do you see in the Converter and
 Extra flag fields when you go to Tools  Preferences...  File
 Handling  Converters and highlight LaTeX (pdflatex) - PDF
 (pdflatex)? 
 In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag. 
 In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
 Extra Flag. 
 3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
 assume Paul means LaTeX (plain) - DraftDVI.)
 In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
 In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from HelpAbout),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

article article article false 

Change false to true, close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the configuration routine.

Richard



Re: Can't convert

2011-06-27 Thread William Hanson
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a message
from Pareto File Cure saying that I don't have the proper application to
open lst files.  I get a similar message from Windows.

Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck rgh...@comcast.net wrote:

 On 06/26/2011 05:54 PM, William Hanson wrote:
  Richard, Paul
 
  In response to Paul's latest message:
  1.  No, I can't produce pdf output in LyX 2.0.
  2.  In each version of LyX, what do you see in the Converter and
  Extra flag fields when you go to Tools  Preferences...  File
  Handling  Converters and highlight LaTeX (pdflatex) - PDF
  (pdflatex)?
  In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag.
  In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
  Extra Flag.
  3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
  assume Paul means LaTeX (plain) - DraftDVI.)
  In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
  In 2.0.0 I see pplatex in Converter and latex in Extra Flag.
 
 Let's try something else: We'll trick LyX into thinking these classes
 are installed and then see what happens.

 In your LyX user directory (again, you can find this from HelpAbout),
 there is a file textclass.lst. This is the file that tells LyX what
 classes and packages are installed, etc. In it, you should find a line
 that looks like this:

 article article article false 

 Change false to true, close the file and restart LyX. Can you
 convert now? If so, then the issue is purely with the configuration
 routine.

 Richard




Re: Can't convert

2011-06-27 Thread Paul A. Rubin

It's a text file.  You can open it with either Notepad or Wordpad.

Paul

On 06/27/2011 01:32 PM, William Hanson wrote:
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a 
message from Pareto File Cure saying that I don't have the proper 
application to open lst files.  I get a similar message from Windows.


Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck rgh...@comcast.net 
mailto:rgh...@comcast.net wrote:


On 06/26/2011 05:54 PM, William Hanson wrote:
 Richard, Paul

 In response to Paul's latest message:
 1.  No, I can't produce pdf output in LyX 2.0.
 2.  In each version of LyX, what do you see in the Converter and
 Extra flag fields when you go to Tools  Preferences...  File
 Handling  Converters and highlight LaTeX (pdflatex) - PDF
 (pdflatex)?
 In 1.6.7 I see pdflatex $$i in Converter and latex in Extra
Flag.
 In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in
 Extra Flag.
 3.  What do you see when you highlight LaTeX (plain) - DVI?  (I
 assume Paul means LaTeX (plain) - DraftDVI.)
 In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
 In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from HelpAbout),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

article article article false 

Change false to true, close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the
configuration routine.

Richard




Re: Can't convert

2011-06-27 Thread Richard Heck
On 06/26/2011 05:54 PM, William Hanson wrote:
> Richard, Paul
>
> In response to Paul's latest message: 
> 1.  No, I can't produce pdf output in LyX 2.0. 
> 2.  "In each version of LyX, what do you see in the "Converter" and
> "Extra flag" fields when you go to Tools > Preferences... > File
> Handling > Converters and highlight "LaTeX (pdflatex) -> PDF
> (pdflatex)"?" 
> In 1.6.7 I see "pdflatex $$i" in Converter and "latex" in Extra Flag. 
> In 2.0.0 I see "pdflatex $$i" in Converter and "latex=pdflatex" in
> Extra Flag. 
> 3.  "What do you see when you highlight "LaTeX (plain) -> DVI"?"  (I
> assume Paul means "LaTeX (plain) -> DraftDVI".)
> In 1.6.7 I see "pplatex" in Converter and "latex" in Extra Flag.
> In 2.0.0 I see "pplatex" in Converter and "latex" in Extra Flag.
>
Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from Help>About),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

"article" "article" "article" "false" ""

Change "false" to "true", close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the configuration routine.

Richard



Re: Can't convert

2011-06-27 Thread William Hanson
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a message
from Pareto File Cure saying that I don't have the proper application to
open lst files.  I get a similar message from Windows.

Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck  wrote:

> On 06/26/2011 05:54 PM, William Hanson wrote:
> > Richard, Paul
> >
> > In response to Paul's latest message:
> > 1.  No, I can't produce pdf output in LyX 2.0.
> > 2.  "In each version of LyX, what do you see in the "Converter" and
> > "Extra flag" fields when you go to Tools > Preferences... > File
> > Handling > Converters and highlight "LaTeX (pdflatex) -> PDF
> > (pdflatex)"?"
> > In 1.6.7 I see "pdflatex $$i" in Converter and "latex" in Extra Flag.
> > In 2.0.0 I see "pdflatex $$i" in Converter and "latex=pdflatex" in
> > Extra Flag.
> > 3.  "What do you see when you highlight "LaTeX (plain) -> DVI"?"  (I
> > assume Paul means "LaTeX (plain) -> DraftDVI".)
> > In 1.6.7 I see "pplatex" in Converter and "latex" in Extra Flag.
> > In 2.0.0 I see "pplatex" in Converter and "latex" in Extra Flag.
> >
> Let's try something else: We'll trick LyX into thinking these classes
> are installed and then see what happens.
>
> In your LyX user directory (again, you can find this from Help>About),
> there is a file textclass.lst. This is the file that tells LyX what
> classes and packages are installed, etc. In it, you should find a line
> that looks like this:
>
> "article" "article" "article" "false" ""
>
> Change "false" to "true", close the file and restart LyX. Can you
> convert now? If so, then the issue is purely with the configuration
> routine.
>
> Richard
>
>


Re: Can't convert

2011-06-27 Thread Paul A. Rubin

It's a text file.  You can open it with either Notepad or Wordpad.

Paul

On 06/27/2011 01:32 PM, William Hanson wrote:
I can't open the file textclass.lst in either 1.6.7 or 2.0. I get a 
message from Pareto File Cure saying that I don't have the proper 
application to open lst files.  I get a similar message from Windows.


Bill

On Mon, Jun 27, 2011 at 9:20 AM, Richard Heck > wrote:


On 06/26/2011 05:54 PM, William Hanson wrote:
> Richard, Paul
>
> In response to Paul's latest message:
> 1.  No, I can't produce pdf output in LyX 2.0.
> 2.  "In each version of LyX, what do you see in the "Converter" and
> "Extra flag" fields when you go to Tools > Preferences... > File
> Handling > Converters and highlight "LaTeX (pdflatex) -> PDF
> (pdflatex)"?"
> In 1.6.7 I see "pdflatex $$i" in Converter and "latex" in Extra
Flag.
> In 2.0.0 I see "pdflatex $$i" in Converter and "latex=pdflatex" in
> Extra Flag.
> 3.  "What do you see when you highlight "LaTeX (plain) -> DVI"?"  (I
> assume Paul means "LaTeX (plain) -> DraftDVI".)
> In 1.6.7 I see "pplatex" in Converter and "latex" in Extra Flag.
> In 2.0.0 I see "pplatex" in Converter and "latex" in Extra Flag.
>
Let's try something else: We'll trick LyX into thinking these classes
are installed and then see what happens.

In your LyX user directory (again, you can find this from Help>About),
there is a file textclass.lst. This is the file that tells LyX what
classes and packages are installed, etc. In it, you should find a line
that looks like this:

"article" "article" "article" "false" ""

Change "false" to "true", close the file and restart LyX. Can you
convert now? If so, then the issue is purely with the
configuration routine.

Richard




Re: Can't convert

2011-06-26 Thread Paul A. Rubin
Yes, you do have separate user directories (which is good).  The 
configuration logs in the user directories look fine.  Both of them 
found MiKTeX.  In particular, the 2.0 log shows that it has the correct 
converter path for producing PDF output, so View  PDF (pdflatex) should 
be working in 2.0.


In each version of LyX, what do you see in the Converter and Extra 
flag fields when you go to Tools  Preferences...  File Handling  
Converters and highlight LaTeX (pdflatex) - PDF (pdflatex)?  What do 
you see when you highlight LaTeX (plain) - DVI?


Paul

On 06/25/2011 07:40 PM, William Hanson wrote:
The configuration logs that I previously posted were in C:\Program 
Files\LyX16\Resources and C:\Program Files\LyX20\Resources.  I found 
them via a Windows Explorer search.  They were the only hits for 
configure.log.  Now, following your suggestion, I looked in 
C:\Documents and Settings\my login id\Application Data\lyx16 and in 
C:\Documents and Settings\my login id\Application Data\LyX2.0. There 
I found the two configure.log files from the reconfigurations I did 
yesterday and the day before.  Why the Explorer search didn't find 
them I don't know.  (I'm attaching these two logs.)


In view of the various paths mentioned in the previous paragraph it 
seems that I do have two separate user directories, right?


I can't View or DVI the help files in either 1.6.7 or 2.0.0

Bill



Re: Can't convert

2011-06-26 Thread Richard Heck
On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
 Yes, you do have separate user directories (which is good).  The
 configuration logs in the user directories look fine.  Both of them
 found MiKTeX.  In particular, the 2.0 log shows that it has the
 correct converter path for producing PDF output, so View  PDF
 (pdflatex) should be working in 2.0.

None of the class or package files are checked for, because we have this:

INFO: checking for a Latex2e program...
INFO: +checking for latex...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for pplatex...  yes
INFO: checking for pLaTeX, the Japanese LaTeX...
INFO: +checking for platex...  yes
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log
DEBUG: Add to RC:
\converter latex  dvi2   pplatexlatex
\converter dvi2   dvipython -tt $$s/scripts/clean_dvi.py
$$i $$o


WARNING: Latex not usable (not LaTeX2e)
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log

at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
not know why that would be, since latex itself has been found. The fact
that chklatex.log is not even created (and so can't be removed) is very
strange. Though chklatex.ltx does seem to have been created.

Paul, could you help William (temporarily) change these lines in
configure.py:

# run latex on chklatex.ltx and check result
if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

to:

output = cmdOutput((LATEX + ' chklatex.ltx')
logger.warning(output)
if output.find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

I'd really like to see what we're getting back from latex.

rh


Richard



Re: Can't convert

2011-06-26 Thread William Hanson
Richard, Paul

In response to Paul's latest message:
1.  No, I can't produce pdf output in LyX 2.0.
2.  In each version of LyX, what do you see in the Converter and Extra
flag fields when you go to Tools  Preferences...  File Handling 
Converters and highlight LaTeX (pdflatex) - PDF (pdflatex)?
In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag.
In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in Extra
Flag.
3.  What do you see when you highlight LaTeX (plain) - DVI?  (I assume
Paul means LaTeX (plain) - DraftDVI.)
In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Bill Hanson


On Sun, Jun 26, 2011 at 1:26 PM, Richard Heck rgh...@comcast.net wrote:

 On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
  Yes, you do have separate user directories (which is good).  The
  configuration logs in the user directories look fine.  Both of them
  found MiKTeX.  In particular, the 2.0 log shows that it has the
  correct converter path for producing PDF output, so View  PDF
  (pdflatex) should be working in 2.0.
 
 None of the class or package files are checked for, because we have this:

 INFO: checking for a Latex2e program...
 INFO: +checking for latex...  yes
 INFO: checking for a DVI postprocessing program...
 INFO: +checking for pplatex...  yes
 INFO: checking for pLaTeX, the Japanese LaTeX...
 INFO: +checking for platex...  yes
 DEBUG: Removing file chklatex.ltx
 DEBUG: Failed to remove file chklatex.log
 DEBUG: Add to RC:
 \converter latex  dvi2   pplatexlatex
 \converter dvi2   dvipython -tt $$s/scripts/clean_dvi.py
 $$i $$o


 WARNING: Latex not usable (not LaTeX2e)
 DEBUG: Removing file chklatex.ltx
 DEBUG: Failed to remove file chklatex.log

 at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
 not know why that would be, since latex itself has been found. The fact
 that chklatex.log is not even created (and so can't be removed) is very
 strange. Though chklatex.ltx does seem to have been created.

 Paul, could you help William (temporarily) change these lines in
 configure.py:

# run latex on chklatex.ltx and check result
if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

 to:

output = cmdOutput((LATEX + ' chklatex.ltx')
logger.warning(output)
if output.find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

 I'd really like to see what we're getting back from latex.

 rh


 Richard




Re: Can't convert

2011-06-26 Thread Paul A. Rubin
Yes, you do have separate user directories (which is good).  The 
configuration logs in the user directories look fine.  Both of them 
found MiKTeX.  In particular, the 2.0 log shows that it has the correct 
converter path for producing PDF output, so View  PDF (pdflatex) should 
be working in 2.0.


In each version of LyX, what do you see in the Converter and Extra 
flag fields when you go to Tools  Preferences...  File Handling  
Converters and highlight LaTeX (pdflatex) - PDF (pdflatex)?  What do 
you see when you highlight LaTeX (plain) - DVI?


Paul

On 06/25/2011 07:40 PM, William Hanson wrote:
The configuration logs that I previously posted were in C:\Program 
Files\LyX16\Resources and C:\Program Files\LyX20\Resources.  I found 
them via a Windows Explorer search.  They were the only hits for 
configure.log.  Now, following your suggestion, I looked in 
C:\Documents and Settings\my login id\Application Data\lyx16 and in 
C:\Documents and Settings\my login id\Application Data\LyX2.0. There 
I found the two configure.log files from the reconfigurations I did 
yesterday and the day before.  Why the Explorer search didn't find 
them I don't know.  (I'm attaching these two logs.)


In view of the various paths mentioned in the previous paragraph it 
seems that I do have two separate user directories, right?


I can't View or DVI the help files in either 1.6.7 or 2.0.0

Bill



Re: Can't convert

2011-06-26 Thread Richard Heck
On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
 Yes, you do have separate user directories (which is good).  The
 configuration logs in the user directories look fine.  Both of them
 found MiKTeX.  In particular, the 2.0 log shows that it has the
 correct converter path for producing PDF output, so View  PDF
 (pdflatex) should be working in 2.0.

None of the class or package files are checked for, because we have this:

INFO: checking for a Latex2e program...
INFO: +checking for latex...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for pplatex...  yes
INFO: checking for pLaTeX, the Japanese LaTeX...
INFO: +checking for platex...  yes
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log
DEBUG: Add to RC:
\converter latex  dvi2   pplatexlatex
\converter dvi2   dvipython -tt $$s/scripts/clean_dvi.py
$$i $$o


WARNING: Latex not usable (not LaTeX2e)
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log

at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
not know why that would be, since latex itself has been found. The fact
that chklatex.log is not even created (and so can't be removed) is very
strange. Though chklatex.ltx does seem to have been created.

Paul, could you help William (temporarily) change these lines in
configure.py:

# run latex on chklatex.ltx and check result
if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

to:

output = cmdOutput((LATEX + ' chklatex.ltx')
logger.warning(output)
if output.find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

I'd really like to see what we're getting back from latex.

rh


Richard



Re: Can't convert

2011-06-26 Thread William Hanson
Richard, Paul

In response to Paul's latest message:
1.  No, I can't produce pdf output in LyX 2.0.
2.  In each version of LyX, what do you see in the Converter and Extra
flag fields when you go to Tools  Preferences...  File Handling 
Converters and highlight LaTeX (pdflatex) - PDF (pdflatex)?
In 1.6.7 I see pdflatex $$i in Converter and latex in Extra Flag.
In 2.0.0 I see pdflatex $$i in Converter and latex=pdflatex in Extra
Flag.
3.  What do you see when you highlight LaTeX (plain) - DVI?  (I assume
Paul means LaTeX (plain) - DraftDVI.)
In 1.6.7 I see pplatex in Converter and latex in Extra Flag.
In 2.0.0 I see pplatex in Converter and latex in Extra Flag.

Bill Hanson


On Sun, Jun 26, 2011 at 1:26 PM, Richard Heck rgh...@comcast.net wrote:

 On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
  Yes, you do have separate user directories (which is good).  The
  configuration logs in the user directories look fine.  Both of them
  found MiKTeX.  In particular, the 2.0 log shows that it has the
  correct converter path for producing PDF output, so View  PDF
  (pdflatex) should be working in 2.0.
 
 None of the class or package files are checked for, because we have this:

 INFO: checking for a Latex2e program...
 INFO: +checking for latex...  yes
 INFO: checking for a DVI postprocessing program...
 INFO: +checking for pplatex...  yes
 INFO: checking for pLaTeX, the Japanese LaTeX...
 INFO: +checking for platex...  yes
 DEBUG: Removing file chklatex.ltx
 DEBUG: Failed to remove file chklatex.log
 DEBUG: Add to RC:
 \converter latex  dvi2   pplatexlatex
 \converter dvi2   dvipython -tt $$s/scripts/clean_dvi.py
 $$i $$o


 WARNING: Latex not usable (not LaTeX2e)
 DEBUG: Removing file chklatex.ltx
 DEBUG: Failed to remove file chklatex.log

 at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
 not know why that would be, since latex itself has been found. The fact
 that chklatex.log is not even created (and so can't be removed) is very
 strange. Though chklatex.ltx does seem to have been created.

 Paul, could you help William (temporarily) change these lines in
 configure.py:

# run latex on chklatex.ltx and check result
if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

 to:

output = cmdOutput((LATEX + ' chklatex.ltx')
logger.warning(output)
if output.find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning(Latex not usable (not LaTeX2e) )
# remove temporary files

 I'd really like to see what we're getting back from latex.

 rh


 Richard




Re: Can't convert

2011-06-26 Thread Paul A. Rubin
Yes, you do have separate user directories (which is good).  The 
configuration logs in the user directories look fine.  Both of them 
found MiKTeX.  In particular, the 2.0 log shows that it has the correct 
converter path for producing PDF output, so View > PDF (pdflatex) should 
be working in 2.0.


In each version of LyX, what do you see in the "Converter" and "Extra 
flag" fields when you go to Tools > Preferences... > File Handling > 
Converters and highlight "LaTeX (pdflatex) -> PDF (pdflatex)"?  What do 
you see when you highlight "LaTeX (plain) -> DVI"?


Paul

On 06/25/2011 07:40 PM, William Hanson wrote:
The configuration logs that I previously posted were in C:\Program 
Files\LyX16\Resources and C:\Program Files\LyX20\Resources.  I found 
them via a Windows Explorer search.  They were the only hits for 
"configure.log".  Now, following your suggestion, I looked in 
C:\Documents and Settings\\Application Data\lyx16 and in 
C:\Documents and Settings\\Application Data\LyX2.0. There 
I found the two configure.log files from the reconfigurations I did 
yesterday and the day before.  Why the Explorer search didn't find 
them I don't know.  (I'm attaching these two logs.)


In view of the various paths mentioned in the previous paragraph it 
seems that I do have two separate user directories, right?


I can't View or DVI the help files in either 1.6.7 or 2.0.0

Bill



Re: Can't convert

2011-06-26 Thread Richard Heck
On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
> Yes, you do have separate user directories (which is good).  The
> configuration logs in the user directories look fine.  Both of them
> found MiKTeX.  In particular, the 2.0 log shows that it has the
> correct converter path for producing PDF output, so View > PDF
> (pdflatex) should be working in 2.0.
>
None of the class or package files are checked for, because we have this:

INFO: checking for a Latex2e program...
INFO: +checking for "latex"...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for "pplatex"...  yes
INFO: checking for pLaTeX, the Japanese LaTeX...
INFO: +checking for "platex"...  yes
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log
DEBUG: Add to RC:
\converter latex  dvi2   "pplatex""latex"
\converter dvi2   dvi"python -tt $$s/scripts/clean_dvi.py
$$i $$o"""


WARNING: Latex not usable (not LaTeX2e)
DEBUG: Removing file chklatex.ltx
DEBUG: Failed to remove file chklatex.log

at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
not know why that would be, since latex itself has been found. The fact
that chklatex.log is not even created (and so can't be removed) is very
strange. Though chklatex.ltx does seem to have been created.

Paul, could you help William (temporarily) change these lines in
configure.py:

# run latex on chklatex.ltx and check result
if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning("Latex not usable (not LaTeX2e) ")
# remove temporary files

to:

output = cmdOutput((LATEX + ' chklatex.ltx')
logger.warning(output)
if output.find('ThisIsLaTeX2e') != -1:
# valid latex2e
return LATEX
else:
logger.warning("Latex not usable (not LaTeX2e) ")
# remove temporary files

I'd really like to see what we're getting back from latex.

rh


Richard



Re: Can't convert

2011-06-26 Thread William Hanson
Richard, Paul

In response to Paul's latest message:
1.  No, I can't produce pdf output in LyX 2.0.
2.  "In each version of LyX, what do you see in the "Converter" and "Extra
flag" fields when you go to Tools > Preferences... > File Handling >
Converters and highlight "LaTeX (pdflatex) -> PDF (pdflatex)"?"
In 1.6.7 I see "pdflatex $$i" in Converter and "latex" in Extra Flag.
In 2.0.0 I see "pdflatex $$i" in Converter and "latex=pdflatex" in Extra
Flag.
3.  "What do you see when you highlight "LaTeX (plain) -> DVI"?"  (I assume
Paul means "LaTeX (plain) -> DraftDVI".)
In 1.6.7 I see "pplatex" in Converter and "latex" in Extra Flag.
In 2.0.0 I see "pplatex" in Converter and "latex" in Extra Flag.

Bill Hanson


On Sun, Jun 26, 2011 at 1:26 PM, Richard Heck  wrote:

> On 06/26/2011 10:41 AM, Paul A. Rubin wrote:
> > Yes, you do have separate user directories (which is good).  The
> > configuration logs in the user directories look fine.  Both of them
> > found MiKTeX.  In particular, the 2.0 log shows that it has the
> > correct converter path for producing PDF output, so View > PDF
> > (pdflatex) should be working in 2.0.
> >
> None of the class or package files are checked for, because we have this:
>
> INFO: checking for a Latex2e program...
> INFO: +checking for "latex"...  yes
> INFO: checking for a DVI postprocessing program...
> INFO: +checking for "pplatex"...  yes
> INFO: checking for pLaTeX, the Japanese LaTeX...
> INFO: +checking for "platex"...  yes
> DEBUG: Removing file chklatex.ltx
> DEBUG: Failed to remove file chklatex.log
> DEBUG: Add to RC:
> \converter latex  dvi2   "pplatex""latex"
> \converter dvi2   dvi"python -tt $$s/scripts/clean_dvi.py
> $$i $$o"""
>
>
> WARNING: Latex not usable (not LaTeX2e)
> DEBUG: Removing file chklatex.ltx
> DEBUG: Failed to remove file chklatex.log
>
> at the beginning. So chkconfig.ltx never gets run, I'd assume. But I do
> not know why that would be, since latex itself has been found. The fact
> that chklatex.log is not even created (and so can't be removed) is very
> strange. Though chklatex.ltx does seem to have been created.
>
> Paul, could you help William (temporarily) change these lines in
> configure.py:
>
># run latex on chklatex.ltx and check result
>if cmdOutput(LATEX + ' chklatex.ltx').find('ThisIsLaTeX2e') != -1:
># valid latex2e
>return LATEX
>else:
>logger.warning("Latex not usable (not LaTeX2e) ")
># remove temporary files
>
> to:
>
>output = cmdOutput((LATEX + ' chklatex.ltx')
>logger.warning(output)
>if output.find('ThisIsLaTeX2e') != -1:
># valid latex2e
>return LATEX
>else:
>logger.warning("Latex not usable (not LaTeX2e) ")
># remove temporary files
>
> I'd really like to see what we're getting back from latex.
>
> rh
>
>
> Richard
>
>


Re: Can't convert

2011-06-25 Thread Paul A. Rubin


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know what 
you mean when you say, open a command prompt and run 'kpsewhich 
article.cls' .
Click Start  Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably Ok or Run).  That should open a window with a DOS prompt.  
At the prompt, type 'kpsewhich article.cls' and see what happens.  Don't 
type the single quotes (') either place.


Paul



Re: Can't convert

2011-06-25 Thread William Hanson
Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin ru...@msu.edu wrote:


 On 06/24/2011 08:22 PM, William Hanson wrote:

 I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using
 MiKTeX.

 You are.  Pretty much everyone on Windows is.

   But I know very little about how LyX works.  Also, I don't know what you
 mean when you say, open a command prompt and run 'kpsewhich article.cls' .

 Click Start  Run (or hold down the Windows key and hit R) and type 'cmd',
 then click the button to do it (I forget what the button says, probably Ok
 or Run).  That should open a window with a DOS prompt.  At the prompt,
 type 'kpsewhich article.cls' and see what happens.  Don't type the single
 quotes (') either place.

 Paul




Re: Can't convert

2011-06-25 Thread Paul Rubin
Okay, this confirms that MiKTeX is correctly installed (still) and that 
it knows where the article class is located.  The error messages you 
were getting about the article class not being available suggested a 
problem with MiKTeX -- either a borked installation or something 
knocking it off the command path -- because the article class is 
*always* installed with an LaTeX distribution.


Regarding the configuration logs someone (Richard?) asked for, where did 
you find the ones you posted?  In particular, did you check in the local 
LyX folders?  (On XP those should be C:\Documents and Settings\your 
login id\Application Data\..., where ... is either lyx, lyx16, lyx2 or 
something like that -- sadly, I no longer have access to an XP box to 
nail down the exact name.)  In both LyX 1.6 and LyX 2.0, you can do Help 
 About LyX and look at the User directory entry (expanding ~ to 
C:\Documents and Settings\you\Application Data).  You might want to 
confirm that 1.6 and 2.0 point to different user directories, and that 
both directories exist.


Just out of curiosity, can you View  DVI any of the LyX help files?

Sorry this process is taking so long, but nothing obvious comes to mind, 
and your symptoms seem to have changed a bit along the way.  A working 
installation suddenly breaking sometimes happens when something 
unrelated to LyX screws with MiKTeX, but that does not seem to have 
happened to you.


Paul

On 06/25/2011 02:31 PM, William Hanson wrote:

Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:



On 06/24/2011 08:22 PM, William Hanson wrote:

I have a folder named MIKTEX2.7 in Program Files, so I
suppose I'm using MiKTeX.

You are.  Pretty much everyone on Windows is.

 But I know very little about how LyX works.  Also, I don't
know what you mean when you say, open a command prompt and
run 'kpsewhich article.cls' .

Click Start  Run (or hold down the Windows key and hit R) and
type 'cmd', then click the button to do it (I forget what the
button says, probably Ok or Run).  That should open a window
with a DOS prompt.  At the prompt, type 'kpsewhich article.cls'
and see what happens.  Don't type the single quotes (') either place.

Paul




Re: Can't convert

2011-06-25 Thread Paul A. Rubin


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know what 
you mean when you say, open a command prompt and run 'kpsewhich 
article.cls' .
Click Start  Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably Ok or Run).  That should open a window with a DOS prompt.  
At the prompt, type 'kpsewhich article.cls' and see what happens.  Don't 
type the single quotes (') either place.


Paul



Re: Can't convert

2011-06-25 Thread William Hanson
Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin ru...@msu.edu wrote:


 On 06/24/2011 08:22 PM, William Hanson wrote:

 I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using
 MiKTeX.

 You are.  Pretty much everyone on Windows is.

   But I know very little about how LyX works.  Also, I don't know what you
 mean when you say, open a command prompt and run 'kpsewhich article.cls' .

 Click Start  Run (or hold down the Windows key and hit R) and type 'cmd',
 then click the button to do it (I forget what the button says, probably Ok
 or Run).  That should open a window with a DOS prompt.  At the prompt,
 type 'kpsewhich article.cls' and see what happens.  Don't type the single
 quotes (') either place.

 Paul




Re: Can't convert

2011-06-25 Thread Paul Rubin
Okay, this confirms that MiKTeX is correctly installed (still) and that 
it knows where the article class is located.  The error messages you 
were getting about the article class not being available suggested a 
problem with MiKTeX -- either a borked installation or something 
knocking it off the command path -- because the article class is 
*always* installed with an LaTeX distribution.


Regarding the configuration logs someone (Richard?) asked for, where did 
you find the ones you posted?  In particular, did you check in the local 
LyX folders?  (On XP those should be C:\Documents and Settings\your 
login id\Application Data\..., where ... is either lyx, lyx16, lyx2 or 
something like that -- sadly, I no longer have access to an XP box to 
nail down the exact name.)  In both LyX 1.6 and LyX 2.0, you can do Help 
 About LyX and look at the User directory entry (expanding ~ to 
C:\Documents and Settings\you\Application Data).  You might want to 
confirm that 1.6 and 2.0 point to different user directories, and that 
both directories exist.


Just out of curiosity, can you View  DVI any of the LyX help files?

Sorry this process is taking so long, but nothing obvious comes to mind, 
and your symptoms seem to have changed a bit along the way.  A working 
installation suddenly breaking sometimes happens when something 
unrelated to LyX screws with MiKTeX, but that does not seem to have 
happened to you.


Paul

On 06/25/2011 02:31 PM, William Hanson wrote:

Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin ru...@msu.edu 
mailto:ru...@msu.edu wrote:



On 06/24/2011 08:22 PM, William Hanson wrote:

I have a folder named MIKTEX2.7 in Program Files, so I
suppose I'm using MiKTeX.

You are.  Pretty much everyone on Windows is.

 But I know very little about how LyX works.  Also, I don't
know what you mean when you say, open a command prompt and
run 'kpsewhich article.cls' .

Click Start  Run (or hold down the Windows key and hit R) and
type 'cmd', then click the button to do it (I forget what the
button says, probably Ok or Run).  That should open a window
with a DOS prompt.  At the prompt, type 'kpsewhich article.cls'
and see what happens.  Don't type the single quotes (') either place.

Paul




Re: Can't convert

2011-06-25 Thread Paul A. Rubin


On 06/24/2011 08:22 PM, William Hanson wrote:
I have a folder named "MIKTEX2.7 in Program Files, so I suppose I'm 
using MiKTeX.

You are.  Pretty much everyone on Windows is.
  But I know very little about how LyX works.  Also, I don't know what 
you mean when you say, "open a command prompt and run 'kpsewhich 
article.cls' ".
Click Start > Run (or hold down the Windows key and hit R) and type 
'cmd', then click the button to do it (I forget what the button says, 
probably "Ok" or "Run").  That should open a window with a DOS prompt.  
At the prompt, type 'kpsewhich article.cls' and see what happens.  Don't 
type the single quotes (') either place.


Paul



Re: Can't convert

2011-06-25 Thread William Hanson
Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin  wrote:

>
> On 06/24/2011 08:22 PM, William Hanson wrote:
>
>> I have a folder named "MIKTEX2.7 in Program Files, so I suppose I'm using
>> MiKTeX.
>>
> You are.  Pretty much everyone on Windows is.
>
>   But I know very little about how LyX works.  Also, I don't know what you
>> mean when you say, "open a command prompt and run 'kpsewhich article.cls' ".
>>
> Click Start > Run (or hold down the Windows key and hit R) and type 'cmd',
> then click the button to do it (I forget what the button says, probably "Ok"
> or "Run").  That should open a window with a DOS prompt.  At the prompt,
> type 'kpsewhich article.cls' and see what happens.  Don't type the single
> quotes (') either place.
>
> Paul
>
>


Re: Can't convert

2011-06-25 Thread Paul Rubin
Okay, this confirms that MiKTeX is correctly installed (still) and that 
it knows where the article class is located.  The error messages you 
were getting about the article class not being available suggested a 
problem with MiKTeX -- either a borked installation or something 
knocking it off the command path -- because the article class is 
*always* installed with an LaTeX distribution.


Regarding the configuration logs someone (Richard?) asked for, where did 
you find the ones you posted?  In particular, did you check in the local 
LyX folders?  (On XP those should be C:\Documents and Settings\login id>\Application Data\..., where ... is either lyx, lyx16, lyx2 or 
something like that -- sadly, I no longer have access to an XP box to 
nail down the exact name.)  In both LyX 1.6 and LyX 2.0, you can do Help 
> About LyX and look at the "User directory" entry (expanding ~ to 
C:\Documents and Settings\\Application Data).  You might want to 
confirm that 1.6 and 2.0 point to different user directories, and that 
both directories exist.


Just out of curiosity, can you View > DVI any of the LyX help files?

Sorry this process is taking so long, but nothing obvious comes to mind, 
and your symptoms seem to have changed a bit along the way.  A working 
installation suddenly breaking sometimes happens when something 
unrelated to LyX screws with MiKTeX, but that does not seem to have 
happened to you.


Paul

On 06/25/2011 02:31 PM, William Hanson wrote:

Did it.  What I got was

C:\Program Files/MikTeX 2.7/tex/latex/base/article.cls

 Bill



On Sat, Jun 25, 2011 at 9:05 AM, Paul A. Rubin > wrote:



On 06/24/2011 08:22 PM, William Hanson wrote:

I have a folder named "MIKTEX2.7 in Program Files, so I
suppose I'm using MiKTeX.

You are.  Pretty much everyone on Windows is.

 But I know very little about how LyX works.  Also, I don't
know what you mean when you say, "open a command prompt and
run 'kpsewhich article.cls' ".

Click Start > Run (or hold down the Windows key and hit R) and
type 'cmd', then click the button to do it (I forget what the
button says, probably "Ok" or "Run").  That should open a window
with a DOS prompt.  At the prompt, type 'kpsewhich article.cls'
and see what happens.  Don't type the single quotes (') either place.

Paul




Re: Can't convert

2011-06-24 Thread Paul Rubin
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into
an absolute path (it maps to C:\Documents and Settings\you\Desktop).

Is it possible that your MiKTeX installation (I assume you are using MiKTeX)
became borked during an upgrade?  If you open a command prompt and run
'kpsewhich article.cls', do you get a path to the article class file?

Paul



Re: Can't convert

2011-06-24 Thread Richard Heck
On 06/23/2011 03:06 PM, William Hanson wrote:
 I reconfigured both 1.6.7 and 2.0.0 just a few moments ago.  the only
 configure.log files I can find are attached.  But the first (from
 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is
 dated three days ago. 

This is extremely suspicious. Reconfiguration should create a new log
file each time. It suggests that there is some issue that is preventing
LyX from creating these files, which could mean that LyX isn't able to
create the files it actually needs to do the reconfiguration properly
either.

Perhaps Paul has some ideas?

Richard



Re: Can't convert

2011-06-24 Thread William Hanson
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using
MiKTeX.  But I know very little about how LyX works.  Also, I don't know
what you mean when you say, open a command prompt and run 'kpsewhich
article.cls' .

Bill Hanson



On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubin ru...@msu.edu wrote:

 Just as an FYI, the Desktop path _does_ contain spaces if it is translated
 into
 an absolute path (it maps to C:\Documents and Settings\you\Desktop).

 Is it possible that your MiKTeX installation (I assume you are using
 MiKTeX)
 became borked during an upgrade?  If you open a command prompt and run
 'kpsewhich article.cls', do you get a path to the article class file?

 Paul




Re: Can't convert

2011-06-24 Thread Paul Rubin
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into
an absolute path (it maps to C:\Documents and Settings\you\Desktop).

Is it possible that your MiKTeX installation (I assume you are using MiKTeX)
became borked during an upgrade?  If you open a command prompt and run
'kpsewhich article.cls', do you get a path to the article class file?

Paul



Re: Can't convert

2011-06-24 Thread Richard Heck
On 06/23/2011 03:06 PM, William Hanson wrote:
 I reconfigured both 1.6.7 and 2.0.0 just a few moments ago.  the only
 configure.log files I can find are attached.  But the first (from
 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is
 dated three days ago. 

This is extremely suspicious. Reconfiguration should create a new log
file each time. It suggests that there is some issue that is preventing
LyX from creating these files, which could mean that LyX isn't able to
create the files it actually needs to do the reconfiguration properly
either.

Perhaps Paul has some ideas?

Richard



Re: Can't convert

2011-06-24 Thread William Hanson
I have a folder named MIKTEX2.7 in Program Files, so I suppose I'm using
MiKTeX.  But I know very little about how LyX works.  Also, I don't know
what you mean when you say, open a command prompt and run 'kpsewhich
article.cls' .

Bill Hanson



On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubin ru...@msu.edu wrote:

 Just as an FYI, the Desktop path _does_ contain spaces if it is translated
 into
 an absolute path (it maps to C:\Documents and Settings\you\Desktop).

 Is it possible that your MiKTeX installation (I assume you are using
 MiKTeX)
 became borked during an upgrade?  If you open a command prompt and run
 'kpsewhich article.cls', do you get a path to the article class file?

 Paul




Re: Can't convert

2011-06-24 Thread Paul Rubin
Just as an FYI, the Desktop path _does_ contain spaces if it is translated into
an absolute path (it maps to C:\Documents and Settings\\Desktop).

Is it possible that your MiKTeX installation (I assume you are using MiKTeX)
became borked during an upgrade?  If you open a command prompt and run
'kpsewhich article.cls', do you get a path to the article class file?

Paul



Re: Can't convert

2011-06-24 Thread Richard Heck
On 06/23/2011 03:06 PM, William Hanson wrote:
> I reconfigured both 1.6.7 and 2.0.0 just a few moments ago.  the only
> "configure.log files I can find are attached.  But the first (from
> 1.6.7) is dated nearly two years ago, and the second (from 2.0.0) is
> dated three days ago. 
>
This is extremely suspicious. Reconfiguration should create a new log
file each time. It suggests that there is some issue that is preventing
LyX from creating these files, which could mean that LyX isn't able to
create the files it actually needs to do the reconfiguration properly
either.

Perhaps Paul has some ideas?

Richard



Re: Can't convert

2011-06-24 Thread William Hanson
I have a folder named "MIKTEX2.7 in Program Files, so I suppose I'm using
MiKTeX.  But I know very little about how LyX works.  Also, I don't know
what you mean when you say, "open a command prompt and run 'kpsewhich
article.cls' ".

Bill Hanson



On Fri, Jun 24, 2011 at 4:47 PM, Paul Rubin  wrote:

> Just as an FYI, the Desktop path _does_ contain spaces if it is translated
> into
> an absolute path (it maps to C:\Documents and Settings\\Desktop).
>
> Is it possible that your MiKTeX installation (I assume you are using
> MiKTeX)
> became borked during an upgrade?  If you open a command prompt and run
> 'kpsewhich article.cls', do you get a path to the article class file?
>
> Paul
>
>


Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 01:05 AM, William Hanson wrote:
 My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd
 of the space in Program Files.  Are you suggesting that I move the
 LyX20 folder somewhere else?

No, he meant to put the document somewhere else.

I'm going to try cc'ing some of the Windows folks and see if they can help.

rh

 Bill

 On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux
 jri...@physics.utoronto.ca mailto:jri...@physics.utoronto.ca wrote:

 On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without
 problems for
 about a year.  Starting a couple of days ago I've been unable
 to update or
 view the DVI versions of my files.  Clicking the dvi or PS
 icons brings an
 error message: Cannot convert file  An error occurred whilst
 running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.
  But, when I
 do, I get a message saying that I need the document class
 article, and I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't
 understand the
 information given there on how to install the appropriate
 package files.

 After I get into one of my documents (using 2.0.0) and I click
 View (which I
 assume is asking for the compiled version that the dvi button
 yielded in LyX
 1.6.7), I get a file name error message:  The directory path
 to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux,
 while much
 appreciated, have not helped.

 Bill Hanson


 Given this new information, can you get any output if you put your
 LyX file in a directory path which does not contain spaces in its
 name?

 Regards,
 Julien





Re: Can't convert

2011-06-23 Thread William Hanson
OK, I now have the document I'm trying to open and convert on the Desktop,
so there are no spaces in the path to it.

When I open the document with LyX 1.6.7 I get the error message Document
class not available, and the further information that the file
article.layout is not usable.  Proceeding with 1.6.7, the document comes up
and can be modified, but when I try to convert it I get the error message
Couldn't export file.  (Yesterday at this point I got the error message
Cannot convert file  An error occurred whilst running phython -tt.  This
message doesn't appear today.)

It's surely noteworthy that until a few days ago I had been using LyX 1.6.7
without problems for about a year.  I don't know of any recent changes to
the computer.

When I open the document with LyX 2.0.0 I get the same error message,
Document class not available, and the further information that it wants me
to install article.cls.   Unfortunately I don't understand the information
given there on how to install the package files.  Proceeding with 2.0.0, the
document comes up and can be modified, but when I try to convert it I get
the error message File name error, which says that the directory path to
the document can't contain spaces.  This appears in spite of the fact that
the document is now on the desktop.

Any help will be appreciated.

Bill Hanson

On Thu, Jun 23, 2011 at 7:47 AM, Richard Heck rgh...@comcast.net wrote:

 **
 On 06/23/2011 01:05 AM, William Hanson wrote:

 My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
 space in Program Files.  Are you suggesting that I move the LyX20 folder
 somewhere else?

  No, he meant to put the document somewhere else.

 I'm going to try cc'ing some of the Windows folks and see if they can help.

 rh


 Bill

  On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux jri...@physics.utoronto.ca
  wrote:

  On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
 about a year.  Starting a couple of days ago I've been unable to update
 or
 view the DVI versions of my files.  Clicking the dvi or PS icons brings
 an
 error message: Cannot convert file  An error occurred whilst running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.  But, when
 I
 do, I get a message saying that I need the document class article, and
 I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
 the
 information given there on how to install the appropriate package files.

 After I get into one of my documents (using 2.0.0) and I click View
 (which I
 assume is asking for the compiled version that the dvi button yielded in
 LyX
 1.6.7), I get a file name error message:  The directory path to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux, while much
 appreciated, have not helped.

 Bill Hanson


  Given this new information, can you get any output if you put your LyX
 file in a directory path which does not contain spaces in its name?

 Regards,
  Julien






Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 12:45 PM, William Hanson wrote:
 OK, I now have the document I'm trying to open and convert on the
 Desktop, so there are no spaces in the path to it. 

 When I open the document with LyX 1.6.7 I get the error message
 Document class not available, and the further information that the
 file article.layout is not usable.  Proceeding with 1.6.7, the
 document comes up and can be modified, but when I try to convert it I
 get the error message Couldn't export file.  (Yesterday at this
 point I got the error message Cannot convert file  An error occurred
 whilst running phython -tt.  This message doesn't appear today.) 

 It's surely noteworthy that until a few days ago I had been using LyX
 1.6.7 without problems for about a year.  I don't know of any recent
 changes to the computer. 

 When I open the document with LyX 2.0.0 I get the same error message,
 Document class not available, and the further information that it
 wants me to install article.cls.   Unfortunately I don't understand
 the information given there on how to install the package files. 
 Proceeding with 2.0.0, the document comes up and can be modified, but
 when I try to convert it I get the error message File name error,
 which says that the directory path to the document can't contain
 spaces.  This appears in spite of the fact that the document is now on
 the desktop. 

The problem now seems to be that LyX hasn't found your LaTeX
installation. Can you please run ToolsReconfigure, and then post the
configure.log file that will be dumped in your user directory? (See
HelpAbout LyX for where it is located.) Or did we already do that? I
can't remember.

Anyway, that is certainly the first problem.

Richard



Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 01:05 AM, William Hanson wrote:
 My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd
 of the space in Program Files.  Are you suggesting that I move the
 LyX20 folder somewhere else?

No, he meant to put the document somewhere else.

I'm going to try cc'ing some of the Windows folks and see if they can help.

rh

 Bill

 On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux
 jri...@physics.utoronto.ca mailto:jri...@physics.utoronto.ca wrote:

 On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without
 problems for
 about a year.  Starting a couple of days ago I've been unable
 to update or
 view the DVI versions of my files.  Clicking the dvi or PS
 icons brings an
 error message: Cannot convert file  An error occurred whilst
 running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.
  But, when I
 do, I get a message saying that I need the document class
 article, and I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't
 understand the
 information given there on how to install the appropriate
 package files.

 After I get into one of my documents (using 2.0.0) and I click
 View (which I
 assume is asking for the compiled version that the dvi button
 yielded in LyX
 1.6.7), I get a file name error message:  The directory path
 to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux,
 while much
 appreciated, have not helped.

 Bill Hanson


 Given this new information, can you get any output if you put your
 LyX file in a directory path which does not contain spaces in its
 name?

 Regards,
 Julien





Re: Can't convert

2011-06-23 Thread William Hanson
OK, I now have the document I'm trying to open and convert on the Desktop,
so there are no spaces in the path to it.

When I open the document with LyX 1.6.7 I get the error message Document
class not available, and the further information that the file
article.layout is not usable.  Proceeding with 1.6.7, the document comes up
and can be modified, but when I try to convert it I get the error message
Couldn't export file.  (Yesterday at this point I got the error message
Cannot convert file  An error occurred whilst running phython -tt.  This
message doesn't appear today.)

It's surely noteworthy that until a few days ago I had been using LyX 1.6.7
without problems for about a year.  I don't know of any recent changes to
the computer.

When I open the document with LyX 2.0.0 I get the same error message,
Document class not available, and the further information that it wants me
to install article.cls.   Unfortunately I don't understand the information
given there on how to install the package files.  Proceeding with 2.0.0, the
document comes up and can be modified, but when I try to convert it I get
the error message File name error, which says that the directory path to
the document can't contain spaces.  This appears in spite of the fact that
the document is now on the desktop.

Any help will be appreciated.

Bill Hanson

On Thu, Jun 23, 2011 at 7:47 AM, Richard Heck rgh...@comcast.net wrote:

 **
 On 06/23/2011 01:05 AM, William Hanson wrote:

 My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
 space in Program Files.  Are you suggesting that I move the LyX20 folder
 somewhere else?

  No, he meant to put the document somewhere else.

 I'm going to try cc'ing some of the Windows folks and see if they can help.

 rh


 Bill

  On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux jri...@physics.utoronto.ca
  wrote:

  On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
 about a year.  Starting a couple of days ago I've been unable to update
 or
 view the DVI versions of my files.  Clicking the dvi or PS icons brings
 an
 error message: Cannot convert file  An error occurred whilst running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.  But, when
 I
 do, I get a message saying that I need the document class article, and
 I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
 the
 information given there on how to install the appropriate package files.

 After I get into one of my documents (using 2.0.0) and I click View
 (which I
 assume is asking for the compiled version that the dvi button yielded in
 LyX
 1.6.7), I get a file name error message:  The directory path to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux, while much
 appreciated, have not helped.

 Bill Hanson


  Given this new information, can you get any output if you put your LyX
 file in a directory path which does not contain spaces in its name?

 Regards,
  Julien






Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 12:45 PM, William Hanson wrote:
 OK, I now have the document I'm trying to open and convert on the
 Desktop, so there are no spaces in the path to it. 

 When I open the document with LyX 1.6.7 I get the error message
 Document class not available, and the further information that the
 file article.layout is not usable.  Proceeding with 1.6.7, the
 document comes up and can be modified, but when I try to convert it I
 get the error message Couldn't export file.  (Yesterday at this
 point I got the error message Cannot convert file  An error occurred
 whilst running phython -tt.  This message doesn't appear today.) 

 It's surely noteworthy that until a few days ago I had been using LyX
 1.6.7 without problems for about a year.  I don't know of any recent
 changes to the computer. 

 When I open the document with LyX 2.0.0 I get the same error message,
 Document class not available, and the further information that it
 wants me to install article.cls.   Unfortunately I don't understand
 the information given there on how to install the package files. 
 Proceeding with 2.0.0, the document comes up and can be modified, but
 when I try to convert it I get the error message File name error,
 which says that the directory path to the document can't contain
 spaces.  This appears in spite of the fact that the document is now on
 the desktop. 

The problem now seems to be that LyX hasn't found your LaTeX
installation. Can you please run ToolsReconfigure, and then post the
configure.log file that will be dumped in your user directory? (See
HelpAbout LyX for where it is located.) Or did we already do that? I
can't remember.

Anyway, that is certainly the first problem.

Richard



Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 01:05 AM, William Hanson wrote:
> My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd
> of the space in "Program Files".  Are you suggesting that I move the
> LyX20 folder somewhere else?
>
No, he meant to put the document somewhere else.

I'm going to try cc'ing some of the Windows folks and see if they can help.

rh

> Bill
>
> On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux
> > wrote:
>
> On 22/06/2011 4:10 PM, William Hanson wrote:
>
> Windows XP Users,
>
> The attached message string details my story.  Basic Summary:
>
> My OS is Windows XP, and I've been using LyX 1.6.7 without
> problems for
> about a year.  Starting a couple of days ago I've been unable
> to update or
> view the DVI versions of my files.  Clicking the dvi or PS
> icons brings an
> error message: "Cannot convert file  An error occurred whilst
> running
> phython -tt".
>
> I downloaded LyX 2.0.0, and I can open my documents using it.
>  But, when I
> do, I get a message saying that I need the document class
> "article", and I'm
> directed to 3.1.2.2 of the User Guide.  Unfortunately I don't
> understand the
> information given there on how to install the appropriate
> package files.
>
> After I get into one of my documents (using 2.0.0) and I click
> View (which I
> assume is asking for the compiled version that the dvi button
> yielded in LyX
> 1.6.7), I get a file name error message:  "The directory path
> to the
> document cannot contain spaces".
>
> The suggestions offered by Richard Heck and Julien Rioux,
> while much
> appreciated, have not helped.
>
> Bill Hanson
>
>
> Given this new information, can you get any output if you put your
> LyX file in a directory path which does not contain spaces in its
> name?
>
> Regards,
> Julien
>
>



Re: Can't convert

2011-06-23 Thread William Hanson
OK, I now have the document I'm trying to open and convert on the Desktop,
so there are no spaces in the path to it.

When I open the document with LyX 1.6.7 I get the error message "Document
class not available", and the further information that the file
article.layout is not usable.  Proceeding with 1.6.7, the document comes up
and can be modified, but when I try to convert it I get the error message
"Couldn't export file".  (Yesterday at this point I got the error message
"Cannot convert file  An error occurred whilst running phython -tt".  This
message doesn't appear today.)

It's surely noteworthy that until a few days ago I had been using LyX 1.6.7
without problems for about a year.  I don't know of any recent changes to
the computer.

When I open the document with LyX 2.0.0 I get the same error message,
"Document class not available", and the further information that it wants me
to install "article.cls".   Unfortunately I don't understand the information
given there on how to install the package files.  Proceeding with 2.0.0, the
document comes up and can be modified, but when I try to convert it I get
the error message "File name error", which says that the directory path to
the document can't contain spaces.  This appears in spite of the fact that
the document is now on the desktop.

Any help will be appreciated.

Bill Hanson

On Thu, Jun 23, 2011 at 7:47 AM, Richard Heck  wrote:

> **
> On 06/23/2011 01:05 AM, William Hanson wrote:
>
> My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
> space in "Program Files".  Are you suggesting that I move the LyX20 folder
> somewhere else?
>
>  No, he meant to put the document somewhere else.
>
> I'm going to try cc'ing some of the Windows folks and see if they can help.
>
> rh
>
>
> Bill
>
>  On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux  > wrote:
>
>>  On 22/06/2011 4:10 PM, William Hanson wrote:
>>
>>> Windows XP Users,
>>>
>>> The attached message string details my story.  Basic Summary:
>>>
>>> My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
>>> about a year.  Starting a couple of days ago I've been unable to update
>>> or
>>> view the DVI versions of my files.  Clicking the dvi or PS icons brings
>>> an
>>> error message: "Cannot convert file  An error occurred whilst running
>>> phython -tt".
>>>
>>> I downloaded LyX 2.0.0, and I can open my documents using it.  But, when
>>> I
>>> do, I get a message saying that I need the document class "article", and
>>> I'm
>>> directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
>>> the
>>> information given there on how to install the appropriate package files.
>>>
>>> After I get into one of my documents (using 2.0.0) and I click View
>>> (which I
>>> assume is asking for the compiled version that the dvi button yielded in
>>> LyX
>>> 1.6.7), I get a file name error message:  "The directory path to the
>>> document cannot contain spaces".
>>>
>>> The suggestions offered by Richard Heck and Julien Rioux, while much
>>> appreciated, have not helped.
>>>
>>> Bill Hanson
>>>
>>>
>>  Given this new information, can you get any output if you put your LyX
>> file in a directory path which does not contain spaces in its name?
>>
>> Regards,
>>  Julien
>>
>>
>
>


Re: Can't convert

2011-06-23 Thread Richard Heck
On 06/23/2011 12:45 PM, William Hanson wrote:
> OK, I now have the document I'm trying to open and convert on the
> Desktop, so there are no spaces in the path to it. 
>
> When I open the document with LyX 1.6.7 I get the error message
> "Document class not available", and the further information that the
> file article.layout is not usable.  Proceeding with 1.6.7, the
> document comes up and can be modified, but when I try to convert it I
> get the error message "Couldn't export file".  (Yesterday at this
> point I got the error message "Cannot convert file  An error occurred
> whilst running phython -tt".  This message doesn't appear today.) 
>
> It's surely noteworthy that until a few days ago I had been using LyX
> 1.6.7 without problems for about a year.  I don't know of any recent
> changes to the computer. 
>
> When I open the document with LyX 2.0.0 I get the same error message,
> "Document class not available", and the further information that it
> wants me to install "article.cls".   Unfortunately I don't understand
> the information given there on how to install the package files. 
> Proceeding with 2.0.0, the document comes up and can be modified, but
> when I try to convert it I get the error message "File name error",
> which says that the directory path to the document can't contain
> spaces.  This appears in spite of the fact that the document is now on
> the desktop. 
>
The problem now seems to be that LyX hasn't found your LaTeX
installation. Can you please run Tools>Reconfigure, and then post the
configure.log file that will be dumped in your user directory? (See
Help>About LyX for where it is located.) Or did we already do that? I
can't remember.

Anyway, that is certainly the first problem.

Richard



Re: Can't convert

2011-06-22 Thread William Hanson
Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: Cannot convert file  An error occurred whilst running
phython -tt.

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class article, and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  The directory path to the
document cannot contain spaces.

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson


Re: Can't convert

2011-06-22 Thread Gordon Cooper

On 06/22/2011 08:10 PM, William Hanson wrote:
Starting a couple of days ago I've been unable to update or view the 
DVI versions of my files.  Clicking the dvi or PS icons brings an 
error message: Cannot convert file...
  Nearly the same happened here yesterday. Had been imported a text 
file, tried to look
at the the dvi and was told of an error.  Then tried to look at previous 
work and could
not.  Only difference from William is that the OS here is Linux Mepis 
11.0.  Am still using

Lyx 1.6.7 - upgrade to 2.0 planned soon.

  The mystery is why?  Everything was behaving in the morning up until 
the insertion

of the text file.

Gordon Cooper.


Re: Can't convert

2011-06-22 Thread Julien Rioux

On 22/06/2011 4:10 PM, William Hanson wrote:

Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: Cannot convert file  An error occurred whilst running
phython -tt.

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class article, and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  The directory path to the
document cannot contain spaces.

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson



Given this new information, can you get any output if you put your LyX 
file in a directory path which does not contain spaces in its name?


Regards,
Julien



Re: Can't convert

2011-06-22 Thread William Hanson
My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
space in Program Files.  Are you suggesting that I move the LyX20 folder
somewhere else?

Bill

On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
 about a year.  Starting a couple of days ago I've been unable to update or
 view the DVI versions of my files.  Clicking the dvi or PS icons brings an
 error message: Cannot convert file  An error occurred whilst running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
 do, I get a message saying that I need the document class article, and
 I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
 the
 information given there on how to install the appropriate package files.

 After I get into one of my documents (using 2.0.0) and I click View (which
 I
 assume is asking for the compiled version that the dvi button yielded in
 LyX
 1.6.7), I get a file name error message:  The directory path to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux, while much
 appreciated, have not helped.

 Bill Hanson


 Given this new information, can you get any output if you put your LyX file
 in a directory path which does not contain spaces in its name?

 Regards,
 Julien




Re: Can't convert

2011-06-22 Thread William Hanson
Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: Cannot convert file  An error occurred whilst running
phython -tt.

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class article, and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  The directory path to the
document cannot contain spaces.

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson


Re: Can't convert

2011-06-22 Thread Gordon Cooper

On 06/22/2011 08:10 PM, William Hanson wrote:
Starting a couple of days ago I've been unable to update or view the 
DVI versions of my files.  Clicking the dvi or PS icons brings an 
error message: Cannot convert file...
  Nearly the same happened here yesterday. Had been imported a text 
file, tried to look
at the the dvi and was told of an error.  Then tried to look at previous 
work and could
not.  Only difference from William is that the OS here is Linux Mepis 
11.0.  Am still using

Lyx 1.6.7 - upgrade to 2.0 planned soon.

  The mystery is why?  Everything was behaving in the morning up until 
the insertion

of the text file.

Gordon Cooper.


Re: Can't convert

2011-06-22 Thread Julien Rioux

On 22/06/2011 4:10 PM, William Hanson wrote:

Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: Cannot convert file  An error occurred whilst running
phython -tt.

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class article, and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  The directory path to the
document cannot contain spaces.

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson



Given this new information, can you get any output if you put your LyX 
file in a directory path which does not contain spaces in its name?


Regards,
Julien



Re: Can't convert

2011-06-22 Thread William Hanson
My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
space in Program Files.  Are you suggesting that I move the LyX20 folder
somewhere else?

Bill

On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 22/06/2011 4:10 PM, William Hanson wrote:

 Windows XP Users,

 The attached message string details my story.  Basic Summary:

 My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
 about a year.  Starting a couple of days ago I've been unable to update or
 view the DVI versions of my files.  Clicking the dvi or PS icons brings an
 error message: Cannot convert file  An error occurred whilst running
 phython -tt.

 I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
 do, I get a message saying that I need the document class article, and
 I'm
 directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
 the
 information given there on how to install the appropriate package files.

 After I get into one of my documents (using 2.0.0) and I click View (which
 I
 assume is asking for the compiled version that the dvi button yielded in
 LyX
 1.6.7), I get a file name error message:  The directory path to the
 document cannot contain spaces.

 The suggestions offered by Richard Heck and Julien Rioux, while much
 appreciated, have not helped.

 Bill Hanson


 Given this new information, can you get any output if you put your LyX file
 in a directory path which does not contain spaces in its name?

 Regards,
 Julien




Re: Can't convert

2011-06-22 Thread William Hanson
Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: "Cannot convert file  An error occurred whilst running
phython -tt".

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class "article", and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  "The directory path to the
document cannot contain spaces".

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson


Re: Can't convert

2011-06-22 Thread Gordon Cooper

On 06/22/2011 08:10 PM, William Hanson wrote:
Starting a couple of days ago I've been unable to update or view the 
DVI versions of my files.  Clicking the dvi or PS icons brings an 
error message: "Cannot convert file...
  Nearly the same happened here yesterday. Had been imported a text 
file, tried to look
at the the dvi and was told of an error.  Then tried to look at previous 
work and could
not.  Only difference from William is that the OS here is Linux Mepis 
11.0.  Am still using

Lyx 1.6.7 - upgrade to 2.0 planned soon.

  The mystery is why?  Everything was behaving in the morning up until 
the insertion

of the text file.

Gordon Cooper.


Re: Can't convert

2011-06-22 Thread Julien Rioux

On 22/06/2011 4:10 PM, William Hanson wrote:

Windows XP Users,

The attached message string details my story.  Basic Summary:

My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
about a year.  Starting a couple of days ago I've been unable to update or
view the DVI versions of my files.  Clicking the dvi or PS icons brings an
error message: "Cannot convert file  An error occurred whilst running
phython -tt".

I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
do, I get a message saying that I need the document class "article", and I'm
directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand the
information given there on how to install the appropriate package files.

After I get into one of my documents (using 2.0.0) and I click View (which I
assume is asking for the compiled version that the dvi button yielded in LyX
1.6.7), I get a file name error message:  "The directory path to the
document cannot contain spaces".

The suggestions offered by Richard Heck and Julien Rioux, while much
appreciated, have not helped.

Bill Hanson



Given this new information, can you get any output if you put your LyX 
file in a directory path which does not contain spaces in its name?


Regards,
Julien



Re: Can't convert

2011-06-22 Thread William Hanson
My LyX folder has the path C:\Program Files\LyX20.  I can't get rifd of the
space in "Program Files".  Are you suggesting that I move the LyX20 folder
somewhere else?

Bill

On Wed, Jun 22, 2011 at 3:35 PM, Julien Rioux wrote:

> On 22/06/2011 4:10 PM, William Hanson wrote:
>
>> Windows XP Users,
>>
>> The attached message string details my story.  Basic Summary:
>>
>> My OS is Windows XP, and I've been using LyX 1.6.7 without problems for
>> about a year.  Starting a couple of days ago I've been unable to update or
>> view the DVI versions of my files.  Clicking the dvi or PS icons brings an
>> error message: "Cannot convert file  An error occurred whilst running
>> phython -tt".
>>
>> I downloaded LyX 2.0.0, and I can open my documents using it.  But, when I
>> do, I get a message saying that I need the document class "article", and
>> I'm
>> directed to 3.1.2.2 of the User Guide.  Unfortunately I don't understand
>> the
>> information given there on how to install the appropriate package files.
>>
>> After I get into one of my documents (using 2.0.0) and I click View (which
>> I
>> assume is asking for the compiled version that the dvi button yielded in
>> LyX
>> 1.6.7), I get a file name error message:  "The directory path to the
>> document cannot contain spaces".
>>
>> The suggestions offered by Richard Heck and Julien Rioux, while much
>> appreciated, have not helped.
>>
>> Bill Hanson
>>
>>
> Given this new information, can you get any output if you put your LyX file
> in a directory path which does not contain spaces in its name?
>
> Regards,
> Julien
>
>


Re: Can't convert

2011-06-20 Thread Julien Rioux

On 20/06/2011 12:10 PM, William Hanson wrote:

To all,

I've been using LyX for a couple of years, but I'm far from expert.
Suddenly I'm unable to update or view the DVI versions of my files.
Clicking the dvi or PS icons brings an error message: Cannot convert file
An error occurred whilst running phython -tt  What should I do?

Bill Hanson



Just one possible explanation of the failure:

The python scripts shipped with LyX are not tested with all possible 
python version, but they should work with the python installation 
shipped with LyX. LyX installs its own python in a subfolder of Program 
Files/LyX. If you have installed python separately, or another program 
has installed python, this might conflict with LyX.


--
Julien



Re: Can't convert

2011-06-20 Thread William Hanson
I'm not aware of any installation of python.  I have an LyX16 folder with a
Python subfolder and an LyX 20 folder also with a python subfolder.  The
former contains python26.dll and python.exe.  The latter contains python
27.dll, python.exe, and pythonw.exe.

The original error message, which referred to python -tt occurred while I
was running LyX 1.6.7.  When I switched to LyX 2.0.0 none of the error
messages referred to python, but I still couldn't convert.  Details in the
string of messages between me and Richard Heck.

Bill

On Mon, Jun 20, 2011 at 8:31 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 20/06/2011 12:10 PM, William Hanson wrote:

 To all,

 I've been using LyX for a couple of years, but I'm far from expert.
 Suddenly I'm unable to update or view the DVI versions of my files.
 Clicking the dvi or PS icons brings an error message: Cannot convert file
 An error occurred whilst running phython -tt  What should I do?

 Bill Hanson


 Just one possible explanation of the failure:

 The python scripts shipped with LyX are not tested with all possible python
 version, but they should work with the python installation shipped with LyX.
 LyX installs its own python in a subfolder of Program Files/LyX. If you have
 installed python separately, or another program has installed python, this
 might conflict with LyX.

 --
 Julien




Re: Can't convert

2011-06-20 Thread Julien Rioux

On 20/06/2011 12:10 PM, William Hanson wrote:

To all,

I've been using LyX for a couple of years, but I'm far from expert.
Suddenly I'm unable to update or view the DVI versions of my files.
Clicking the dvi or PS icons brings an error message: Cannot convert file
An error occurred whilst running phython -tt  What should I do?

Bill Hanson



Just one possible explanation of the failure:

The python scripts shipped with LyX are not tested with all possible 
python version, but they should work with the python installation 
shipped with LyX. LyX installs its own python in a subfolder of Program 
Files/LyX. If you have installed python separately, or another program 
has installed python, this might conflict with LyX.


--
Julien



Re: Can't convert

2011-06-20 Thread William Hanson
I'm not aware of any installation of python.  I have an LyX16 folder with a
Python subfolder and an LyX 20 folder also with a python subfolder.  The
former contains python26.dll and python.exe.  The latter contains python
27.dll, python.exe, and pythonw.exe.

The original error message, which referred to python -tt occurred while I
was running LyX 1.6.7.  When I switched to LyX 2.0.0 none of the error
messages referred to python, but I still couldn't convert.  Details in the
string of messages between me and Richard Heck.

Bill

On Mon, Jun 20, 2011 at 8:31 PM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 20/06/2011 12:10 PM, William Hanson wrote:

 To all,

 I've been using LyX for a couple of years, but I'm far from expert.
 Suddenly I'm unable to update or view the DVI versions of my files.
 Clicking the dvi or PS icons brings an error message: Cannot convert file
 An error occurred whilst running phython -tt  What should I do?

 Bill Hanson


 Just one possible explanation of the failure:

 The python scripts shipped with LyX are not tested with all possible python
 version, but they should work with the python installation shipped with LyX.
 LyX installs its own python in a subfolder of Program Files/LyX. If you have
 installed python separately, or another program has installed python, this
 might conflict with LyX.

 --
 Julien




Re: Can't convert

2011-06-20 Thread Julien Rioux

On 20/06/2011 12:10 PM, William Hanson wrote:

To all,

I've been using LyX for a couple of years, but I'm far from expert.
Suddenly I'm unable to update or view the DVI versions of my files.
Clicking the dvi or PS icons brings an error message: "Cannot convert file
An error occurred whilst running phython -tt"  What should I do?

Bill Hanson



Just one possible explanation of the failure:

The python scripts shipped with LyX are not tested with all possible 
python version, but they should work with the python installation 
shipped with LyX. LyX installs its own python in a subfolder of Program 
Files/LyX. If you have installed python separately, or another program 
has installed python, this might conflict with LyX.


--
Julien



Re: Can't convert

2011-06-20 Thread William Hanson
I'm not aware of any installation of python.  I have an LyX16 folder with a
Python subfolder and an LyX 20 folder also with a python subfolder.  The
former contains python26.dll and python.exe.  The latter contains python
27.dll, python.exe, and pythonw.exe.

The original error message, which referred to "python -tt" occurred while I
was running LyX 1.6.7.  When I switched to LyX 2.0.0 none of the error
messages referred to python, but I still couldn't convert.  Details in the
string of messages between me and Richard Heck.

Bill

On Mon, Jun 20, 2011 at 8:31 PM, Julien Rioux wrote:

> On 20/06/2011 12:10 PM, William Hanson wrote:
>
>> To all,
>>
>> I've been using LyX for a couple of years, but I'm far from expert.
>> Suddenly I'm unable to update or view the DVI versions of my files.
>> Clicking the dvi or PS icons brings an error message: "Cannot convert file
>> An error occurred whilst running phython -tt"  What should I do?
>>
>> Bill Hanson
>>
>>
> Just one possible explanation of the failure:
>
> The python scripts shipped with LyX are not tested with all possible python
> version, but they should work with the python installation shipped with LyX.
> LyX installs its own python in a subfolder of Program Files/LyX. If you have
> installed python separately, or another program has installed python, this
> might conflict with LyX.
>
> --
> Julien
>
>


Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes

Paul A. Rubin wrote:

John Pye wrote:



If I make a DOT-PNG converter and use that, it works fine. So there 
is nothing wrong with LyX's ability to make some form of file 
conversion here. It fails when I attempt to configure a conversion 
from DOT to PDF.




Works fine for me here.  Keep in mind that there are at least three PDF 
file formats defined within LyX, because different compilation methods 
(ps2pdf, pdflatex, dvipdfm) have different requirements.  On my box 
those are designated pdf, pdf2 and pdf3 respectively, and I'm pretty 
sure that's standard across installations.  If you create a converter 
from DOT to pdf3, say, and then use View - PDF (pdflatex) to see the 
output (which is creating pdf2 output), presumably something will break.


I always use pdflatex, so I created a Dot file format and then a Dot to 
PDF (pdflatex) converter.  The latter used the command line 'dot -Tpdf 
$$i -o $$o'.  I have the dot executable on my system command path; 
otherwise, I would need either to specify a full path in the converter 
or add the path to the LyX path prefix.


Hello Paul,

Maybe you could contribute this converter to LyX? I am very interested 
in dot but never took the time to try to integrate it within LyX.


Abdel.



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread John Pye
Hi Paul

Paul A. Rubin wrote:
 John Pye wrote:


 If I make a DOT-PNG converter and use that, it works fine. So there
 is nothing wrong with LyX's ability to make some form of file
 conversion here. It fails when I attempt to configure a conversion
 from DOT to PDF.


 Works fine for me here.  Keep in mind that there are at least three
 PDF file formats defined within LyX, because different compilation
 methods (ps2pdf, pdflatex, dvipdfm) have different requirements.  On
 my box those are designated pdf, pdf2 and pdf3 respectively, and I'm
 pretty sure that's standard across installations.  If you create a
 converter from DOT to pdf3, say, and then use View - PDF (pdflatex)
 to see the output (which is creating pdf2 output), presumably
 something will break.

I tried this many times but no success. I am aware of the pdflatex (etc)
issue. It is not called 'pdf3' on my system, it is called 'PDF
(pdflatex)'. That is the standard on Fedora and Ubuntu systems, if not
elsewhere, so I don't think you're right about 'pdf3' etc.

This converter system is way too delicate IMHO: if you get it wrong, you
get minimal and rather cryptic error messages. It's also impossible for
someone to help to diagnose a problem, because you can't just sent me
your config file (AFAIK) and you can't tell what stuff is different on
my system compared to your system.

FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)

Cheers
JP





Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes

John Pye wrote:

FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)


Still, you are welcome to bring the subject and your thoughts to the 
development list. Maybe you could also create an enhancement entry in 
bugzilla too.


Abdel.



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin

John,

John Pye wrote:

Works fine for me here.  Keep in mind that there are at least three
PDF file formats defined within LyX, because different compilation
methods (ps2pdf, pdflatex, dvipdfm) have different requirements.  On
my box those are designated pdf, pdf2 and pdf3 respectively, and I'm
pretty sure that's standard across installations.  If you create a
converter from DOT to pdf3, say, and then use View - PDF (pdflatex)
to see the output (which is creating pdf2 output), presumably
something will break.


I tried this many times but no success. I am aware of the pdflatex (etc)
issue. It is not called 'pdf3' on my system, it is called 'PDF
(pdflatex)'. 


Should be both:  in Tools - Preferences - File formats, if I highlight 
'PDF (pdflatex)', that's the entry in the 'GUI name', while the entry in 
'Format' is pdf2.  FWIW, if you want to do a file export from the 
command line, you use pdf2 as the argument to the export flag. 
Shouldn't have anything to do with the converter working or not, though, 
so long as the converter entry points to the right output GUI name.



That is the standard on Fedora and Ubuntu systems, if not
elsewhere, so I don't think you're right about 'pdf3' etc.

This converter system is way too delicate IMHO: if you get it wrong, you
get minimal and rather cryptic error messages.


I tend to agree here, to the extent that if LyX gets an error message 
from an external command, it should forward it to the user.  I don't 
think that's always the case, though.  I suspect that sometimes LyX runs 
an external process and the child process exits with a nonzero error 
code but not much else.  LyX can't tell you what it doesn't know (i.e., 
LyX is not an academic).



It's also impossible for
someone to help to diagnose a problem, because you can't just sent me
your config file (AFAIK) and you can't tell what stuff is different on
my system compared to your system.


Actually, you can send a piece of an appropriate config file.  In your 
LyX home directory, there's a file named 'preferences'.  It should 
contain a line defining the DOT file type and additional lines for each 
related converter you added.  Mine read as follows:


\format dot dot Dot  auto auto vector
\converter dot pdf2 dot -Tpdf $$i -o $$o 

Note that this is exactly what I entered in the all-powerful GUI.  :-)


FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)



Well, it would not be hard for someone to provide a patch file that one 
could apply to the preferences file.  The user would have to know how to 
merge in a patch file (or else LyX would have to provide a patch merge 
utility).  Unfortunately, these things are not entirely 
one-size-fits-all, even within operating systems.  For instance, my 
converter above works because I have the dot executable on my system 
command path.  Otherwise I need to provide the path to it someplace -- 
which means your plug-in installer needs to detect the location of dot 
on my system, or else open up a dialog and ask me to locate it.


If the converter entries above don't work on your system, it's possible 
that either LyX (more precisely, the child shell it spawns) can't find 
the dot executable or else lacks permission to run it.  Try the 
following.  Open a LyX doc with a dot image embedded and try View - PDF 
(pdflatex), which I gather will fail silently.  With LyX still running, 
open a terminal and navigate to the LyX temporary directory.  Verify 
that a copy of the DOT file sits there, probably with the name mangled 
by LyX.  Assuming so, run the converter from the terminal, using exactly 
the syntax of your converter entry (but substituting the mangled file 
name for $$i and the same name with a pdf extension for $$o).  In my 
case that means 'dot -Tpdf mangled name.dot -o mangled name.pdf'. 
If it fails, maybe you'll get a helpful error message in the terminal 
window.


/Paul



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin

Hi Abdel,

Abdelrazak Younes wrote:

Maybe you could contribute this converter to LyX? I am very interested 
in dot but never took the time to try to integrate it within LyX.


Happy to oblige, but I'm not sure what there is to contribute.  These 
are the lines I added to the preferences file (through Tools - 
Preferences...):


\format dot dot Dot  auto auto vector
\converter dot pdf2 dot -Tpdf $$i -o $$o 

If somebody wants to build that into a future release (which I assume 
means adding something to the configuration script to detect the dot 
executable), that's fine with me, and I hereby grant license to include 
it (if such license is even necessary -- this wouldn't seem to meet the 
standard of intellectual property).


Cheers,
Paul



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Hi Abdel,

Abdelrazak Younes wrote:

Maybe you could contribute this converter to LyX? I am very interested 
in dot but never took the time to try to integrate it within LyX.


Happy to oblige, but I'm not sure what there is to contribute.  These 
are the lines I added to the preferences file (through Tools - 
Preferences...):


\format dot dot Dot  auto auto vector
\converter dot pdf2 dot -Tpdf $$i -o $$o 


Yes, that's what I mean.



If somebody wants to build that into a future release (which I assume 
means adding something to the configuration script to detect the dot 
executable),


If you bring the subject to the list I am sure someone will do the rest 
(or help you do the rest ;-)


that's fine with me, and I hereby grant license to include 
it (if such license is even necessary -- this wouldn't seem to meet the 
standard of intellectual property).


Good!

Abdel.



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread John Pye
Paul A. Rubin wrote:
 John,

 John Pye wrote:
 Works fine for me here.  Keep in mind that there are at least three
 PDF file formats defined within LyX, because different compilation
 methods (ps2pdf, pdflatex, dvipdfm) have different requirements.  On
 my box those are designated pdf, pdf2 and pdf3 respectively, and I'm
 pretty sure that's standard across installations.  If you create a
 converter from DOT to pdf3, say, and then use View - PDF (pdflatex)
 to see the output (which is creating pdf2 output), presumably
 something will break.

 I tried this many times but no success. I am aware of the pdflatex (etc)
 issue. It is not called 'pdf3' on my system, it is called 'PDF
 (pdflatex)'. 

 Should be both:  in Tools - Preferences - File formats, if I
 highlight 'PDF (pdflatex)', that's the entry in the 'GUI name', while
 the entry in 'Format' is pdf2.  FWIW, if you want to do a file export
 from the command line, you use pdf2 as the argument to the export
 flag. Shouldn't have anything to do with the converter working or not,
 though, so long as the converter entry points to the right output GUI
 name.

 That is the standard on Fedora and Ubuntu systems, if not
 elsewhere, so I don't think you're right about 'pdf3' etc.

 This converter system is way too delicate IMHO: if you get it wrong, you
 get minimal and rather cryptic error messages.

 I tend to agree here, to the extent that if LyX gets an error message
 from an external command, it should forward it to the user.  I don't
 think that's always the case, though.  I suspect that sometimes LyX
 runs an external process and the child process exits with a nonzero
 error code but not much else.  LyX can't tell you what it doesn't know
 (i.e., LyX is not an academic).

 It's also impossible for
 someone to help to diagnose a problem, because you can't just sent me
 your config file (AFAIK) and you can't tell what stuff is different on
 my system compared to your system.

 Actually, you can send a piece of an appropriate config file.  In your
 LyX home directory, there's a file named 'preferences'.  It should
 contain a line defining the DOT file type and additional lines for
 each related converter you added.  Mine read as follows:

 \format dot dot Dot  auto auto vector
 \converter dot pdf2 dot -Tpdf $$i -o $$o 

 Note that this is exactly what I entered in the all-powerful GUI.  :-)

 FWIW, I think that rather than an all-powerful GUI for editing
 converters, file formats, etc, these things should be stored in flat
 platform-specific configuration files that can be packaged for
 distribution as 'plugins' eg a set of LyX configuration files + linux
 package dependences = support for Graphviz in LyX. This would take the
 voodoo out of the job of getting LyX working with various different file
 formats, and allow end-users to make use of *the tools they know
 already* in order to get extra features working with LyX. I say this,
 but I'm not going to come and help, so you best ignore me here :-)


 Well, it would not be hard for someone to provide a patch file that
 one could apply to the preferences file.  The user would have to know
 how to merge in a patch file (or else LyX would have to provide a
 patch merge utility).  Unfortunately, these things are not entirely
 one-size-fits-all, even within operating systems.  For instance, my
 converter above works because I have the dot executable on my system
 command path.  Otherwise I need to provide the path to it someplace --
 which means your plug-in installer needs to detect the location of dot
 on my system, or else open up a dialog and ask me to locate it.

I think that that is the wrong approach. It is the job of the person
writing the plugin to specify the correct location for 'dot' or whatever
else. LyX should not take on the job of going out and finding all the
necessary tools.=

The usual solution for this problem is to provide a '#include' type
functionality for configuration files. For example, in the case of
Apache on Fedora you have /etc/httpd/conf/httpd.conf which contains:

 #
 # Load config files from the config directory /etc/httpd/conf/conf.d.
 #
 Include conf.d/*.conf
This mechanism allows external packages to drop files in the
/etc/httpd/conf.d directory as required, to add new behaviour to Apache.
This means that package managers are not required to *patch* files
already installed in the system, which is always a bad idea (how to
safely un-patch the file if it has been modified since originally being
patched?)
http://httpd.apache.org/docs/1.3/mod/core.html#include

Another approach is that of Gedit, which has a little file format
*.gedit-plugin. Any files having this extension contained in
/usr/lib/gedit-2/plugins/, or in ~/.gnome2/gedit/plugins/ are loaded and
run when gedit starts, allowing the loaded code to add functionality of
Gedit via a particular plugin API.
http://live.gnome.org/Gedit/PythonPluginHowTo#head-09e0d6a68df136e82b89fd8a4d340c5439ccbfc1

A similar system could be 

Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin

John Pye wrote:


Well, it would not be hard for someone to provide a patch file that
one could apply to the preferences file.  The user would have to know
how to merge in a patch file (or else LyX would have to provide a
patch merge utility).  Unfortunately, these things are not entirely
one-size-fits-all, even within operating systems.  For instance, my
converter above works because I have the dot executable on my system
command path.  Otherwise I need to provide the path to it someplace --
which means your plug-in installer needs to detect the location of dot
on my system, or else open up a dialog and ask me to locate it.


I think that that is the wrong approach. It is the job of the person
writing the plugin to specify the correct location for 'dot' or whatever
else. LyX should not take on the job of going out and finding all the
necessary tools.=


[...]

A similar system could be used for configuration of LyX. The advantage
here is that platform specific stuff can be done by the packagers. For
example, on Ubuntu, you know that if you install the package 'graphviz'
then the program 'dot' will be installed in a standard location on PATH.
So it's just a question of creating a package that contains a file in
/etc/lyx/conf.d/graphviz.dot with dependencies on the Ubuntu 'graphviz'
package (so that installing the lyx-plugin-graphviz' package forces the
system to first install graphviz).

This approach allows Linux (Ubuntu, Fedora, SUSE, etc) release engineers
to do all the platform-specific stuff in a safe way, while still
permitting user customisation as well. Note that there might also need
to be some kind of 'lyx-reconfigure' program provided, as well. All of
this would also work fine with Fink on Mac, if desired. This only leaves
Windows as a bit of a special case, with its lack of a proper package
manager.


I agree that Windows is, as usual, a special case.  I'm not sure we can 
assume that Graphviz was installed using, say, a deb package on Ubuntu. 
 I haven't used Graphviz on Ubuntu myself, but isn't it possible that 
the user builds it rather than getting a package?  If yes, can we be 
sure where the user parked it?


For that matter, I have a commercial optimization suite I installed 
under Ubuntu.  The suite came (precompiled, of course) from the vendor 
as a generic Linux distribution, not as an Ubuntu or Debian package, 
with no particular guidance as to where to put it.  So I unpacked and 
installed it in a whimsically chosen location.


Perhaps the developers could follow your idea and come up with something 
that works for Linux and Mac users who used their respective package 
managers to install Graphviz, leaving Windows users and Linux/Mac users 
who didn't use the package manager to configure the converter manually. 
 That's mercifully beyond my pay grade, as we say hereabouts.



It is not the problem that LyX can't access the dot executable, because
when I create a converter for DOT-PNG everything works perfectly.
Problems arise when I set DOT to be a vector format and create only the
DOT-PDF (pdflatex) converter. In this case, I get a blank two-page
document, instead of the one-page document containing a Graphviz diagram
that I get with DOT-PNG.



I read previously (and forgot) that you had success with DOT - PNG. 
Probably a dopey question, but does DOT - PDF work for you if done from 
a terminal?  The Dot user guide is silent on producing PDF output 
directly (only mentions going via PS).  The more up-to-date online 
documentation does include -Tpdf as an option, with a note that this 
works only if Graphviz was built with the Cairo renderer.  I think you 
can tell from the Graphviz config file whether it has a plugin for 
pdf:cairo.  Otherwise, you might try 'dot -v -Tpdf whatever.dot -o 
whatever.pdf' and see what renderer is being used.  (Of course, if this 
produces a valid PDF file, the question is moot.)


/Paul



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes

Paul A. Rubin wrote:

John Pye wrote:



If I make a DOT-PNG converter and use that, it works fine. So there 
is nothing wrong with LyX's ability to make some form of file 
conversion here. It fails when I attempt to configure a conversion 
from DOT to PDF.




Works fine for me here.  Keep in mind that there are at least three PDF 
file formats defined within LyX, because different compilation methods 
(ps2pdf, pdflatex, dvipdfm) have different requirements.  On my box 
those are designated pdf, pdf2 and pdf3 respectively, and I'm pretty 
sure that's standard across installations.  If you create a converter 
from DOT to pdf3, say, and then use View - PDF (pdflatex) to see the 
output (which is creating pdf2 output), presumably something will break.


I always use pdflatex, so I created a Dot file format and then a Dot to 
PDF (pdflatex) converter.  The latter used the command line 'dot -Tpdf 
$$i -o $$o'.  I have the dot executable on my system command path; 
otherwise, I would need either to specify a full path in the converter 
or add the path to the LyX path prefix.


Hello Paul,

Maybe you could contribute this converter to LyX? I am very interested 
in dot but never took the time to try to integrate it within LyX.


Abdel.



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread John Pye
Hi Paul

Paul A. Rubin wrote:
 John Pye wrote:


 If I make a DOT-PNG converter and use that, it works fine. So there
 is nothing wrong with LyX's ability to make some form of file
 conversion here. It fails when I attempt to configure a conversion
 from DOT to PDF.


 Works fine for me here.  Keep in mind that there are at least three
 PDF file formats defined within LyX, because different compilation
 methods (ps2pdf, pdflatex, dvipdfm) have different requirements.  On
 my box those are designated pdf, pdf2 and pdf3 respectively, and I'm
 pretty sure that's standard across installations.  If you create a
 converter from DOT to pdf3, say, and then use View - PDF (pdflatex)
 to see the output (which is creating pdf2 output), presumably
 something will break.

I tried this many times but no success. I am aware of the pdflatex (etc)
issue. It is not called 'pdf3' on my system, it is called 'PDF
(pdflatex)'. That is the standard on Fedora and Ubuntu systems, if not
elsewhere, so I don't think you're right about 'pdf3' etc.

This converter system is way too delicate IMHO: if you get it wrong, you
get minimal and rather cryptic error messages. It's also impossible for
someone to help to diagnose a problem, because you can't just sent me
your config file (AFAIK) and you can't tell what stuff is different on
my system compared to your system.

FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)

Cheers
JP





Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Abdelrazak Younes

John Pye wrote:

FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)


Still, you are welcome to bring the subject and your thoughts to the 
development list. Maybe you could also create an enhancement entry in 
bugzilla too.


Abdel.



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin

John,

John Pye wrote:

Works fine for me here.  Keep in mind that there are at least three
PDF file formats defined within LyX, because different compilation
methods (ps2pdf, pdflatex, dvipdfm) have different requirements.  On
my box those are designated pdf, pdf2 and pdf3 respectively, and I'm
pretty sure that's standard across installations.  If you create a
converter from DOT to pdf3, say, and then use View - PDF (pdflatex)
to see the output (which is creating pdf2 output), presumably
something will break.


I tried this many times but no success. I am aware of the pdflatex (etc)
issue. It is not called 'pdf3' on my system, it is called 'PDF
(pdflatex)'. 


Should be both:  in Tools - Preferences - File formats, if I highlight 
'PDF (pdflatex)', that's the entry in the 'GUI name', while the entry in 
'Format' is pdf2.  FWIW, if you want to do a file export from the 
command line, you use pdf2 as the argument to the export flag. 
Shouldn't have anything to do with the converter working or not, though, 
so long as the converter entry points to the right output GUI name.



That is the standard on Fedora and Ubuntu systems, if not
elsewhere, so I don't think you're right about 'pdf3' etc.

This converter system is way too delicate IMHO: if you get it wrong, you
get minimal and rather cryptic error messages.


I tend to agree here, to the extent that if LyX gets an error message 
from an external command, it should forward it to the user.  I don't 
think that's always the case, though.  I suspect that sometimes LyX runs 
an external process and the child process exits with a nonzero error 
code but not much else.  LyX can't tell you what it doesn't know (i.e., 
LyX is not an academic).



It's also impossible for
someone to help to diagnose a problem, because you can't just sent me
your config file (AFAIK) and you can't tell what stuff is different on
my system compared to your system.


Actually, you can send a piece of an appropriate config file.  In your 
LyX home directory, there's a file named 'preferences'.  It should 
contain a line defining the DOT file type and additional lines for each 
related converter you added.  Mine read as follows:


\format dot dot Dot  auto auto vector
\converter dot pdf2 dot -Tpdf $$i -o $$o 

Note that this is exactly what I entered in the all-powerful GUI.  :-)


FWIW, I think that rather than an all-powerful GUI for editing
converters, file formats, etc, these things should be stored in flat
platform-specific configuration files that can be packaged for
distribution as 'plugins' eg a set of LyX configuration files + linux
package dependences = support for Graphviz in LyX. This would take the
voodoo out of the job of getting LyX working with various different file
formats, and allow end-users to make use of *the tools they know
already* in order to get extra features working with LyX. I say this,
but I'm not going to come and help, so you best ignore me here :-)



Well, it would not be hard for someone to provide a patch file that one 
could apply to the preferences file.  The user would have to know how to 
merge in a patch file (or else LyX would have to provide a patch merge 
utility).  Unfortunately, these things are not entirely 
one-size-fits-all, even within operating systems.  For instance, my 
converter above works because I have the dot executable on my system 
command path.  Otherwise I need to provide the path to it someplace -- 
which means your plug-in installer needs to detect the location of dot 
on my system, or else open up a dialog and ask me to locate it.


If the converter entries above don't work on your system, it's possible 
that either LyX (more precisely, the child shell it spawns) can't find 
the dot executable or else lacks permission to run it.  Try the 
following.  Open a LyX doc with a dot image embedded and try View - PDF 
(pdflatex), which I gather will fail silently.  With LyX still running, 
open a terminal and navigate to the LyX temporary directory.  Verify 
that a copy of the DOT file sits there, probably with the name mangled 
by LyX.  Assuming so, run the converter from the terminal, using exactly 
the syntax of your converter entry (but substituting the mangled file 
name for $$i and the same name with a pdf extension for $$o).  In my 
case that means 'dot -Tpdf mangled name.dot -o mangled name.pdf'. 
If it fails, maybe you'll get a helpful error message in the terminal 
window.


/Paul



Re: Can't convert graphviz DOT format to PDF

2008-05-21 Thread Paul A. Rubin

Hi Abdel,

Abdelrazak Younes wrote:

Maybe you could contribute this converter to LyX? I am very interested 
in dot but never took the time to try to integrate it within LyX.


Happy to oblige, but I'm not sure what there is to contribute.  These 
are the lines I added to the preferences file (through Tools - 
Preferences...):


\format dot dot Dot  auto auto vector
\converter dot pdf2 dot -Tpdf $$i -o $$o 

If somebody wants to build that into a future release (which I assume 
means adding something to the configuration script to detect the dot 
executable), that's fine with me, and I hereby grant license to include 
it (if such license is even necessary -- this wouldn't seem to meet the 
standard of intellectual property).


Cheers,
Paul



  1   2   >