On Mon, 20 Dec 1999 [EMAIL PROTECTED] wrote:

> I've tried to add a new class called exam, and have been unsuccessful.  The
> instructions call for simply placing the exam.cls file in a place where latex
> coulf find it

Yes, this means a directory under .../texmf/tex/latex/<some-directory>

> so I created a directory in the packages area, placed the file
> there, ran texhash and reran lyx configure, but was unsuccessful.

Do you have a corresponding LyX layout? Where is it? It should stay in a
directory named ".lyx/layouts" in your home directory or
/usr/local/share/lyx/layouts.

> add a documentclass statement to the preamble, but that died too.

This way your document will have two \documentclass statements.

> I then moved the file into the lyx subdirectory of that area, noting that
> other class files were in there as well, reran the configure scripts, and
> found things still not working.  I'm afraid I'm at a bit of a loss.

You can put the .cls file in another directory and instruct teTeX to look
in that place. In my .profile I have

        TEXINPUTS=".:$HOME/lib/teTeX:"
        export TEXINPUTS
 
> The only other thing I can think of is to try to create a new file
> (template?) which has its own \documentclass statement.  Is this possible?  

You *should* do it. Read the already existing layouts and you will see
that it is not that difficult.

> The class is supposed to be more or less an extension of the article
> class, FWIW.  I am curious whether it can set itself up as something
> which will list all the paragraph options as do the other classes, or
> if I will need to define some commands to shorten the typing of the
> latex code need to access the features of the package.  ???

You can add them to your new LyX layout or in last case insert them in TeX
mode.



Casantos

Reply via email to