Re: configuring class files

2002-02-20 Thread kars175

my layout file with class is not detected. In the website for installing layouts he 
has given that i have to go to ./lyx and type configure. But there is no file 
configure there. Instead I went to /usr/share/lyx and found configure there. Now the 
layout file is in these folders
./lyx/layout and /usr/share/lyx/layout and my class file is in 
/usr/share/texmf/tex/latex/base/
What do i have to do to get this class file installed. Also i have a bibtex file which 
i have inserted into this lyx file but when i go to insert citations there are no keys 
corresponding to this file present. Is this also a problem with the class and layout 
file. Please help soon and thanks for the help given till now. is there any problem in 
lyxfix1.1.6fix.rpm. That is the version i have installed.


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: Re: configuring class files

2002-02-20 Thread Guenter Milde

On Wed, 20 Feb 2002 19:17:29 +0530 wrote kars175 [EMAIL PROTECTED]:

 my layout file with class is not detected. In the website for installing
 layouts he has given that i have to go to ./lyx and type configure. But there
 is no file configure there. Instead I went to /usr/share/lyx and found
 configure there. Now the layout file is in these folders
 ./lyx/layout and /usr/share/lyx/layout 

The first one will do.

 and my class file is in
 /usr/share/texmf/tex/latex/base/

Seems fine

 What do i have to do to get this class file installed. 

run texhash to tell LaTeX it is there. Test with a small example file that
uses this class (e.g. make a minimal LyX file, export as latex and change
the documentclass command)

 Also i have a bibtex
 file which i have inserted into this lyx file but when i go to insert
 citations, there are no keys corresponding to this file present. Is this also
 a problem with the class and layout file. 

Rather a problem with the path. Is it a *.bib database or a *.bst style file?
What happens, if you but the file in the working directory?

Guenter

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-20 Thread Herbert Voss

kars175 wrote:

 I had typed a simple latex file using my class file and the compilation to dvi 
worked perfectly. so why wouldnt lyx work. Has anyone else tried using new cls and 
layout files inthe lyx version 1.1.6.


what happens when you do it like

http://www.lyx.org/help/install/layout.php


Herbert




Re: configuring class files

2002-02-20 Thread Guenter Milde

On Thu, 21 Feb 2002 09:32:41 +0530 wrote kars175 [EMAIL PROTECTED]:

 I had typed a simple latex file using my class file and the compilation to
 dvi worked perfectly. 

This is nice and narrow the error search field.

 So why wouldnt lyx work. Has anyone else tried using
 new cls and layout files inthe lyx version 1.1.6.

Yes I have (and with success) (lyx1.1.6fix3).

Maybe there is an error in the *.layout file? Sometimes this happened to me
and I wondered until I started LyX from a terminal window and saw the error
messages...

To tackle down the problem, we need more precise information: 

  What errors do appear?
  Do you see the class in the Layout-Document-Doc-classes list?
  Do new environments apprear in the Paragraph-Style list (on the
  toolbar) (in case the new layout defines some)?
  Does the file open? What errors do you get opening?
  What errors do you get compiling?

Guenter


--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-20 Thread kars175

my layout file with class is not detected. In the website for installing layouts he 
has given that i have to go to ./lyx and type configure. But there is no file 
configure there. Instead I went to /usr/share/lyx and found configure there. Now the 
layout file is in these folders
./lyx/layout and /usr/share/lyx/layout and my class file is in 
/usr/share/texmf/tex/latex/base/
What do i have to do to get this class file installed. Also i have a bibtex file which 
i have inserted into this lyx file but when i go to insert citations there are no keys 
corresponding to this file present. Is this also a problem with the class and layout 
file. Please help soon and thanks for the help given till now. is there any problem in 
lyxfix1.1.6fix.rpm. That is the version i have installed.


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: Re: configuring class files

2002-02-20 Thread Guenter Milde

On Wed, 20 Feb 2002 19:17:29 +0530 wrote kars175 [EMAIL PROTECTED]:

 my layout file with class is not detected. In the website for installing
 layouts he has given that i have to go to ./lyx and type configure. But there
 is no file configure there. Instead I went to /usr/share/lyx and found
 configure there. Now the layout file is in these folders
 ./lyx/layout and /usr/share/lyx/layout 

The first one will do.

 and my class file is in
 /usr/share/texmf/tex/latex/base/

Seems fine

 What do i have to do to get this class file installed. 

run texhash to tell LaTeX it is there. Test with a small example file that
uses this class (e.g. make a minimal LyX file, export as latex and change
the documentclass command)

 Also i have a bibtex
 file which i have inserted into this lyx file but when i go to insert
 citations, there are no keys corresponding to this file present. Is this also
 a problem with the class and layout file. 

Rather a problem with the path. Is it a *.bib database or a *.bst style file?
What happens, if you but the file in the working directory?

Guenter

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-20 Thread Herbert Voss

kars175 wrote:

 I had typed a simple latex file using my class file and the compilation to dvi 
worked perfectly. so why wouldnt lyx work. Has anyone else tried using new cls and 
layout files inthe lyx version 1.1.6.


what happens when you do it like

http://www.lyx.org/help/install/layout.php


Herbert




Re: configuring class files

2002-02-20 Thread Guenter Milde

On Thu, 21 Feb 2002 09:32:41 +0530 wrote kars175 [EMAIL PROTECTED]:

 I had typed a simple latex file using my class file and the compilation to
 dvi worked perfectly. 

This is nice and narrow the error search field.

 So why wouldnt lyx work. Has anyone else tried using
 new cls and layout files inthe lyx version 1.1.6.

Yes I have (and with success) (lyx1.1.6fix3).

Maybe there is an error in the *.layout file? Sometimes this happened to me
and I wondered until I started LyX from a terminal window and saw the error
messages...

To tackle down the problem, we need more precise information: 

  What errors do appear?
  Do you see the class in the Layout-Document-Doc-classes list?
  Do new environments apprear in the Paragraph-Style list (on the
  toolbar) (in case the new layout defines some)?
  Does the file open? What errors do you get opening?
  What errors do you get compiling?

Guenter


--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-20 Thread kars175

my layout file with class is not detected. In the website for installing layouts he 
has given that i have to go to ./lyx and type configure. But there is no file 
configure there. Instead I went to /usr/share/lyx and found configure there. Now the 
layout file is in these folders
./lyx/layout and /usr/share/lyx/layout and my class file is in 
/usr/share/texmf/tex/latex/base/
What do i have to do to get this class file installed. Also i have a bibtex file which 
i have inserted into this lyx file but when i go to insert citations there are no keys 
corresponding to this file present. Is this also a problem with the class and layout 
file. Please help soon and thanks for the help given till now. is there any problem in 
lyxfix1.1.6fix.rpm. That is the version i have installed.


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: Re: configuring class files

2002-02-20 Thread Guenter Milde

On Wed, 20 Feb 2002 19:17:29 +0530 wrote kars175 <[EMAIL PROTECTED]>:

> my layout file with class is not detected. In the website for installing
> layouts he has given that i have to go to ./lyx and type configure. But there
> is no file configure there. Instead I went to /usr/share/lyx and found
> configure there. Now the layout file is in these folders
> ./lyx/layout and /usr/share/lyx/layout 

The first one will do.

> and my class file is in
> /usr/share/texmf/tex/latex/base/

Seems fine

> What do i have to do to get this class file installed. 

run texhash to tell LaTeX it is there. Test with a small example file that
uses this class (e.g. make a minimal LyX file, export as latex and change
the documentclass command)

> Also i have a bibtex
> file which i have inserted into this lyx file but when i go to insert
> citations, there are no keys corresponding to this file present. Is this also
> a problem with the class and layout file. 

Rather a problem with the path. Is it a *.bib database or a *.bst style file?
What happens, if you but the file in the working directory?

Guenter

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-20 Thread Herbert Voss

kars175 wrote:

> I had typed a simple latex file using my class file and the compilation to dvi 
>worked perfectly. so why wouldnt lyx work. Has anyone else tried using new cls and 
>layout files inthe lyx version 1.1.6.


what happens when you do it like

http://www.lyx.org/help/install/layout.php


Herbert




Re: configuring class files

2002-02-20 Thread Guenter Milde

On Thu, 21 Feb 2002 09:32:41 +0530 wrote kars175 <[EMAIL PROTECTED]>:

> I had typed a simple latex file using my class file and the compilation to
> dvi worked perfectly. 

This is nice and narrow the error search field.

> So why wouldnt lyx work. Has anyone else tried using
> new cls and layout files inthe lyx version 1.1.6.

Yes I have (and with success) (lyx1.1.6fix3).

Maybe there is an error in the *.layout file? Sometimes this happened to me
and I wondered until I started LyX from a terminal window and saw the error
messages...

To tackle down the problem, we need more precise information: 

  What errors do appear?
  Do you see the class in the Layout->Document->Doc-classes list?
  Do new environments apprear in the Paragraph-Style list (on the
  toolbar) (in case the new layout defines some)?
  Does the file open? What errors do you get opening?
  What errors do you get compiling?

Guenter


--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-19 Thread kars175

The error I get while trying to open the file is the document uses an unknown text 
class.
could someone run me through the steps again which i have to do so that i havent 
missed on anything. Also do i need any .sty file for this. I have three files in all 
puthesis.cls,puthesis.layout,puthesis.lyx.
how do i know whether the class file is installed or not. 
karthik


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: configuring class files

2002-02-19 Thread Herbert Voss

kars175 wrote:

 The error I get while trying to open the file is the document uses an unknown text 
class.
 could someone run me through the steps again which i have to do so that i havent 
missed on anything. Also do i need any .sty file for this. I have three files in all 
puthesis.cls,puthesis.layout,puthesis.lyx.
 how do i know whether the class file is installed or not. 

-- 
http://www.lyx.org/help/install/layout.php

Herbert




Re: configuring class files

2002-02-19 Thread kars175

The error I get while trying to open the file is the document uses an unknown text 
class.
could someone run me through the steps again which i have to do so that i havent 
missed on anything. Also do i need any .sty file for this. I have three files in all 
puthesis.cls,puthesis.layout,puthesis.lyx.
how do i know whether the class file is installed or not. 
karthik


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: configuring class files

2002-02-19 Thread Herbert Voss

kars175 wrote:

 The error I get while trying to open the file is the document uses an unknown text 
class.
 could someone run me through the steps again which i have to do so that i havent 
missed on anything. Also do i need any .sty file for this. I have three files in all 
puthesis.cls,puthesis.layout,puthesis.lyx.
 how do i know whether the class file is installed or not. 

-- 
http://www.lyx.org/help/install/layout.php

Herbert




Re: configuring class files

2002-02-19 Thread kars175

The error I get while trying to open the file is "the document uses an unknown text 
class".
could someone run me through the steps again which i have to do so that i havent 
missed on anything. Also do i need any .sty file for this. I have three files in all 
puthesis.cls,puthesis.layout,puthesis.lyx.
how do i know whether the class file is installed or not. 
karthik


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in




Re: configuring class files

2002-02-19 Thread Herbert Voss

kars175 wrote:

> The error I get while trying to open the file is "the document uses an unknown text 
>class".
> could someone run me through the steps again which i have to do so that i havent 
>missed on anything. Also do i need any .sty file for this. I have three files in all 
>puthesis.cls,puthesis.layout,puthesis.lyx.
> how do i know whether the class file is installed or not. 

-- 
http://www.lyx.org/help/install/layout.php

Herbert




Re: configuring class files

2002-02-18 Thread Guenter Milde

On Mon, 18 Feb 2002 00:08:38 +0530 wrote kars175 [EMAIL PROTECTED]:

 I have a .cls and a .layout file. My friend has typed a thesis in the layout
 given by the files. When i try to open the thesis it says unknow file.layout
 and open with a lot of errors. I have stored the class file in
 /usr/share/texmf/tex/latex/base/ and the layout file in root/.lyx/templates.

Do you really run LyX as root? (better don't do this). Also, put the
*.layout file in ~/.lyx/layouts/ (also e.g. /home/kars175/.lyx/layouts) and
reconfigure again.

 I then gave texhash and opened lyx and reconfigured. After this i clsoed lyx
 and opened it again. Then on opening the thesis file it gave me the missing
 class error and opened with a lot of error tags. 

 Yes i have reconfigured lyx. Would it have something to do with latex which
 was installed along with my redhat 7.1
 karthik

You could ask your friend for a *.tex version of his/her thesis and try to
run this without LyX to see whether the class is properly installed. (or
just run a minimal latex-example that uses this class.)

The next step would be to see if LyX sees the class (look at the configure
output as described in the preceeding answers).

GM

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-18 Thread Guenter Milde

On Mon, 18 Feb 2002 00:08:38 +0530 wrote kars175 [EMAIL PROTECTED]:

 I have a .cls and a .layout file. My friend has typed a thesis in the layout
 given by the files. When i try to open the thesis it says unknow file.layout
 and open with a lot of errors. I have stored the class file in
 /usr/share/texmf/tex/latex/base/ and the layout file in root/.lyx/templates.

Do you really run LyX as root? (better don't do this). Also, put the
*.layout file in ~/.lyx/layouts/ (also e.g. /home/kars175/.lyx/layouts) and
reconfigure again.

 I then gave texhash and opened lyx and reconfigured. After this i clsoed lyx
 and opened it again. Then on opening the thesis file it gave me the missing
 class error and opened with a lot of error tags. 

 Yes i have reconfigured lyx. Would it have something to do with latex which
 was installed along with my redhat 7.1
 karthik

You could ask your friend for a *.tex version of his/her thesis and try to
run this without LyX to see whether the class is properly installed. (or
just run a minimal latex-example that uses this class.)

The next step would be to see if LyX sees the class (look at the configure
output as described in the preceeding answers).

GM

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-18 Thread Guenter Milde

On Mon, 18 Feb 2002 00:08:38 +0530 wrote kars175 <[EMAIL PROTECTED]>:

> I have a .cls and a .layout file. My friend has typed a thesis in the layout
> given by the files. When i try to open the thesis it says unknow file.layout
> and open with a lot of errors. I have stored the class file in
> /usr/share/texmf/tex/latex/base/ and the layout file in root/.lyx/templates.

Do you really run LyX as root? (better don't do this). Also, put the
*.layout file in ~/.lyx/layouts/ (also e.g. /home/kars175/.lyx/layouts) and
reconfigure again.

> I then gave texhash and opened lyx and reconfigured. After this i clsoed lyx
> and opened it again. Then on opening the thesis file it gave me the missing
> class error and opened with a lot of error tags. 

> Yes i have reconfigured lyx. Would it have something to do with latex which
> was installed along with my redhat 7.1
> karthik

You could ask your friend for a *.tex version of his/her thesis and try to
run this without LyX to see whether the class is properly installed. (or
just run a minimal latex-example that uses this class.)

The next step would be to see if LyX sees the class (look at the configure
output as described in the preceeding answers).

GM

--
[EMAIL PROTECTED]




Re: configuring class files

2002-02-17 Thread Robin Turner

On Sunday 17 February 2002 17:21, kars175 wrote:
 I have a .cls and a .layout file. My friend has typed a thesis in
 the layout given by the files. When i try to open the thesis it
 says unknow file.layout and open with a lot of errors. I have
 stored the class file in /usr/share/texmf/tex/latex/base/ and the
 layout file  in root/.lyx/templates. I then gave texhash and opened
 lyx and reconfigured. After this i clsoed lyx and opened it again.
 Then on opening the thesis file it gave me the missing class error
 and opened with a lot of error tags. Please can someone help me on
 this. I am beginner in this so if possible please be comprehensive.

Have you reconfigured LyX?

Robin

-- 
Never mind the quality, feel the bandwidth.

Robin Turner
IDMYO, Bilkent Universitesi
Ankara 06533
Turkey

http://www.bilkent.edu.tr/~robin



Re: configuring class files

2002-02-17 Thread Herbert Voss

kars175 wrote:

 Yes i have reconfigured lyx. Would it have something to do with latex which was 
installed along with my redhat 7.1


put the *.layout files into ~/.lyx/layouts, not in the
template dir.
Than run
~/.lyx/configure and have a look for a line like this one

[...]
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
[...]

is your layout file with class detected?

Herbert


-- 
http://www.lyx.org/help/




Re: configuring class files

2002-02-17 Thread Robin Turner

On Sunday 17 February 2002 17:21, kars175 wrote:
 I have a .cls and a .layout file. My friend has typed a thesis in
 the layout given by the files. When i try to open the thesis it
 says unknow file.layout and open with a lot of errors. I have
 stored the class file in /usr/share/texmf/tex/latex/base/ and the
 layout file  in root/.lyx/templates. I then gave texhash and opened
 lyx and reconfigured. After this i clsoed lyx and opened it again.
 Then on opening the thesis file it gave me the missing class error
 and opened with a lot of error tags. Please can someone help me on
 this. I am beginner in this so if possible please be comprehensive.

Have you reconfigured LyX?

Robin

-- 
Never mind the quality, feel the bandwidth.

Robin Turner
IDMYO, Bilkent Universitesi
Ankara 06533
Turkey

http://www.bilkent.edu.tr/~robin



Re: configuring class files

2002-02-17 Thread Herbert Voss

kars175 wrote:

 Yes i have reconfigured lyx. Would it have something to do with latex which was 
installed along with my redhat 7.1


put the *.layout files into ~/.lyx/layouts, not in the
template dir.
Than run
~/.lyx/configure and have a look for a line like this one

[...]
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
[...]

is your layout file with class detected?

Herbert


-- 
http://www.lyx.org/help/




Re: configuring class files

2002-02-17 Thread Robin Turner

On Sunday 17 February 2002 17:21, kars175 wrote:
> I have a .cls and a .layout file. My friend has typed a thesis in
> the layout given by the files. When i try to open the thesis it
> says unknow file.layout and open with a lot of errors. I have
> stored the class file in /usr/share/texmf/tex/latex/base/ and the
> layout file  in root/.lyx/templates. I then gave texhash and opened
> lyx and reconfigured. After this i clsoed lyx and opened it again.
> Then on opening the thesis file it gave me the missing class error
> and opened with a lot of error tags. Please can someone help me on
> this. I am beginner in this so if possible please be comprehensive.

Have you reconfigured LyX?

Robin

-- 
"Never mind the quality, feel the bandwidth."

Robin Turner
IDMYO, Bilkent Universitesi
Ankara 06533
Turkey

http://www.bilkent.edu.tr/~robin



Re: configuring class files

2002-02-17 Thread Herbert Voss

kars175 wrote:

> Yes i have reconfigured lyx. Would it have something to do with latex which was 
>installed along with my redhat 7.1


put the *.layout files into ~/.lyx/layouts, not in the
template dir.
Than run
~/.lyx/configure and have a look for a line like this one

[...]
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
[...]

is your layout file with class detected?

Herbert


-- 
http://www.lyx.org/help/