[EMAIL PROTECTED] wrote:
Hi, I'm new to Lyx and Latex in general, and I'm having trouble installing a new .cls file. I've read a previous post on this subject, and did exactly as was described, but it still wouldn't recognize the file. I'm running

win2k
Miktex Minimum 2.4.1461
Lyx 1.3.5

I put the file once in miktex\localtexmf\tex\latex\user and also tried it once in miktex\tex\latex\base. I clicked every refresh button in the miktex options, than ran lyx -> edit -> reconfigure. Still nothing. Also, the classes that appear in the lyx menu seem a lot less than what's available in miktex I think. Any ideas???

Thanks in advance!

What you did sounds fine for getting the new class installed under MiKTeX. Just as insurance, you might open a command window and type 'kpsewhich new_class.cls' (without the quotes, and changing new_class to the name of your class file). It should spit up the path to the .cls file.

LyX uses layout files to tell it how to display various document classes on screen. Have a look at Chapter 5 of Help->Customization for details. You may also find some help in the Layouts page of the LyX Wiki (http://wiki.lyx.org/Layouts/Layouts). I'm pretty sure that the LyX reconfiguration script only looks for class files for which LyX has an associated layout file, which explains both why you don't see many of the classes that came with MiKTeX and why your new class is not listed. If I'm right, you're going to have to cobble together a layout file to use with the new class (unless someone else has already done so).

Paul



Reply via email to