On Sep 6, 2008, at 11:25 AM, Martin Lesmana wrote:
Hi there,
I have followed the installation instruction here http://wiki.lyx.org/Mac/Mac
(option 2)
to install tetex, ghostscript and imagemagick using fink.
And then I get the .dmg file for Lyx and drag that into my
applications folder.
I am happy that the standard stuffs works fine, however I am trying
to add this class file (uw-report.cls) that I have downloaded to
show up on Lyx.
Here is what I've done:
Placed uw-report.cls under /sw/share/texmf-local/tex/latex/uw-report/
Create a simple uw-report.layout file containing:
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[uw-report]{article (uw-report)}
# Input general definitions
Input stdclass.inc
and placed it in /sw/share/texmf-local/source/latex/uw-report/lyx/
layouts/
the lyx layout file should be in the directory
/Users/yourusername/Library/Application Support/LyX-1.5/layouts