Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was using MiKTeX 2.9 (x64) on my Win 7 machine for some time with TeXnicCenter. Now I tried to install LyX on the same PC. The problem I get is Lyx does find neither latex.exe nor sees all the other files in \bin folder of MiKTeX. I read Lyx had problem with x64 bit MiKTeX, so I removed every "MiKTeX 2.9 x64" in Windows path and in "Lyx->Tools->Preferences-PATH prefix" and just leave 32-bit version in it. When I do: "latex.exe" in cmd, I get the correct version:

This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9)

I also tried to reconfigure LyX (Tools->Reconfigure), but always get this error:

The system reconfiguration has failed.
Default textclass is used but LyX may not be able to work properly.
Please reconfigure again if needed.

I also tried to reinstall LyX-2-0.5-Installer-3.exe and tried even with LyX-2-0.5-Bundle-3.exe. Both installations seems to finish with no error. I also tried to log off and log on, recheck all the PATHs, but nothing seems to help.

When I try to export (File->Export...) I see a popup window with no output formats. I also tried to add a new environment variable "miktexdir", but that did not do any change whatsoever. Also tried to run as Administrator, no help.

What am I doing wrong, what is the solution?

share|improve this question
Oh yeah, and this reconfiguration error is always seen on program lunch, but I can not do anything about it (no "reconfiguration" is possible). – TomiL Feb 25 at 20:52
1  
I don't understand much at all why things are so tricky in Windows (I use Ubuntu), but here is a recent bug that might be related: lyx.org/trac/ticket/8268. I think that Uwe is working hard trying to fix such issues so hopefully these will go away. – scottkosty Feb 26 at 4:14
Welcome to TeX.sx! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Speravir Feb 27 at 1:32
I cannot help with LyX, but one thing, you did, and should never had done, is removing MiKTeX from the system path without uninstalling it. Make a clean uninstall and then an installation of the 32-bit MiKTeX version. – Speravir Feb 27 at 1:50

migrated from stackoverflow.com Feb 27 at 0:57

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.