Richard Heck <rgheck <at> lyx.org> writes: > > Well, the main question is what the compilation errors are. Is there a > sample file for this class? If > so, then I'd suggest trying to import it into LyX, and compile that. > Sometimes there are commands > that *have* to be defined that you may not expect. > > Richard > > PS LyX 2.0.2 is *VERY* old.
The class ws-ijcm can be downloaded from the World Scientific publishers page (and there are links to it somewhere in the LyX pages, but the LyX template is not available, unfortunately; there are only LyX templates for two other World Scientific journals). I have installed the class, and created a layout file (possibly in a wrong way), and I can import the tex template for the ws-ijcm article, into LyX. But there are compilation errors when I create a pdf file. One of the errors arises somewhere in the example of numbered lists. This is a little problem, as I don't need these. A second error arises in the place where a figure is inserted. Possibly the insertion command is not liked by LyX. I may be able to replace it by some other command. The rest of errors arises in the list of references. The template tex file uses some strange combination of commands for formatting or displaying every reference item. LyX incorrectly identifies all of them as labels. In addition it makes a mess of the items, arranging them in an apparently wrong order. I have no idea what could be done with these errors. I can send you the class files, if you agree to have a look at it. You certainly know more than I do, so that possibly you will see the solution to the problem in a second. Regarding the age of LyX 2.0.2, I have tried to switch to the recent version, but then my older texts could not be read. In addition, there are many changes in the new LyX, which are left without explanation, so that I do not know how to use the program now. Leslaw