Dear Rubin
Thank you very much for your quick reply. I am sorry for the delayed response 
to your email. I went step by step according to your suggestions. 
1. I could not find any configure.log file under C:\users\...\Roaming\LyX 2.0. 
There was only one folder named "cache" and a file outside the folder named 
"session".
2.I tried to run configuration script in DOS windows: C:\Program 
Files(x86)\LyX20\Python\Python.exe , this one did not show any error. But when 
I ran the other one with configure.py it showed the following messages:
File "C:\Program Files (x86)\LyX 2.0\Resources\configure.py", line 11, in , 
<module>
import  sys, os, re , shutil, glob, logging, subprocess
File "C:\python25\lib\subprocess.py", line375, in<module>
import threading
File "C:\python25\lib\threading.py", line 13, in <module>

from collections import deque
Import error: No module named collections

I again apologize for being little late to reply to the group and rubin.

I really appreciate your help and time.

Thank you very much.

Regards
Sharif


________________________________
 From: Paul A. Rubin <ru...@msu.edu>
To: Y.A. Sharif <yasha...@yahoo.com> 
Sent: Friday, June 7, 2013 9:37 AM
Subject: Re: Document class missing after installation
 


Y.A.,

LyX creates a user directory for you, where it stores your
    preferences and other "local" files. On my Windows 7 partition, the
    user directory is C:\Users\Paul\AppData\Roaming\LyX2.0. If you have
    trouble finding it, Help > About LyX should point you to it.

In that directory, there should be a text file named configure.log.
    (If not, keep reading, I'll get to that case.) It's generated when
    the Python configuration script runs. (This is script is both run at
    installation and when you click Tools > Reconfigure in LyX.) In
    it, you should see lines like the following:

INFO: checking for a Latex2e program... 
INFO: +checking for "latex"...  yes 
INFO: checking for a DVI postprocessing program... 
INFO: +checking for "pplatex"...  yes 

and eventually

INFO: checking for the pdflatex program... 
INFO: +checking for "pdflatex"...  yes 

If they read "no", it means LyX failed to detect MiKTeX for some
    reason. I've seen this happen when the user had Cygwin installed,
    for instance. I don't know if it is still true, but Cygwin used to
    come with a broken copy of LaTeX, and if Cygwin was in front of
    MiKTeX on the system command path, LyX would test the Cygwin version
    of latex.exe and conclude that there was no working LaTeX compiler
    on the system.

If the log shows that LyX found MiKTeX ('yes' responses), go back to
    a DOS prompt and run 'kpsewhich article.cls' (if the article class
    is "missing" according to LyX) and make sure that MiKTeX finds it.
    If that looks correct, or if the log file is missing, then I suggest
    you cd to your LyX user directory and run the configuration script
    in a DOS window. The command line will look something like the
    following (allowing for the possibility that your installation path
    is different):

"C:\Program Files (x86)\LyX20\Python\python.exe" "C:\Program Files
    (x86)\LyX20\Resources\configure.py"

See if any error messages appear.

Paul


On 06/06/2013 06:44 PM, Y.A. Sharif wrote:


>
> 
>Thankk you Paul for your reply.
>I have checked according to your suggestion. It shows in DOS prmopt :"this is 
>pdfTeX, Version 3.14....-...-1.40.13<MiKTeX 2.9>
>But I could not understand your 2nd paragraph. Do you want me to check the log 
>generated by lyx ? Little confused, could you explain little more.
>Thank you.
>
>
>Y.A.Sharif
>
>
>
>
>
>________________________________
> From: Paul Rubin <ru...@msu.edu>
>To: lyx-users@lists.lyx.org 
>Sent: Thursday, June 6, 2013 3:11 PM
>Subject: Re: Document class missing after installation
> 
>
>Is the MiKTeX bin directory on your system path? Can you
              run "latex --version"
>at a DOS prompt (without supplying a path to MiKTeX) and
              get a response
>with a plausible version date?
>
>If yes, take a look at the log generated by the installer
              (should be
>in your user directory, I think) and see if it found a
              LaTeX installation.
>You might want to publish the log to the list.
>
>Paul
>
>
>
>
>

Reply via email to