Discussion:
lyx problem in win8.1
LIANG Keyao
2014-10-14 12:06:43 UTC
Permalink
lyx always warns me about cannot find the basic module and no textclass, but all the layouts and modules are just in the resources folder....I do not know why it cannot recognize these files. And I cannot output tex file. It should have some opinions in " document-setting-output-default output format" like xetex something. But here is only a default opinion now. It works well in win7. I have installed MikTex, ctex, even texlive. This have puzzled me nearly a week....I have tried most solutions I could find online. none of them are work.


[cid:8bce21f4-fdb1-4410-8947-6b14ae3ace6c][cid:f8d85f92-67ed-489c-99e7-d78269a82b31][cid:91c52fab-6f10-46cb-9a96-50d8fe2297d9][cid:a89f25a7-0c0a-4ce3-ba77-61d8b25be2dd][cid:7f833740-8fee-433d-8dc8-bdf6cd896ef7]?
Richard Heck
2014-10-14 13:49:05 UTC
Permalink
Post by LIANG Keyao
lyx always warns me about cannot find the basic module and no
textclass, but all the layouts and modules are just in the resources
folder....I do not know why it cannot recognize these files. And I
cannot output tex file. It should have some opinions in "
document-setting-output-default output format" like xetex something.
But here is only a default opinion now. It works well in win7. I have
installed MikTex, ctex, even texlive. This have puzzled me nearly a
week....I have tried most solutions I could find online. none of them
are work.
LyX is finding the layouts and modules, etc, just fine. What it's
failing to find are the LaTeX classes, etc, and that is because "system
reconfiguration has failed". This is probably due to some problem with
your python installation. But I do not know anything about Windows, so
can't say more.

Perhaps someone else has some ideas.

Richard
Jacob Bishop
2014-10-14 15:52:56 UTC
Permalink
Post by LIANG Keyao
lyx always warns me about cannot find the basic module and no textclass,
but all the layouts and modules are just in the resources folder....I do
not know why it cannot recognize these files. And I cannot output tex file.
It should have some opinions in " document-setting-output-default output
format" like xetex something. But here is only a default opinion now. It
works well in win7. I have installed MikTex, ctex, even texlive. This have
puzzled me nearly a week....I have tried most solutions I could find
online. none of them are work.
LyX is finding the layouts and modules, etc, just fine. What it's failing
to find are the LaTeX classes, etc, and that is because "system
reconfiguration has failed". This is probably due to some problem with your
python installation. But I do not know anything about Windows, so can't say
more.
I don't know for sure what the problem is, but I have a laptop with Windows
8.1 and LyX and it works fine. I am using LyX 2.1.0 and MiKTeX 2.9. You
might try to go to Tools->TeX Information and see what's there. It should
give you the path to the LaTeX class files. Also, Help->LaTeX configuration
should generate a document that tells what classes, fonts, etc. your LyX is
aware of. If Richard is right (highly likely) and LyX is having trouble
finding the LaTeX classes, then this should become evident when checking
the configuration as suggested, and needs fixed. I would try to go to
Help->About LyX and make sure you have MiKTeX (and Python, ghostscript,
etc) in the path prefix. If this doesn't help you get there, maybe you can
post yours. Mine says,
$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\Perl\bin;$LyXDir\imagemagick;C:\Program
Files\MiKTeX 2.9\miktex\bin\x64;;C:\Program Files
(x86)\Vim\vim74;C:\Program Files (x86)\LyX 2.1\ghostscript\bin;C:\Program
Files\Inkscape-0.48

Jacob
LIANG Keyao
2014-10-15 02:44:41 UTC
Permalink
Appreciate that you would like to help me!

I've tried what you said,but it still does not work. I ckeck the tex information and it seems that lyx can scan the latex classes.[cid:49e35a78-80cd-4c5e-a044-b173f4c96265]

But in Latexconfig, there are all no behind the Found.

[cid:d220e58f-c046-4743-b790-230c14be3f0f]


And I think my "About Lyx" and path prefix are fine. Here is my about lyx window.

[cid:9e88cfff-ce0f-490e-9eab-566e95d3e63a]


And my path prefix is nearly the same with Jacob's. I even download a new python and change the path to the new one, but it still does not work.

[cid:14a5960b-f754-4997-b971-9f754a2a1b92]


I also tried my texwork. It can compile the example.

I finished my graduated paper by lyx in win7 one year age. And I really do not want to give up this such good software without personal reason... #sad



________________________________
·¢ŒþÈË: Jacob Bishop <***@gmail.com>
·¢ËÍʱŒä: 2014Äê10ÔÂ15ÈÕ 2:52
ÊÕŒþÈË: Richard Heck
³­ËÍ: LIANG Keyao; lyx-***@lists.lyx.org
Ö÷Ìâ: Re: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

On Tue, Oct 14, 2014 at 7:49 AM, Richard Heck <***@lyx.org<mailto:***@lyx.org>> wrote:
On 10/14/2014 08:06 AM, LIANG Keyao wrote:

lyx always warns me about cannot find the basic module and no textclass, but all the layouts and modules are just in the resources folder....I do not know why it cannot recognize these files. And I cannot output tex file. It should have some opinions in " document-setting-output-default output format" like xetex something. But here is only a default opinion now. It works well in win7. I have installed MikTex, ctex, even texlive. This have puzzled me nearly a week....I have tried most solutions I could find online. none of them are work.

LyX is finding the layouts and modules, etc, just fine. What it's failing to find are the LaTeX classes, etc, and that is because "system reconfiguration has failed". This is probably due to some problem with your python installation. But I do not know anything about Windows, so can't say more.

I don't know for sure what the problem is, but I have a laptop with Windows 8.1 and LyX and it works fine. I am using LyX 2.1.0 and MiKTeX 2.9. You might try to go to Tools->TeX Information and see what's there. It should give you the path to the LaTeX class files. Also, Help->LaTeX configuration should generate a document that tells what classes, fonts, etc. your LyX is aware of. If Richard is right (highly likely) and LyX is having trouble finding the LaTeX classes, then this should become evident when checking the configuration as suggested, and needs fixed. I would try to go to Help->About LyX and make sure you have MiKTeX (and Python, ghostscript, etc) in the path prefix. If this doesn't help you get there, maybe you can post yours. Mine says, $LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\Perl\bin;$LyXDir\imagemagick;C:\Program Files\MiKTeX 2.9\miktex\bin\x64;;C:\Program Files (x86)\Vim\vim74;C:\Program Files (x86)\LyX 2.1\ghostscript\bin;C:\Program Files\Inkscape-0.48

Jacob
Jacob Bishop
2014-10-15 16:52:40 UTC
Permalink
On Tue, Oct 14, 2014 at 8:44 PM, LIANG Keyao <
Post by LIANG Keyao
Appreciate that you would like to help me!
I'm happy to try.
Post by LIANG Keyao
I've tried what you said,but it still does not work. I ckeck the tex
information and it seems that lyx can scan the latex classes.
That's good...
Post by LIANG Keyao
But in Latexconfig, there are all no behind the Found.
That's bad...

Again, I'm puzzled by the fact that it won't reconfigure. I'm no expert,
but I suppose there are two options. You could try to get to the bottom of
the problem and fix it, or you could try to do a complete re-install. The
one thing that looks a little funny is that your working directory is on
the C:\ drive, and your install directory is on the G:\ drive. I suspect
there may be somewhere that is trying to use C:\ where it should use G:\,
or vice-versa, but I'm not sure. At this point, you may try a complete
uninstall, cleanup, and re-install. When you do that, I would recommend
doing it systematically. What I mean is that after un-installing and
cleaning up files from all LyX installs and TeX distributions, I would
start by downloading MiKTeX. Then, I would test that install by compiling a
simple raw .tex file. If that works, then I would proceed to install LyX
(not the bundle). After installing, I would try to compile a LyX document,
and troubleshoot from there.

As a side-note, I have several students installing this on their Windows 8
laptops, and aside from my university blocking their ftp downloads of lyx
site from on campus (which I hope we now have resolved), they haven't
reported any problems quite like this. Don't give up! I think you'll get
it. I hope this helps.

Jacob

Loading...