On Tue, May 08, 2007 at 06:26:00PM -0400, hzluo wrote:
> Attached files are to enable relyx on the fly,
> i.e., when a latex syntaxed string is pasted
> into lyx, it is converted to lyx.

Nice idea.
 
> Currently the patch can only detect \cite{...}
> command embeded in a string. But it can be extended
> to support more latex syntax.
> 
> Test:
> 
> paste a string like:
> blabla bla \cite{someKey,otherKey} blabla
> 
> 
> Several users ask this features, certainly for
> more advanced version.
> 
> The \cite{...} command is important for me. I use
> lyx on Windows, where lyxServer is unavailable.
> So JabRef can't push selections to lyx. With this
> patch, I can ask JabRef to copy as \cite{...} and
> paste into lyx easily. So I implement this command
> first.
> 
> Any comment is welcome!

This won't go into the upcoming 1.5.0 but is a pretty nice thing to have
in early 1.6 (i.e. in a few weeks time).

Until then it'd be nice if the patch could made a bit more similar to
the rest of lyx on the 'cosmetic' side: I.e. spacing/indentation.

> If you are interested,
> I can extend it to support more latex syntax.

List lists and itemize environments? ;-)

> If possible, call tex2lyx and read the result
> out is also an option. But it may be a little
> bit slow.
> 
> BTW, I don't know how to include the new files
> in the patch. So the two new files are attached
> separately...

That's fine.

Andre'

Reply via email to