Re: Should this behavior be expected?

2005-04-20 Thread Micha Feigin
On Mon, 18 Apr 2005 12:10:20 +0200
Charles de Miramon <[EMAIL PROTECTED]> wrote:

> Paul Smith wrote:
> 
> > On 4/18/05, Michael Scottaline
> > <[EMAIL PROTECTED]> wrote:
> >> PS>When two LyX windows are open (after having run the command lyx
> >> PS>twice), copying from a document in a window to a document in the other
> >> PS>one is not possible. Is this behavior expected as normal? Or is this a
> >> PS>bug?
> 
> Yes it is normal, cut&paste is very primitive in LyX. Also, you cannot cut a
> piece a LyX text with ctrl-C and paste it in another application like your
> mailer with ctrl-V.
> 
> Cut&paste is a sad example of the results of the over-engineered and
> under-staffed toolkit independent LyX Sonderweg. Well, I'm running on my
> hobby horse here ;-)

I have managed to copy equations to/from emacs (when I need highly twicked
documents I usually handle the latex directly and use lyx only as an equation
editor).

The problem is probably with the limitation of the X-windows copy system where
Ctrl-C/V, middle click and shift-insert aren't 100% linked.

> 
> Cheers,
> Charles
> -- 
> http://www.kde-france.org
> 
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: Should this behavior be expected?

2005-04-20 Thread Andre Poenitz
On Mon, Apr 18, 2005 at 11:51:21AM +0100, Angus Leeming wrote:
> I guess we just need to look at a kde app to see how they stuff the 
> clipboard.

Plain Qt should be sufficient as far as I can tell..

Andre'


Re: Should this behavior be expected?

2005-04-20 Thread Andre Poenitz
On Mon, Apr 18, 2005 at 11:43:41AM +0100, Paul Smith wrote:
> On 4/18/05, Charles de Miramon <[EMAIL PROTECTED]> wrote:
> > Cut&paste is a sad example of the results of the over-engineered and
> > under-staffed toolkit independent LyX Sonderweg. 
> 
> In spite of being few, LyX staff deserves a high commendation for
> having greatly simplified, in an intelligent way, the task of battling
> with LaTeX when writing our documents.

Describing the GUII effort beyond plain GUI-core separation (which was
sucessful and necessary) as 'over-engineered and under-staffed' is
nevertheless appropriate.

The project just can't effort to continue that effort, but I have
the suspicion that this is becoming consensus...

Andre'


Re: Should this behavior be expected?

2005-04-20 Thread G. Milde
On 18.04.05, [EMAIL PROTECTED] wrote:
> On Mon, 18 Apr 2005, Paul Smith wrote:
> > When two LyX windows are open (after having run the command lyx
> > twice), copying from a document in a window to a document in the
> > other one is not possible. 
> 
> Assuming *NIX, and X, open xclipboard, "copy" from one LyX, "paste" into 
> xclipboard. Now do the same from xclipboard to the 2d LyX.

Drag-and-drop with the mouse works also without xclipboard. 

  In some LyX versions, you need to copy (C-c with cua.bind) the marked
  region, before you can paste it somewhere else (with the middle mouse
  button).

However, you will loose information this way as the x-selection only
gets an ASCII version of the document. 
 
> Document to document within one LyX session (window) works without a hitch 
> and *almost* never looses formatting information.

Feature request
---

I would greatly appreciate a lyx-function (say x-copy) that passes a
"stringified" version of the region with full formatting information to
the selection and an accompanying x-paste that inserts this again.

The same would be a great help for the lyx-server (say server-copy and
server-paste).


Günter

-- 
G.Milde web.de


Re: Should this behavior be expected?

2005-04-18 Thread Charles de Miramon
samar wrote:
> 
> 
> Hmm! That does not seem to be the case on my linux lyx 1.3.4 where the
> procedure I follow relatively routinely is as follows:
> 
> 1. Go to the first text document and highlight the text to be copied by
> highlighting and  ctrl C.
> 2. Click outside the highlighted text to get rid of the highlight. This
> for some reason is fairly important.
> 3,.Go to the other lyx document, opened by a separate lyx command.
> 4. Push the middle mouse button where you  want to place the copied text.
> 
> I have just done this again to ensure that it does work.Maybe it does not
> work on all configurations.
> 
> samar

Well it is a wrong behaviour and a broken one on platforms without a middle
button (Windows, Mac OS/X). 

Clipboard management on X11 was standardized 3 years ago between Gnome /
KDE / Qt
http://freedesktop.org/wiki/Standards_2fClipboardsWiki

Another problem is that cut&paste between two LyX windows only work with
plain text and you'll lose all LyX formatting information. 

Clipboard code is very tricky to debug and I understand that LyX developers
don't want to work on such an ungrateful job.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Should this behavior be expected?

2005-04-18 Thread J.S. Mackenzie Owen
samar wrote:
Hmm! That does not seem to be the case on my linux lyx 1.3.4 where the 
procedure I follow relatively routinely is as follows:

1. Go to the first text document and highlight the text to be copied 
by highlighting and  ctrl C.
2. Click outside the highlighted text to get rid of the highlight. 
This for some reason is fairly important.
3,.Go to the other lyx document, opened by a separate lyx command.
4. Push the middle mouse button where you  want to place the copied text.

I have just done this again to ensure that it does work.Maybe it does 
not work on all configurations.

samar

Surprisingly, this also works with Lyx 1.3.5 under Windows (XP). 
Normally, the middle mouse button does nothing in Windows. The windows 
version of Lyx seems to be the only application where it follows the 
usual linux behavior (pasting the copy buffer), both within a single 
window and between different windows.

John


Re: Should this behavior be expected?

2005-04-18 Thread Rob S

Hmm! That does not seem to be the case on my linux lyx 1.3.4 where the 
procedure I follow relatively routinely is as follows:

1. Go to the first text document and highlight the text to be copied 
by highlighting and  ctrl C.
2. Click outside the highlighted text to get rid of the highlight. 
This for some reason is fairly important.
3,.Go to the other lyx document, opened by a separate lyx command.
4. Push the middle mouse button where you  want to place the copied text.

I have just done this again to ensure that it does work.Maybe it does 
not work on all configurations.

I can confirm this method works without a problem on my Windows XP 
ported version of LyX 1.3.5.

Rob S

Win port LyX 1.3.5
Further to my last - Just found this method will also copy text from a 
.doc or a .pdf straight into LyX - now thats saved some hassle.

Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: Should this behavior be expected?

2005-04-18 Thread Rob S

Paul Smith wrote:
On 4/18/05, Michael Scottaline
<[EMAIL PROTECTED]> wrote:
PS>When two LyX windows are open (after having run the command lyx
PS>twice), copying from a document in a window to a document in the 
other
PS>one is not possible. Is this behavior expected as normal? Or is 
this a
PS>bug?

Hmm! That does not seem to be the case on my linux lyx 1.3.4 where the 
procedure I follow relatively routinely is as follows:

1. Go to the first text document and highlight the text to be copied by 
highlighting and  ctrl C.
2. Click outside the highlighted text to get rid of the highlight. This 
for some reason is fairly important.
3,.Go to the other lyx document, opened by a separate lyx command.
4. Push the middle mouse button where you  want to place the copied text.

I have just done this again to ensure that it does work.Maybe it does 
not work on all configurations.

I can confirm this method works without a problem on my Windows XP 
ported version of LyX 1.3.5.

Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: Should this behavior be expected?

2005-04-18 Thread Matej Cepl
Paul Smith wrote:
> When two LyX windows are open (after having run the command lyx
> twice), copying from a document in a window to a document in the other
> one is not possible. Is this behavior expected as normal? Or is this a
> bug?

If you are running KDE, try to run klipper -- it may help.

Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I didn't attend the funeral, but I sent a nice letter saying
I approved of it.
  -- Mark Twain




Re: Should this behavior be expected?

2005-04-18 Thread Mark Carroll
On Mon, 18 Apr 2005, Paul Smith wrote:
(snip)
> In spite of being few, LyX staff deserves a high commendation for
> having greatly simplified, in an intelligent way, the task of battling
> with LaTeX when writing our documents.

Right: this is really why I switched to LyX from Word. You compare the
documents generated by each, and the LyX one just /looks/ better, because
of the LaTeX stuff behind it, yet it was easy to generate without me
having to spend many hours learning about LaTeX. That is, I think that
somehow LaTeX is better at typesetting, formatting, etc., although I can't
put my finger on what the difference is.

-- Mark


Re: Should this behavior be expected?

2005-04-18 Thread hansel
On Mon, 18 Apr 2005, Paul Smith wrote:
> When two LyX windows are open (after having run the command lyx
> twice), copying from a document in a window to a document in the other
> one is not possible. Is this behavior expected as normal? Or is this a
> bug?

FALSE! but it is a PITA.

Assuming *NIX, and X, open xclipboard, "copy" from one LyX, "paste" into 
xclipboard. Now do the same from xclipboard to the 2d LyX.

Document to document within one LyX session (window) works without a hitch 
and *almost* never looses formatting information.




Re: Should this behavior be expected?

2005-04-18 Thread M.B. Schiekel
Charles de Miramon schrieb:

> Yes it is normal, cut&paste is very primitive in LyX. Also, you cannot cut a
> piece a LyX text with ctrl-C and paste it in another application like your
> mailer with ctrl-V.

I'm doing this with the help of klipper (in KDE).

> Cut&paste is a sad example of the results of the over-engineered and
> under-staffed toolkit independent LyX Sonderweg. 

Nothing in this world is perfect - not even my friend and LyX ;-)

kind regards - bernhard

-- 
http://www.mb-schiekel.de/
GPG-Key available: GnuPG-1.4.0


Re: Should this behavior be expected?

2005-04-18 Thread samar

Paul Smith wrote:
On 4/18/05, Michael Scottaline
<[EMAIL PROTECTED]> wrote:
PS>When two LyX windows are open (after having run the command lyx
PS>twice), copying from a document in a window to a document in the 
other
PS>one is not possible. Is this behavior expected as normal? Or is this 
a
PS>bug?
Yes it is normal, cut&paste is very primitive in LyX. Also, you cannot cut 
a
piece a LyX text with ctrl-C and paste it in another application like your
mailer with ctrl-V.

Cut&paste is a sad example of the results of the over-engineered and
under-staffed toolkit independent LyX Sonderweg. Well, I'm running on my
hobby horse here ;-)
Cheers,
Charles
--
http://www.kde-france.org

Hmm! That does not seem to be the case on my linux lyx 1.3.4 where the 
procedure I follow relatively routinely is as follows:

1. Go to the first text document and highlight the text to be copied by 
highlighting and  ctrl C.
2. Click outside the highlighted text to get rid of the highlight. This for 
some reason is fairly important.
3,.Go to the other lyx document, opened by a separate lyx command.
4. Push the middle mouse button where you  want to place the copied text.

I have just done this again to ensure that it does work.Maybe it does not 
work on all configurations.

samar 



Re: Should this behavior be expected?

2005-04-18 Thread Angus Leeming
Charles de Miramon wrote:
> Cut&paste is a sad example of the results of the over-engineered and
> under-staffed toolkit independent LyX Sonderweg. Well, I'm running on my
> hobby horse here ;-)

I guess we just need to look at a kde app to see how they stuff the 
clipboard. Of course, help from a kde-france.org expert would be greatly 
appreciated. If you're willing to take up the challenge, come and join us 
on the lyx-devel list.

-- 
Angus



Re: Should this behavior be expected?

2005-04-18 Thread Paul Smith
On 4/18/05, Charles de Miramon <[EMAIL PROTECTED]> wrote:
> Cut&paste is a sad example of the results of the over-engineered and
> under-staffed toolkit independent LyX Sonderweg. 

In spite of being few, LyX staff deserves a high commendation for
having greatly simplified, in an intelligent way, the task of battling
with LaTeX when writing our documents.

Paul


Re: Should this behavior be expected?

2005-04-18 Thread Charles de Miramon
Paul Smith wrote:

> On 4/18/05, Michael Scottaline
> <[EMAIL PROTECTED]> wrote:
>> PS>When two LyX windows are open (after having run the command lyx
>> PS>twice), copying from a document in a window to a document in the other
>> PS>one is not possible. Is this behavior expected as normal? Or is this a
>> PS>bug?

Yes it is normal, cut&paste is very primitive in LyX. Also, you cannot cut a
piece a LyX text with ctrl-C and paste it in another application like your
mailer with ctrl-V.

Cut&paste is a sad example of the results of the over-engineered and
under-staffed toolkit independent LyX Sonderweg. Well, I'm running on my
hobby horse here ;-)

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Should this behavior be expected?

2005-04-18 Thread Jean-Marc Lasgouttes
> "Paul" == Paul Smith <[EMAIL PROTECTED]> writes:

Paul> Dear All When two LyX windows are open (after having run the
Paul> command lyx twice), copying from a document in a window to a
Paul> document in the other one is not possible. Is this behavior
Paul> expected as normal? Or is this a bug?

It is unfortunately normal. It is not possible to copy/paste between
two LyX instances. Nor is it possible to open two windows in one LyX
instance.

JMarc


Re: Should this behavior be expected?

2005-04-18 Thread samar
Hi
I have less success with ctrl C ctrl V  and more success with Ctrl C 
followed by pushing the middle button in the other lyx document instead of 
Ctrl V. Cant hurt to give it a try

rgds
samar
- Original Message - 
From: "Paul Smith" <[EMAIL PROTECTED]>
To: 
Sent: Monday, April 18, 2005 1:04 PM
Subject: Should this behavior be expected?

Dear All
When two LyX windows are open (after having run the command lyx
twice), copying from a document in a window to a document in the other
one is not possible. Is this behavior expected as normal? Or is this a
bug?
(I am running LyX 1.3.5 on a Mandrake 10.1 machine.)
Thanks in advance,
Paul


Re: Should this behavior be expected?

2005-04-18 Thread Paul Smith
On 4/18/05, Michael Scottaline <[EMAIL PROTECTED]> wrote:
> PS>When two LyX windows are open (after having run the command lyx
> PS>twice), copying from a document in a window to a document in the other
> PS>one is not possible. Is this behavior expected as normal? Or is this a
> PS>bug?
> 
> Not certain, but why are you trying to run two instances of LyX?  

To view the two documents side by side, Michael.

Paul


Re: Should this behavior be expected?

2005-04-18 Thread Michael Scottaline
On Mon, 18 Apr 2005 08:34:37 +0100
Paul Smith <[EMAIL PROTECTED]> insightfully noted:

PS>Dear All
PS>
PS>When two LyX windows are open (after having run the command lyx
PS>twice), copying from a document in a window to a document in the other
PS>one is not possible. Is this behavior expected as normal? Or is this a
PS>bug?

Not certain, but why are you trying to run two instances of LyX?  You can
open several documents within the same instance of LyX.  Then the copy and
paste should not be a problem.
Mike


-- 
"The man who views the world the same at 50 as he did at 20 has wasted 30 
years of his life"
--Muhammad Ali