On Fri, 7 May 1999, Amir Karger wrote:
Amir,
Thanks for the response. I'll try not to get too discouraged :)
I agree, that the way I've handled the use of title, author and so on
*isn't* the neatest. However, there is at least one reason for doing it
the way I have. The Elsevier style lets you use the \author command in a
couple of forms, either \author{...} or \author[tag]{...}. Is there a way
of using the pull down commands that lets a person access this?
I suppose one way would be to provide the \author{...} form in the
pull-down, and let the user TeX in the \author[tag]{...} form if they want
it.
Thanks for the note on the documentation, I'll change that. Which means
I'll have to look at CVS I suupose.
>
> - If you write "LaTeX" and "LyX" (using that exact capitalization), then LyX
> will automatically turn LaTeX into \LaTeX and LyX into the corresponding
> thing. And you don't even have to put a "\ " afterwards!
Well, never knew that :)
>
> You write:
> # Theorm environments have been copied over from
> # the amsmaths.inc file. It could not be inputfiled
> # as it does some stuff which is incompatible with
> # the Elsevier stlye, that is it redefines
> # the theorem* environments in the preamble.
>
> I'm wondering if you might be able to use amsmaths.inc after all. Couldn't
> you get rid of the preamble stuff the same way that it's done in
> amsdefs.inc, where it says:
>
> Style Proof
>
> ...
>
> # We don't want the preamble from Theorem
> Preamble
> EndPreamble
> End
Yeah, that should work. I considered that, but in the end I decided it was
easier to copy the stuff in. There is one reason in favour of it, in that
the Elsevier style hasn't been updated, as far as I can see, for quite a
while. Linking it to the AMS style is fine at the moment, but there isn't
any reason to assume that if the AMS style changed the Elsevier one would
as well. Also, the acknowledgement format is different for Elsevier.
> Then as far as the frontmatter thing goes, it would be much better if you
> could handle the title, etc. without using so much TeX mode (otherwise known
> as Evil Red Text). I know there was discussion on this list about
> frontmatter issues.... A few possible solutions.
I definitely agree here, and I'm open to suggestions.
> (a) with TeX hacking, you might be able to do something like John's slides
> layout does.
I'll have a look, but I doubt my TeX is up to it.
>
> (b) you could create a "EndofFrontmatter" (ick, you would need a better
> name for it :) layout which is put just before the title starts (kind of like
> a \maketitle command). This layout would write \end{frontmatter}. Oh, of
> cousre you'd need a FrontMatter layout too. (Both of these would be layouts
> with KeepEmpty set to 1, and you could make them look more like dividers.
> Again, see John's slides.layout.) Hm. If I'm not mistaken, you could have a
> \frontmatter and a \mainmatter, (commands instead of environments) which
> would translate into layouts a bit more nicely.
I'll have a look at this, it sounds good. Thanks.
> (c) According to Alain Castera, if you create just a Frontmatter layout, you
> can *nest* (using the "change environment depth" commands) the title etc.
> into it. A bit complicated, but with a template it just might work.
I was wondering if something like this was possible...another option to
explore.
> (d) you could put \begin{frontmatter} and \end{frontmatter} in tex mode, but
> use "normal" layouts for title, author, etc. I think the amount of ERT is
> much less this way.
This would be the quickest fix, so I should probably implement it first.
Though any suggestions about how to get around the \author[tag]{...}
thing?
Thanks for the suggestions.
Rod
__________________________________________________________________________
rod | "If morale is low it's because the employees have character defects.
| There is nothing you can do about that."
| from Dilbert's micromanagement tips for management.