On Mon, 11 Feb 2002, Nirmal Govind wrote: > Hi, > > I'm trying to import a latex file which uses a couple of sty files - > res.sty (used for resumes) and fancyhead.sty. LyX gives me an error saying > that it can't import the file : "Error while executing reLyX -f 'resume.tex'" > > Please let me know if anyone knows of a fix to this problem.
If res.sty is a package that manipulates a supported document class (like article.cls) then you can probably use reLyX on the command line with the additional parameter "-c article" replacing article by whatever supported class res.sty manipulates. See also `man reLyX`. If res.sty if a latex-2.09 style file you are probably wasting your time. LyX and reLyX only support LaTeX2e -- you can make LyX work with LaTeX-2.09 files by wrapping them up into a LaTeX2e class though. You can tell if your document is a LaTeX-2.09 file or not by running latex on it and seeing if a banner warning you it is using compatability mode comes up. Or grep for "documentstyle" in the .tex file. Otherwise try sending some more context for the error message so someone else can get an idea of what is happening. Allan. (ARRae)
