Re: Proposal for new feature: Paste as LyX.

2013-10-30 Thread Richard Heck
On 10/29/2013 03:49 PM, Georg Baum wrote: Zahari Dim wrote: Currently the two ways that I know of, of inserting content into an active LyX document are trough LFUNs and trough pasting the clipboard contents (the third being generating a lyx file and having the user manually copying from it...).

Re: Proposal for new feature: Paste as LyX.

2013-10-30 Thread Andrew Parsloe
On 30/10/2013 10:24 a.m., Georg Baum wrote: Scott Kostyshak wrote: Is another way PLyX? I've never used it, but it seems related. http://wiki.lyx.org/Examples/PLyXSystem I never used it either, but AFAIK it is not for generating LyX documents from scratch, but for manipulating existing ones

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Scott Kostyshak
On Tue, Oct 29, 2013 at 5:24 PM, Georg Baum wrote: > Scott Kostyshak wrote: > >> Is another way PLyX? I've never used it, but it seems related. >> http://wiki.lyx.org/Examples/PLyXSystem > > I never used it either, but AFAIK it is not for generating LyX documents > from scratch, but for manipulati

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Georg Baum
Scott Kostyshak wrote: > Is another way PLyX? I've never used it, but it seems related. > http://wiki.lyx.org/Examples/PLyXSystem I never used it either, but AFAIK it is not for generating LyX documents from scratch, but for manipulating existing ones and reading them back in. It is quite funny

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Scott Kostyshak
On Tue, Oct 29, 2013 at 3:49 PM, Georg Baum wrote: > Zahari Dim wrote: > >> Currently the two ways that I know of, of inserting content into an active >> LyX document are trough LFUNs and trough pasting the clipboard contents >> (the third being generating a lyx file and having the user manually >

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Georg Baum
Zahari Dim wrote: > Currently the two ways that I know of, of inserting content into an active > LyX document are trough LFUNs and trough pasting the clipboard contents > (the third being generating a lyx file and having the user manually > copying from it...). You could also generate a LyX file

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Zahari Dim
> Truly hackish feature, which is not to be part of standard UI. Arguments for making it part of the api include the ability to paste extracts from internet and the fact that lyx already has a few hackish features under paste special. Even Word has a hackish way of pasting mathml

Re: Proposal for new feature: Paste as LyX.

2013-10-29 Thread Tommaso Cucinotta
On 27/10/13 23:22, Zahari Dim wrote: > The plain text in the clipboard (Qt Mime "text/plain") gets treated > as lyx content ("application/x-lyx") and correctly pasted if it is a > valid lyx document, and would show an error otherwise just as it > currently happens when trying to paste a corrupted

Re: Proposal for new feature: Paste as LyX.

2013-10-28 Thread Pavel Sanda
Zahari Dim wrote: > What do you think? Truly hackish feature, which is not to be part of standard UI. But it could be optional parameter of some paste LFUN and I suspect that the patch could be very small and non intrusive so we can include it with some warnings in lfun docs. There is also unres

Proposal for new feature: Paste as LyX.

2013-10-27 Thread Zahari Dim
Hi, I would like Lyx to have the following feature: The plain text in the clipboard (Qt Mime "text/plain") gets treated as lyx content ("application/x-lyx") and correctly pasted if it is a valid lyx document, and would show an error otherwise just as it currently happens when trying to paste a c