Scott Otterson wrote:

> Lyx 1.3.6 has worked well on my WinXP machine until today, when I
> loaded a copy of my resume and got the error message:
> 
> 'Textclass error
> The document uses a missing Tex class "cv".  Lyx will not be able to
> produce output.'
> 
> I've got a couple of cv.* things installed:
> 
> c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls

This won't be found by LaTeX.

> c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty

This will, but it's in upper case, no?

> What should I set so that lyx can find them?

That depends entirely on your LaTeX distribution. TeTeX has a
"texhash" tool that you use to generate a "ls-R" file containing an
index of all files in the distribution. MikTeX has an "update files"
button or somesuch on its package manager.

The general idea is that you don't mess with the "official" tree at
all, but create a local tree for your own stuff. Thus, I put the
"cv.cls" file at something like (don't have the Windows box in front
of me ATM):

C:\Program Files\MikTeX\
    main\
        ...
    local\
        tex\
            latex\
                cv\
                    cv.cls

and then told MikTeX's package manager about the "local" tree.

HTH,
Angus


Reply via email to