On Sun, Mar 17, 2002 at 06:06:18PM -0600, Bo Peng wrote:
> > > The problem is that I do not have the privilege to write to
> > > /usr/site/tkTeX/tex, so I
> > > have to use $TEXINPUTS to point to my personal folder. It turns out that
> > > latex
> > > can reach this folder via $TEXINPUTS so it can compile
> > cluster.tex but lyx
> > > just reconfig packages under standard latex directory. The
> > error message is
> > > "The document
> > > uses an unknown class "prosper" ...
> > >
> >
> > You need to put the layout file in your ~/.lyx/layouts, then, and then
> > do an Edit->Reconfigure
> >
> > --
> > Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
> > Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine
> > Yelena (8/8/89)
> > http://sylvan.com/~kayvan | "crown of her husband" | Robin
> > Gregory (2/28/92)
> 
> 
> Thank you for your hint but I did put prosper.layout under my .lyx/layouts.
> Reconfigure could not find prosper class. I think the problem is still
> because prosper is not under standard latex directory.
> 
> texhash give me error:
> texhash: /usr/.../texmf: directory not writable. Skipping...
> 
> which might give you some idea why this is happening. Is it possible for me
> to write directly lyx's configuration file for this?

Okay,

Do this:

Set the LaTeX stuff up in a private directory (/some/directory).

Then:

export TEXINPUTS=".:/some/directory:`kspepath tex`"

This should add . and /some/directory to the standard list of directories
that LaTeX searches.

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Attachment: msg18051/pgp00000.pgp
Description: PGP signature

Reply via email to