Attached are a working layout and test file. The problem with the file you sent was that some of the unknown commands were being imported as ERT in Standard environments, which breaks the entire title block.
Richard On 09/03/2016 03:30 AM, Bieniasz Leslaw wrote: > > > 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. >> >>
ijnam.lyx
Description: application/lyx
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ijnam]{amsart (ijnam)} Format 35 Input amsart.layout Style Author Argument 1 LabelString "Short Author|S" Tooltip "Short author which appears in the sidebar/header" EndArgument End Style URLAddress CopyStyle Address LabelString "URL Address:" End Style CommunicatedBy CopyStyle Address LabelString "Communicated By:" End Style Abstract LatexType Command End