Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Nicolás

Hi!

I know what the problem is, because I also experienced it.

The problem is that the layout you try to use is for a older version of 
LyX. When you load it in LyX 1.4.2, the layout2layout script is run in 
order to convert it to the format of LyX 1.4.2. The resulting layout is 
ok (well, I have not investigated too much) except for the last line:


Input obsolete.inc

If you delete this line everyting is ok. So you should:
1) Run layout2layout.py sig-alternate.layout sig-alternate_new.layout
2) Edit sig-alternate_new.layout to remove the aforementioned line
3) Rename sig-alternate_new.layout to sig-alternate.layout and copy it 
to the layouts folder


Now the question is whether the layout2layout script should have removed 
the Input obsolete.inc line. Or if LyX should have pointed to this 
problem, rather than just saying I cannot load this class. I cannot 
answer to these questions! :-)



Cheers,
Nicolás




Juergen Spitzmueller wrote:

Sebastian Zander wrote:

the class is also listed in Lyx-Tools-Tex Information-Latex Classes
but i cannot use it :(


Are the *.layout files in place?

Jürgen





Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Georg Baum
Nicolás wrote:

 Now the question is whether the layout2layout script should have removed
 the Input obsolete.inc line. Or if LyX should have pointed to this
 problem, rather than just saying I cannot load this class. I cannot
 answer to these questions! :-)

layout2layout should not have removed the line, because it does not know
whether it should be replaced by something else.
LyX 1.4.x aborts reading the layout file if a non-existing include file is
found. That is not OK, it should pop up an error message box telling that.
Please add that in bugzilla.


Georg



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Nicolás

Hi!

I know what the problem is, because I also experienced it.

The problem is that the layout you try to use is for a older version of 
LyX. When you load it in LyX 1.4.2, the layout2layout script is run in 
order to convert it to the format of LyX 1.4.2. The resulting layout is 
ok (well, I have not investigated too much) except for the last line:


Input obsolete.inc

If you delete this line everyting is ok. So you should:
1) Run layout2layout.py sig-alternate.layout sig-alternate_new.layout
2) Edit sig-alternate_new.layout to remove the aforementioned line
3) Rename sig-alternate_new.layout to sig-alternate.layout and copy it 
to the layouts folder


Now the question is whether the layout2layout script should have removed 
the Input obsolete.inc line. Or if LyX should have pointed to this 
problem, rather than just saying I cannot load this class. I cannot 
answer to these questions! :-)



Cheers,
Nicolás




Juergen Spitzmueller wrote:

Sebastian Zander wrote:

the class is also listed in Lyx-Tools-Tex Information-Latex Classes
but i cannot use it :(


Are the *.layout files in place?

Jürgen





Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Georg Baum
Nicolás wrote:

 Now the question is whether the layout2layout script should have removed
 the Input obsolete.inc line. Or if LyX should have pointed to this
 problem, rather than just saying I cannot load this class. I cannot
 answer to these questions! :-)

layout2layout should not have removed the line, because it does not know
whether it should be replaced by something else.
LyX 1.4.x aborts reading the layout file if a non-existing include file is
found. That is not OK, it should pop up an error message box telling that.
Please add that in bugzilla.


Georg



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Nicolás

Hi!

I know what the problem is, because I also experienced it.

The problem is that the layout you try to use is for a older version of 
LyX. When you load it in LyX 1.4.2, the layout2layout script is run in 
order to convert it to the format of LyX 1.4.2. The resulting layout is 
ok (well, I have not investigated too much) except for the last line:


<>

If you delete this line everyting is ok. So you should:
1) Run layout2layout.py sig-alternate.layout sig-alternate_new.layout
2) Edit sig-alternate_new.layout to remove the aforementioned line
3) Rename sig-alternate_new.layout to sig-alternate.layout and copy it 
to the layouts folder


Now the question is whether the layout2layout script should have removed 
the "Input obsolete.inc" line. Or if LyX should have pointed to this 
problem, rather than just saying "I cannot load this class". I cannot 
answer to these questions! :-)



Cheers,
Nicolás




Juergen Spitzmueller wrote:

Sebastian Zander wrote:

the class is also listed in Lyx->Tools->Tex Information->Latex Classes
but i cannot use it :(


Are the *.layout files in place?

Jürgen





Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-21 Thread Georg Baum
Nicolás wrote:

> Now the question is whether the layout2layout script should have removed
> the "Input obsolete.inc" line. Or if LyX should have pointed to this
> problem, rather than just saying "I cannot load this class". I cannot
> answer to these questions! :-)

layout2layout should not have removed the line, because it does not know
whether it should be replaced by something else.
LyX 1.4.x aborts reading the layout file if a non-existing include file is
found. That is not OK, it should pop up an error message box telling that.
Please add that in bugzilla.


Georg



cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

Hi,

after installing LyX 1.4.2 under windows xp (the small version not the bundle)
i cannot work with some non-standard classes anymore (but it worked fine under
LyX 1.4.1). For example i have installed the ACM template and sig-alternate.cls
from:
http://www.ece.iit.edu/~jgrad/lyx/

i have no problems with tex documents using the class under miktex. however,
everytime i try to use the class under LyX i get the error message could not
load the class (or could not convert to this class when i try to change to
it under settings) and then it sets the class to the default article.

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true

the same happens for other templates and classes i installed. i ran out
of ideas and would greatly appreciate if somebody could tell me how to fix
this problem!

cheers,

Sebastian



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Bo Peng

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true


Just to check: have you run texhash of miktex?

Bo


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

i ran miktex options refresh file name database a couple of times.

the class is also listed in Lyx-Tools-Tex Information-Latex Classes
but i cannot use it :(

cheers,

Sebastian

Bo Peng wrote:

but i ran reconfigure (and configure from the command line) a couple 
of times

and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true



Just to check: have you run texhash of miktex?

Bo




--
Sebastian Zander
http://caia.swin.edu.au


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Juergen Spitzmueller
Sebastian Zander wrote:
 the class is also listed in Lyx-Tools-Tex Information-Latex Classes
 but i cannot use it :(

Are the *.layout files in place?

Jürgen


cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

Hi,

after installing LyX 1.4.2 under windows xp (the small version not the bundle)
i cannot work with some non-standard classes anymore (but it worked fine under
LyX 1.4.1). For example i have installed the ACM template and sig-alternate.cls
from:
http://www.ece.iit.edu/~jgrad/lyx/

i have no problems with tex documents using the class under miktex. however,
everytime i try to use the class under LyX i get the error message could not
load the class (or could not convert to this class when i try to change to
it under settings) and then it sets the class to the default article.

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true

the same happens for other templates and classes i installed. i ran out
of ideas and would greatly appreciate if somebody could tell me how to fix
this problem!

cheers,

Sebastian



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Bo Peng

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true


Just to check: have you run texhash of miktex?

Bo


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

i ran miktex options refresh file name database a couple of times.

the class is also listed in Lyx-Tools-Tex Information-Latex Classes
but i cannot use it :(

cheers,

Sebastian

Bo Peng wrote:

but i ran reconfigure (and configure from the command line) a couple 
of times

and in my textclass.lst i have:
sig-alternate sig-alternate article (sig-alternate) true



Just to check: have you run texhash of miktex?

Bo




--
Sebastian Zander
http://caia.swin.edu.au


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Juergen Spitzmueller
Sebastian Zander wrote:
 the class is also listed in Lyx-Tools-Tex Information-Latex Classes
 but i cannot use it :(

Are the *.layout files in place?

Jürgen


cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

Hi,

after installing LyX 1.4.2 under windows xp (the small version not the bundle)
i cannot work with some non-standard classes anymore (but it worked fine under
LyX 1.4.1). For example i have installed the ACM template and sig-alternate.cls
from:
http://www.ece.iit.edu/~jgrad/lyx/

i have no problems with tex documents using the class under miktex. however,
everytime i try to use the class under LyX i get the error message could not
load the class (or could not convert to this class when i try to change to
it under settings) and then it sets the class to the default article.

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"

the same happens for other templates and classes i installed. i ran out
of ideas and would greatly appreciate if somebody could tell me how to fix
this problem!

cheers,

Sebastian



Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Bo Peng

but i ran reconfigure (and configure from the command line) a couple of times
and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"


Just to check: have you run texhash of miktex?

Bo


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Sebastian Zander

i ran miktex options refresh file name database a couple of times.

the class is also listed in Lyx->Tools->Tex Information->Latex Classes
but i cannot use it :(

cheers,

Sebastian

Bo Peng wrote:

but i ran reconfigure (and configure from the command line) a couple 
of times

and in my textclass.lst i have:
"sig-alternate" "sig-alternate" "article (sig-alternate)" "true"



Just to check: have you run texhash of miktex?

Bo




--
Sebastian Zander
http://caia.swin.edu.au


Re: cannot load class problem with LyX 1.4.2 windows binary

2006-07-20 Thread Juergen Spitzmueller
Sebastian Zander wrote:
> the class is also listed in Lyx->Tools->Tex Information->Latex Classes
> but i cannot use it :(

Are the *.layout files in place?

Jürgen