Rich Shepard wrote: > I'm trying to install the memoir class package for use within LyX. I've > missed a turn somewhere and am now lost. Here's what I did:
Rich, the procedure is, unfortunately, slightly more complicated. > Went to CTAN and downloaded memoir.dtx and memoir.ins (and the huge pdf > manual). OK. > Fired up the "configuration" document under LyX's Help menu and went to > section 5.1 Installing a new LaTeX package. Read and followed all > instructions. My local directory is /usr/local/share/tetex/tex/latex. In > there I made a new subdirectory, memoir/ and put the two downloaded files > in there. No instructions on installing; no tarball. Ran texhash. From > within LyX ran Edit (not Options) > Reconfigure, then closed and restarted > LyX. First, you have to "extract" the package. That is, run "latex memoir.ins" and "latex memoir.dtx" in the memoir directory. The former will extract the actual packages (i.e. the *.cls, *.sty and *.clo files), the latter the documentation. Now run texhash. LaTeX is then ready for memoir. > No 'memoir' when I load my book and check in Layout > Document > Class. You need a corresponding lyx layout file for the memoir class. Unfortunately, there isn't any yet. The memoir package is very powerful, so someone has to spend the time to write a lyx layout which is appropriate. However, the attached layout file is a poor man's solution. It supports the basic environments (i.e. those which are also in the standard book class) and the additional font sizes of memoir. At least you can use memoir inside LyX. You have to use ERT (TeX mode) for more sophisticated things, though. If it is of some use for you, put it in ~/.lyx/layouts, run Edit->Reconfigure from within LyX and restart. You should then be able to use memoir. Regards, Jürgen. > Please pass me a clue here.
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass{memoir} # Memoir textclass definition file (poor man's version). # Author: Jürgen Spitzmüller <[EMAIL PROTECTED]> # Input general definitions Input stdclass.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep 4 LabelString Bibliography # label font definition LabelFont Series Bold Size Huge EndFont End ClassOptions FontSize 9|10|11|12|14|17 end