Hi,
I'm using Lyx on debian...
Lyx 1.4.3-2 has trouble using a local document class and layout. Lyx
1.3.7
from ubuntu dapper has no problem using the same document class and layout.
to reproduce:
latex document class:
http://www.acm.org/sigs/pubs/proceed/sig-alternate.cls
in
~/texmf/tex/latex/base/sig-alternate.cls
lyx layout:
http://www.ece.iit.edu/~jgrad/lyx/layouts/sig-alternate.layout
in
.lyx/layouts/sig-alternate.layout
(run texhash, reconfigure and restart lyx)
In Lyx-1.4.3:
1. Create new document.
File->New
2. Change document class.
Document->Settings...->Document Class->Document Class: article
(sig-alternate)
3. OK
Lyx window says:
Lyx: Could not change class
The document could not be converted into the document class sig-alternate.
Lyx console says:
New counter already exists: part
New counter already exists: chapter
New counter already exists: section
New counter already exists: subsection
New counter already exists: subsubsection
New counter already exists: paragraph
New counter already exists: subparagraph
New counter already exists: enumi
New counter already exists: enumii
New counter already exists: enumiii
New counter already exists: enumiv
New counter already exists: bibitem
New counter already exists: figure
New counter already exists: table
New counter already exists: algorithm
New counter already exists: equation
Cannot read layout file `'.
LyX: Error reading inputfile: [around line 518 of
file /tmp/lyx_tmpdir268815iBA3q/26881qQW5mf]
Error reading `~/.lyx/layouts/sig-alternate.layout'
(Check `sig-alternate')
Check your installation and try Options/Reconfigure...
New counter already exists: part
New counter already exists: chapter
New counter already exists: section
New counter already exists: subsection
New counter already exists: subsubsection
New counter already exists: paragraph
New counter already exists: subparagraph
New counter already exists: enumi
New counter already exists: enumii
New counter already exists: enumiii
New counter already exists: enumiv
New counter already exists: bibitem
New counter already exists: figure
New counter already exists: table
New counter already exists: algorithm
New counter already exists: equation
Cannot read layout file `'.
LyX: Error reading inputfile: [around line 518 of
file /tmp/lyx_tmpdir268815iBA3q/268813rzEF9]
Error reading `~/.lyx/layouts/sig-alternate.layout'
(Check `sig-alternate')
Check your installation and try Options/Reconfigure...
New counter already exists: part
New counter already exists: chapter
New counter already exists: section
New counter already exists: subsection
New counter already exists: subsubsection
New counter already exists: paragraph
New counter already exists: subparagraph
New counter already exists: enumi
New counter already exists: enumii
New counter already exists: enumiii
New counter already exists: enumiv
New counter already exists: bibitem
New counter already exists: figure
New counter already exists: table
New counter already exists: algorithm
New counter already exists: equation
Cannot read layout file `'.
LyX: Error reading inputfile: [around line 518 of
file /tmp/lyx_tmpdir268815iBA3q/268816SCG43]
Error reading `~/.lyx/layouts/sig-alternate.layout'
(Check `sig-alternate')
Check your installation and try Options/Reconfigure...
No problem in Lyx 1.3.7 from ubuntu dapper:
1. Create new document.
File->New
2. Change document class.
Layout->Document...->Layout->Document Class: article (sig-alternate)
3. OK
Can anybody else test this on their distribution? I want to check
whether
this is a Debian problem or a Lyx problem.
Thanks!
C.