"Paul A. Rubin" <[EMAIL PROTECTED]> a écrit dans le message 
de news: [EMAIL PROTECTED]
> Mao Jie wrote:
>
>> I try both the version 1.5.1 and 1.4.5 on my computer with Windows XP and
>> as soon as i open any lyx file, lyx tells me "The document uses a missing 
>> Tex class "article". Lyx will not be able to produce output". I want to 
>> know why. Does it result from wrong installation?
>>
>
> The most likely reason is that you either do not have LaTeX installed or 
> have it installed improperly.  On Windows, the most common LaTeX 
> distribution is MikTeX.  If you don't have MikTeX (or some other 
> distribution), you can do one of the following:
>
> a) download and install MikTeX (http://www.miktex.org); start LyX; run 
> Tools -> Reconfigure, and wait for it to complete; then close and restart 
> LyX; or
>
> b) uninstall LyX, download the complete installer 
> (http://wiki.lyx.org/Windows/Windows -- you want the 80 MB "bundle") and 
> install that.
>
> Note that LyX needs a few other programs besides LaTeX, notably 
> ImageMagick (for image processing) and Ghostscript.  If you are missing 
> those as well, take option (b) above; the bundle comes with everything you 
> need.
>
> On the other hand, if you think that you have a working copy of LaTeX 
> installed, open a DOS window and run 'kpsewhich article.cls'.  It should 
> tell you the path to the article class.  If it fails to do so, your LaTeX 
> distribution is screwed up.  If DOS says kpsewhich is an unknown command, 
> you need to get your LaTeX bin directory onto the system command path.
>
> /Paul

Just for information, After installing 1.5.1 I was unable to read properly 
some documents because the class is missing in the standard installation 
package. So one way is to:

Go to Start (is it start in English, the left button at the bottom corner of 
the screen)program -->MiKTeX.6-->Click on "Browse Package". Then you will 
get all the available packages and you will see which one are installed in 
your MiKTeX. Then you can select the one(s) which is(are) missing and click 
on the button "+" which is at the upper left corner of the window. Then and 
if you are connected to internet the package(s) will be automatically 
downloaded and installed.
If I remember properly that option was already available in the former 
MiKTeX.

Paul
>
> 



Reply via email to