M. C. D. wrote:
> I installed LyX/Mac with the intention of writing a .layout file for
> a LaTeX class I maintain. However, I couldn't even get LyX to
> add the class to Layout | Document | Class. I followed the
> directions in the Customization help file. I assume I got that
> right because from the command line LaTeX is finding the class
> in its new location
Hello, Mary.
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.
See, eg, extarticle.layout, below
HTH,
Angus
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{extarticle}
# Article textclass definition file. Taken from initial LyX
# source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# this file: Herbert Voss <[EMAIL PROTECTED]>
#
Input article.layout
#
# change available fontsizes
#
ClassOptions
FontSize 8|9|14|17|20
end