On Wed, 2007-09-05 at 11:18 +0200, Jean-Marc Lasgouttes wrote: > José Matos <[EMAIL PROTECTED]> writes: > > > As I have told you (I think) I saw a latex class where it was necessary to > > include the title elements in the preamble as there was not any \maketitle > > element. The crazy things that people do with latex is amazing. :-) > > Yes, I know that. I think we need a new tag 'ToPreamble' to layout > files.
I jumped in at the end of the thread so sorry if this sounds stupid or irrelevant :) I don't know how layout files work either so I'm at risk of both. Please consider the elsart class which has serious trouble with multiple authors, which require their own \author field plus arguments. You basically have to resort to ERT to make it work. See the thread started by me on 25 Jul, "Elsart class complex frontmatter". One problem is you want the author field to be in frontmatter, but as soon as you put an ERT on its own in a standard environment, you end the frontmatter and prevent it and everything after it from appearing in the output. So the mechanism which decides when to begin and end frontmatter could use improvement, perhaps in the way you are describing the 'ToPreamble' tag as 'ToFrontmatter'. Could there be a "frontmatter" option for ERT insets? Have fun, Darren