Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul



Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul



Can not load document class

2010-03-21 Thread Richard Brown
Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard


Re: Can not load document class

2010-03-21 Thread Paul A. Rubin

Richard Brown wrote:

Yesterday I made a new layout, called it poembook.layout and put it in
.lyx/layouts in my home directory. It worked splendidly. I had finally
solved my layout problems.
Today when I fired up the computer and loaded the lyx document, I get 'The
document class poembook can not be loaded.' It seems it can't find the
layout file any more. But it's still where I left it yesterday,a s far as I
can see.


What can I have done wrong?

I'm using lyx 1.6.4 on ubuntu 9.04

Richard



In order to load a layout file, LyX not only has to see the .layout 
file, it has to believe that any LaTeX classes/styles used by it are 
available.  I've no idea what happened, but (a) make sure that the class 
file (poembook.cls?) and any .sty files mentioned in the .layout file 
are available (kpsewhich poembook.cls in a terminal, ditto for anything 
else used) and (b) try reconfiguring/restarting LyX just to be safe.


(Desperation shot from half-court:) You weren't by any chance working 
with admin privileges (sudo) yesterday but not today?  If so, check that 
all the bits and pieces are at least readable by your account.


/Paul