Darren Freeman <[EMAIL PROTECTED]> writes: > > On Wed, 2007-07-25 at 07:28 +0100, José Matos wrote: > > On Wednesday 25 July 2007 06:41:38 Jürgen Spitzmüller wrote: > > > You have to set > > > OptionalArgs 1 > > > in the style definitions (in the layout file), then you can use > > > Insert->Short Title. > > > > > > Jürgen > > > > FWIW I did it in my personal copy and it works. > > We should do this for 1.5.1, this is not a file format change in the sense > > that new files will work with lyx 1.5.0.
The OptionalArgs line is in the 1.4 branch all right. > > This style is a bit of a problem in that each author requires a separate > \author{} field. This is why I was amazed that LaTeX wasn't > line-wrapping for me when I typed in a bunch of authors like in any > other LyX class. The LyX class basically doesn't work properly for > multiple authors per affiliation. > > A better starting point would be if you could put each author on a > separate line and have LyX replace the new lines with commas. Currently I live with the incorrect output until the final output, for which I export to latex and remove the lines manually. I just put a note in the template (this is for an ifacmtg layout derived from elsart, with the same author features). BTW, the \thanksref command should be interfaced in the layout, but I don't clearly see how to use it in the lyx template. This reference mechanism is far too complicated IMHO and a footnote would do it more thoroughly IMHO. As far as elsart.cls is concerned, Elsevier in http://www.elsevier.com/wps/find/authorsview.authors/elsart refers to two different templates, depending on the bibilographic style (one as harvard, in fact natbib as harvard.sty is quite buggy I guess), and one "numerical", which is clearly redundant as natbib allows numerical citations. In addition there are classes for proceedings... In the same line, the instruction files use a lot of verbatim stuff which is pointless in LyX as the user sees an idea of the result, and running lyx2lyx on these files generate a lot of errors anyway, they need to be polished to get in lyx as examples (in the same way that was done for the elsart template). -- Jean-Pierre