Hi all,
I'm trying to install a new latex class to be used with Lyx, but
cannot manage to have it working.
I downloaded it from the journal of physics:
http://www.iop.org/EJ/authors/-page=authinfo/1742-6596/1
unpacked, and copyied it on the iopams dir I created in
/usr/share/texmf/tex/latex/
Then I ran texhash; I think it's correctly installed, because as
user I have:

-----------------------------------------------
[EMAIL PROTECTED] leo]$  kpsewhich tex jpconf.cls
/usr/share/texmf/tex/latex/iopams/jpconf.cls
-----------------------------------------------

Then I created a jpconf.layout file in $HOME/.lyx/layout,I
reconfigured Lyx (Edit->Reconfigure) but I'm not so sure of the
syntax:

-------------------------------------------------------
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[jpconf]{JPConf}

# Read the definitions from article.layout
\Input article.layout
--------------------------------------------------------

In fact I have some errors:
LyX: Unknown TextClass tag `\Input' [around line 4 of file
~/.lyx/layouts/jpconf.layout]
Error: Textclass 'jpconf' is missing a defaultstyle.
Error reading `~/.lyx/layouts/jpconf.layout'

If I don't add the article.layout reference the error is:
Error: Textclass 'jpconf' is missing a defaultstyle.
Error reading `~/.lyx/layouts/jpconf.layout'





Can anybody give me a hint on what to do?


Thanks, Leo









_______________________________________________
Della Pietra Leonardo
Physikalisches Institut Universitaet Heidelberg
Philosophenweg 12  -  D-69120 Heidelberg  -  DE
tel: ++49-6221-549 367 - fax: ++49-6221-475 733
http://www.atomchip.org
http://www.physi.uni-heidelberg.de/~dpietra
_______________________________________________


                
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

Reply via email to