The layout file was exactly as you suggested in the message included below.
Leslaw On 2016-08-13 17:21, Richard Heck wrote: > On 08/13/2016 07:22 AM, Bieniasz Leslaw wrote: > >> Hi, >> >> I am still using LyX 2.0 under Windows Vista, with MikTeX 2.0. >> >> I am trying to use a LaTeX class provided by one scientific journal for >> writing articles. I have installed the class, but I have a problem with >> creating a *.layout file for LyX, that would work properly. >> At the moment I use the following layout file: >> >> #% Do not delete the line below; configure depends on this >> # \DeclareLaTeXClass[ijnam]{amsart (ijnam)} >> >> # Input general definitions >> Input stdclass.inc > > Since the class file was "generated by modifying amsart.cls", your best > place to start would be: > > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass[ijnam]{amsart (ijnam)} > > Format 35 > > Input amsart.layout > > If this does not help matters, then it would help me to see the TeX file > that works. > > Richard > > PS Make sure to reply to the list.