On Sun, 25 Jul 1999, Yoni Elhanani wrote:
> Hello.
>
> I have noticed that in LyX multiple authors are impossible to have,
> [...] without manually putting "\and{}" in them.
>
> I made an AuthorListItem and AuthorList classes to overcome this
> problem, however I could not find where to put them. I grepped the
> source tree for "author" and all i found was the authors of various
> code, and that LinuxDoc style must have an author in order to function
> correctly. Also looking in the developer docs had not helped me much
> to know where to look. So I could not patch anything.
\author{} is supported by some but not all LaTeX classes. Others may use
different commands or even environments. The use of \and is therefore
only appropriate for a few classes. You won't find author in the sources
because it is just another style in the layout files.
Another difficulty with multiauthor documents occurs when the authors come
from different institutions. Different conferences etc. require different
ways of supplying multiple authors addresses. Ideally, we need a
solution that is coded within the layout files. The planned scripting
language support for layout files would certainly make this sort of thing
more easily implemented.
> I'm attaching the code for what I did (it includes an example).
The above doesn't mean your code is wasted though. Some internal support
for the scripting languages will certainly be needed. So what we need is
a more generalised solution that doesn't hardcode the "\author" or the
"\and" into LyX.
OBTW, the chances of getting this into the 1.0.x stream is very low
because it is a new feature and very likely will require changes to the
.lyx file format. If you'd like to improve your solution further (and you
are most welcome to) please use the development strand from CVS. See
www.devel.lyx.org for info about CVS.
Allan. (ARRae)