On Wednesday 10 March 2004 10:39 pm, M. C. D. wrote:
> On Mar 10, 2004, at 2:58 PM, Angus Leeming wrote:
> > LyX knows nothing about .cls files really. The classes found in
> > Layout | Document | Class are defined by the .layout files to be
> > found in ${PREFIX}/share/lyx/layouts. Usually, you can get a long
> > way with a sffms.layout file that contains little more than an
> > instruction to input either article.layout or book.layout.
>
> Thanks, that helped. The instructions in the Customization help
> file didn't mention anything about needing the .layout file to
> install a new class (see section 5.1 Installing a new LaTeX
> package). I had my own fake .layout ready, but LyX/Mac doesn't
> install layouts into ${PREFIX}/share/lyx/ so instead I had to open
> the LyX package and put it in there.
Hi, Mary.
(Let's take this back to the mailing list.
The documentation is good, but it's getting old. I'd encourage you ---
anybody and everybody, in fact --- to post here any changes you think
would improve it. There are places where things are now so out of
date they're just plain wrong. The layout sections are a case in
point. Would you consider adding a paragraph or two to make things
clearer in light of your own experiences.)
In general you probably shouldn't change things in the globally
accessible directories. At least, not until you're happy with the new
layout. LyX differentiates between system configuration files, to be
found in ${PREFIX}/share/lyx/ and user files, usually found in
${HOME}/.lyx. I'd recommend that you put your new layout file in the
${HOME}/.lyx/layouts directory.
> Thanks again,
> mary
Regards,
Angus