Allan Rae wrote:
> 
> 
> > 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.
 
Actually, that shouldn't be any problem.
Afterall these classes are no more than linked lists that can return a
string.
Modifying the string they return should be quite simple.

Now, AuthorList returns "\author{$FirstItem}",
AuthorListItem returns "$Me\and{$Next}",
and the last AuthorListItem returns "$Me".

we can get these 3 values from a config file instead.
so it can be useful for many lists that require nesting.
(not that I'm aware of any)

> 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.

Sure.
I checked it already.

-- 

The day Microsoft makes something that doesn't suck,
is probably the day they start making vacuum cleaners...

Reply via email to