Re: relyx issue: got CLS, wants LAYOUT

2004-12-21 Thread Juergen Spitzmueller
Alessandro Magni wrote:

 now: why do I need a hmm.layout, when I already have the cls file? I
 know for sure that hmm2005.tex compiles
 correctly under latex, so it is a relyx issue...

Because LyX isn't LaTeX. LyX needs the layout files as an interface to
LaTeX, docbook or whatever the backend is.
Have a look at Help-Customization, chapter 5 for details. In most cases,
creating a layout file isn't really a difficult task.

Jürgen



Re: relyx issue: got CLS, wants LAYOUT

2004-12-21 Thread Juergen Spitzmueller
Alessandro Magni wrote:

 now: why do I need a hmm.layout, when I already have the cls file? I
 know for sure that hmm2005.tex compiles
 correctly under latex, so it is a relyx issue...

Because LyX isn't LaTeX. LyX needs the layout files as an interface to
LaTeX, docbook or whatever the backend is.
Have a look at Help-Customization, chapter 5 for details. In most cases,
creating a layout file isn't really a difficult task.

Jürgen



Re: relyx issue: got CLS, wants LAYOUT

2004-12-21 Thread Juergen Spitzmueller
Alessandro Magni wrote:

> now: why do I need a hmm.layout, when I already have the cls file? I
> know for sure that hmm2005.tex compiles
> correctly under latex, so it is a relyx issue...

Because LyX isn't LaTeX. LyX needs the layout files as an "interface" to
LaTeX, docbook or whatever the backend is.
Have a look at Help->Customization, chapter 5 for details. In most cases,
creating a layout file isn't really a difficult task.

Jürgen



relyx issue: got CLS, wants LAYOUT

2004-12-15 Thread Alessandro Magni
Hi people,
I need help in the addition and use of a new class.
A forthcoming conference just provided a package for us to write our 
papers. It contains:

hmm.cls
flushend.sty
hmm2005.tex
i.e. a class file, a style file, and an example file - so I guess (LyX 
made me lazy, so my understanding of the
Latex world of classes is a bit vague).

The problem: when importing hmm2005.tex, relyx says:
   reLyX directory is: /usr/local/share/lyx/reLyX
   reLyX, the LaTeX to LyX translator. Revision date 2003/01/20
   Reading LaTeX command syntax
   (hmm2005.tex: Splitting Preamble
   Creating LyX preamble
   Cannot find layout file hmm.layout in dir(s) /root/.lyx/layouts 
/usr/local/share/lyx/layouts at
   /usr/local/share/lyx/reLyX/ReadCommands.pm line 267, PREAMBLE line 12.
   Compilation failed in require at /usr/local/bin/reLyX line 76, 
PREAMBLE line 12.
   Exited due to fatal Error!

now: why do I need a hmm.layout, when I already have the cls file? I 
know for sure that hmm2005.tex compiles
correctly under latex, so it is a relyx issue...

thanks for any help...
Alessandro Magni

--
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919 834
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~


relyx issue: got CLS, wants LAYOUT

2004-12-15 Thread Alessandro Magni
Hi people,
I need help in the addition and use of a new class.
A forthcoming conference just provided a package for us to write our 
papers. It contains:

hmm.cls
flushend.sty
hmm2005.tex
i.e. a class file, a style file, and an example file - so I guess (LyX 
made me lazy, so my understanding of the
Latex world of classes is a bit vague).

The problem: when importing hmm2005.tex, relyx says:
   reLyX directory is: /usr/local/share/lyx/reLyX
   reLyX, the LaTeX to LyX translator. Revision date 2003/01/20
   Reading LaTeX command syntax
   (hmm2005.tex: Splitting Preamble
   Creating LyX preamble
   Cannot find layout file hmm.layout in dir(s) /root/.lyx/layouts 
/usr/local/share/lyx/layouts at
   /usr/local/share/lyx/reLyX/ReadCommands.pm line 267, PREAMBLE line 12.
   Compilation failed in require at /usr/local/bin/reLyX line 76, 
PREAMBLE line 12.
   Exited due to fatal Error!

now: why do I need a hmm.layout, when I already have the cls file? I 
know for sure that hmm2005.tex compiles
correctly under latex, so it is a relyx issue...

thanks for any help...
Alessandro Magni

--
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919 834
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~


relyx issue: got CLS, wants LAYOUT

2004-12-15 Thread Alessandro Magni
Hi people,
I need help in the addition and use of a new class.
A forthcoming conference just provided a package for us to write our 
papers. It contains:

hmm.cls
flushend.sty
hmm2005.tex
i.e. a class file, a style file, and an example file - so I guess (LyX 
made me lazy, so my understanding of the
Latex world of classes is a bit vague).

The problem: when importing hmm2005.tex, relyx says:
   reLyX directory is: /usr/local/share/lyx/reLyX
   reLyX, the LaTeX to LyX translator. Revision date 2003/01/20
   Reading LaTeX command syntax
   (hmm2005.tex: Splitting Preamble
   Creating LyX preamble
   Cannot find layout file hmm.layout in dir(s) /root/.lyx/layouts 
/usr/local/share/lyx/layouts at
   /usr/local/share/lyx/reLyX/ReadCommands.pm line 267,  line 12.
   Compilation failed in require at /usr/local/bin/reLyX line 76, 
 line 12.
   Exited due to fatal Error!

now: why do I need a hmm.layout, when I already have the cls file? I 
know for sure that hmm2005.tex compiles
correctly under latex, so it is a relyx issue...

thanks for any help...
Alessandro Magni

--
~~
\  Dr.Alessandro Magni
/   IEN Galileo Ferraris
\   Strada delle Cacce 91, 10135 Torino (ITALIA)
/   Email [EMAIL PROTECTED]
\   Fax 0039-011-3919 834
/   Tel 0039-011-3919 821 
\   URL http://www.ien.it/~magni
~~