Am Freitag, 19. Mai 2006 15:30 schrieb Eugeny N Dzhurinsky: > Hello! > > Co-workers sent me some TeX document to work on and class required > for this document. I copied class to > /usr/local/share/texmf/latex/company/company.cls together with EPS > images. Then I invoked "texhash" command as root, and then I choose > "Tools->Reconfigure" in LyX (1.4.1). > > Now I can see company.cls in Tools->TeX information list of TeX > classes. > > Then I created some dummy layout in $HOME/.lyx/layouts/company.layout > which just defines class and then imports acticle.layout. I was able > to use tex2lyx and it created LyX document for me. But when I opening > LyX document, LyX complains about > > "Using default document class, because the class company is unknown". > > I can't see this class in document->settings->class either > > But I did the exactly same stuff with cv.cls I found somewhere on the > net, and it is listed as "circullum vitae" in class list! > > What do I miss?
You have to choose "Tools->Reconfigure" _after_ creating the dummy layout because Reconfigure looks for new layouts. From your description you did it before you created the dummy layout. Regards, Ingo -- Ingo Klöcker Lehrstuhl A für Mathematik RWTH Aachen 52056 Aachen
pgp9H9wSPSjT1.pgp
Description: PGP signature