Firat Bilgel wrote:

Is the MiKTeX bin directory on your system command path? (Can you run
latex --version from a DOS prompt?)

Firat wrote:
I have reinstalled the bundle on C:\program files\lyx15 and C:\program
files\miktex2.7, still doesnt work. I have a miktex bin directory in
C:\program files\miktex2.7\miktex\bin. Is this what you mean by bin
directory?

Yes.

I don't know how to run latex from a DOS prompt. I'm an average
computer user by the way.


Hold down the Windows key (the one with an icon that looks a little like a flag rippling in a breeze) and hit R. That should bring up the Run menu. Type 'cmd' without the quotes and hit Enter or click Ok. You should now have a window showing a command prompt. Type 'latex --version' (again without the quotes) and hit Enter. If the MiKTeX bin directory is on your system command path, you should get a few lines of output, the first of which should look something like

MiKTeX-pdfTeX 2.7.3147 (1.40.9) (MiKTeX 2.7).

The central idea is that programs on your command path can be run from anywhere, without specifying the path to them. Programs not on your command path have to be started by specifying the path (or clicking an icon that contains the path). When LyX tries to configure itself the first time, it does not necessarily know where MiKTeX is installed (or even if MiKTeX is installed), so it tries to run latex.exe to see if it exists. If MiKTeX is not on the command path, Windows will not be able to run it (since LyX could not specify the directory), and LyX will think MiKTeX is not installed.

If this is indeed the problem, let us know, and someone will walk you through the steps of adding MiKTeX to the command path.

/Paul

Reply via email to