On Sat, 22 Mar 2003 [EMAIL PROTECTED] wrote:
> On Sat, 22 Mar 2003, [ISO-8859-1] Christian Ridderstr�m wrote:
>
> Thanks for the reply.
>
> I'm not finding any .layout files in any of the classes I've added
> successfully or unsuccessfully -- after compiling of course. I've had .sty
> or .sty and .cls files only on the ones that have worked so far. <??>
>
> And what if the new classs isn't based on any existing one? There's a
> latex music class (mustek) that I'd like to add for one that I don't
> believe is based on another existing class.
>
> I think that the ones I've successfully added so far are based on article
> (aa, paper), but they don't have .layout files.
>
> jamie
Ok... we probably need to get some basics right here first...
.sty-files, you add by writing stuff like:
\usepackage{somepackage}
in your preamble.
Then we have the layout and latex classes. These two are connected, I
guess you can say that each layout is based on a latex class.
In this example, the layout - clawar - was based on the class article.
> >
> > >From my file: clawar.layout
> > #% Do not delete the line below; configure depends on this
> > # \DeclareLaTeXClass[article]{clawar}
> > # Article textclass definition file. Taken from initial LyX source code
> >
It sounds like you want to use a new class with lyx (mustek), and for that
you probably have to start by creating a new layout file (mustek.layout?).
Here's an example of how I've created a layout file to use the class
songbook.
http://www.md.kth.se/~chr/lyx/songbook/Songbook.shtml
You should also check out:
http://www.troubleshooters.com/linux/lyx/index.htm
and some of the other links on this page:
http://ev-en.org/wiki/moin.cgi/LyxLinks
/Christian
--
Christian Ridderstr�m http://www.md.kth.se/~chr