Hello there, 

Perhaps the following will help some people :


I installed LyX 1.1.3 in my own directory on a Digital alpha station
(quicker compilation). But i've got a problem when trying to install
layouts which requires not installed cls files.

For example the IEEEtrans.layout require IEEEtrans.cls file which is not
on the system. but i've got it in a directory

so i tried to configure the TEXINPUTS variable :

setenv TEXINPUTS ${HOME}/.lyx/layouts

and try to launch reconfigure from the options menu.

and i get that 

flore:/users/laih2/ymorere >lyx
checking for a LaTeX2e program... 
+checking for "latex"... not useable
+checking for "latex2e"... not useable

I didn't understand..... 

so i tried 

setenv TEXINPUTS ${HOME}/.lyx/layouts:/usr/local/lib/texmf:/usr/local/lib/texmf/tex:.

now the system find latex

but only my own cls texclass files


+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran.cls]... yes
+checking for document class IEEEtranmod [IEEEtranmod.cls]... yes
+checking for document class IEEEtranmoden [IEEEtranmoden.cls]... yes
+checking for document class article [article.cls]... no

so i tried  :
setenv TEXINPUTS ${HOME}/.lyx/layouts:/usr/local/lib/texmf:/usr/local/lib/texmf/tex//:.

with "//" after usr/local/lib/texmf/tex in order to scan subdirectories
and it seems to works....


do not forget to update the BIBINPUTS and BSTINPUTS too to have the new
bib style

setenv
BSTINPUTS
"/usr/local/lib/texmf/bibtex/bst:/users/laih2/ymorere/.lyx/layouts/texmf/bibtex/bst:."
setenv
BSTINPUTS
"/usr/local/lib/texmf/bibtex/bib:/users/laih2/ymorere/.lyx/layouts/texmf/bibtex/bib:."


bye


-- 
 "Y faut liiirrreee... Arlequin, c'est le champion de l'amourrr..."
                                                         Dany Boon.
 ____________________________________________________________
( Yann MORERE              mailto:[EMAIL PROTECTED])
( Doctorant en Automatique http://www.multimania.com/ymorere )

Reply via email to