I was going crazy with the LyX and MikTeX configuration for a new class,I think I have done it matching the step! but None I get
here what i've done:
Get a copy of the class file, and copy it into a folder with the same name into
C:\Users\AppData\Roaming\MiKTeX\2.8\tex\latex.So, forociamthesis.cls, you should have a folder calledociamthesiswithinC:\Users\\AppData\Roaming\MiKTeX\2.8\tex\latex. This is Windows Vista / Windows 7 specific, you will soon see why… Create a new file and paste the following into it:
% Do not delete the line below; configure depends on this
\DeclareLaTeXClass[xxx]{article (xxx)}
Input general definitions
Input
stdclass.increplacing xxx with the class name (without the .cls extension).
In my case, xxx is eethesis, and the code above becomes:
% Do not delete the line below; configure depends on this
\DeclareLaTeXClass[ociamthesis]{report (ociamthesis)}
Input general definitions
Input stdclass.inc
Thanks goes out to Adding a new class in LyX for this.
Save this file to
C:\Program Files\LyX16\Resources\layouts, naming itociamthesis.layout. In a command prompt (type cmd in start menu), type texhash. What you will now see it doing is iterating through several folders for new classes, one of which (C:\Users\AppData\Roaming\MiKTeX\2.8\) is where we copied the ociamthesis.cls class file into. Within Lyx, hit Tools > Reconfigure, then restart Lyx.
but when I try to run, I get this error message : LaTeX Error :
File 'ociamthesis.sty' not found
Can anyone help me?