Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread aparsloe


On 13/05/2014 7:46 a.m., Georg Baum wrote:

aparsloe wrote:


On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:

Hi,

I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
from adobe reader with the embedded tool and paste directly on lyx
(ctrl+V)... I have a error message Can not open Metafle to EPS converter
printer (without i on Metafle :o)

When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
the same error occur... Any idea ?

Is the virtual printer installed which is used by metafile2eps.exe? Maybe
something wnet wrong during installation.


I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
copy and paste works without problems, so this looks like a problem at
your end rather than with LyX.

Also for copying vector images? metafile2eps.exe is not used for bitmap
images or text. You can easily see whether a vector imagtes was copied by
looking at the type of the copied image: If it is eps, the original image
was in vector format, and metafile2eps.exe worked.


Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the embedded tool 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
-- LyX -- Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.


Andrew


Importing tables to Lyx?

2014-05-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Is there any tool which allows imports of boxes/tables (from say doc/odt
files) to Lyx? The filters for Abiword often don't work. FN
-- 
FN Phone +91-832-2409490 Mobile +91-9822122436
 http://bit.ly/Goa1556Books2
Prouding using Lyx to publish: http://goa1556.in


Bug

2014-05-13 Thread Patrick Dupre
Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

The document is fine. I can open it straightforward. Then if I try to
open the previous document (while the other one is open), then again, I got the 
error.

Regards.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Bug

2014-05-13 Thread David L. Johnson

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

Odd, I can't reproduce that here.  My linux version is a bit different:

Linux  3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux

but when I have a document open in LyX 2.1.0 and then open a new one 
from recent documents, it works correctly.  I wonder whether it is a bug 
in LyX, or elsewhere.  Are these particularly large or complicated 
documents?  Do you have the same problem no matter which documents you 
have open and opening?


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Bug

2014-05-13 Thread Richard Heck

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.


If you run LyX from a terminal, do you get any more information?

Richard



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread Georg Baum
aparsloe wrote:

 I was hasty in my response. In Adobe Reader X, under the Edit menu,
 there's the option Take a Snapshot. I assume this is the embedded tool
 referred to. When I copy a figure from the pdf and then go to paste it
 into LyX I get asked first to save the file, always as an .emf file
 although that can be changed to .png if I wish. The first one I paste
 into LyX reproduces the copied figure. Copying and pasting other figures
 (after saving in .emf format) generally insert into LyX  figures that
 are about 25 times too big. I have to scale to about 4% for the Adobe
 -- LyX -- Adobe round trip to reproduce a figure about the size of the
 original. But this doesn't happen always and seems to depend on whether
 I've saved a file at some point as .png (which seems to paste at the
 right size). So, it works for a one-off, but clearly not flawlessly for
 a number of copy-pastes.

Strange. We need somebody to debug LyX on windows.


Georg



Bug in the Math UI

2014-05-13 Thread Julio Rojas
Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
coefficient for a binomial distribution, so I did as I alway did, i.e.,
insert the parenthesis in my equation and a size 2 column vector in the
parenthesis. To my surprise the vector is not centered on the parenthesis,
but on the top element. Is doesn't mater if the vector is of even or odd
size; the vector is being setup from the top element to the bottom one.
This way the parenthesis are bigger than usual and the top part of their
space is empty.

I don't know if I was completely clear, so I have attached a couple of
PNG's of the UI and a PDF showing this behavior. Again, I stress that this
exactly the same way I have doing it for years, so this issue is related to
the UI. Is there some new way of doing it on Lyx which I am not aware of?

Thanks for your help.
-
Julio Rojas
jcredbe...@gmail.com


Re: Bug in the Math UI

2014-05-13 Thread Julio Rojas
I have checked the source for my snippet compared to one of the old
fashioned that I had:

\begin{align*}

P(X\leq150)  =\left(\begin{array}{c}

n\\

k

\end{array}\right)\\

P(X\leq150)  =\left(\begin{array}[t]{c}

n\\

k

\end{array}\right)
\end{align*}

As you can see, there is [t] in the array that is generating the problem,
i.e., the array was top aligned. Are matrices in Lyx 2.1.0 set up by
default on top alignment instead of middle aligment? I don't really
remember changing this aligment.

Sorry for the false report. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 13, 2014 at 4:41 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear all,

 I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
 coefficient for a binomial distribution, so I did as I alway did, i.e.,
 insert the parenthesis in my equation and a size 2 column vector in the
 parenthesis. To my surprise the vector is not centered on the parenthesis,
 but on the top element. Is doesn't mater if the vector is of even or odd
 size; the vector is being setup from the top element to the bottom one.
 This way the parenthesis are bigger than usual and the top part of their
 space is empty.

 I don't know if I was completely clear, so I have attached a couple of
 PNG's of the UI and a PDF showing this behavior. Again, I stress that this
 exactly the same way I have doing it for years, so this issue is related to
 the UI. Is there some new way of doing it on Lyx which I am not aware of?

 Thanks for your help.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: Bug in the Math UI

2014-05-13 Thread David L. Johnson

On 05/13/2014 04:48 PM, Julio Rojas wrote:


As you can see, there is [t] in the array that is generating the 
problem, i.e., the array was top aligned. Are matrices in Lyx 2.1.0 
set up by default on top alignment instead of middle aligment? I don't 
really remember changing this aligment.
The popup window does seem to come up with top-alignment as the 
default.  Middle would be better, I think.



On Tue, May 13, 2014 at 4:41 PM, Julio Rojas jcredbe...@gmail.com 
mailto:jcredbe...@gmail.com wrote:


Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the
binomial coefficient for a binomial distribution, so I did as I
alway did, i.e., insert the parenthesis in my equation and a size
2 column vector in the parenthesis.



I was going to respond to this part anyway.  For binomial coefficients, 
use (gee) \binom  instead.  The parentheses are tighter around the 
numbers, and it looks more like a binomial coefficient. Easier as well.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread didiergabory
Hi,

Today I try again... And every thing works correctly... I can't reproduce the 
error.

Thanks for your answers (sorry for waste of time)

- Mail original -
De: aparsloe apars...@clear.net.nz
À: lyx-users@lists.lyx.org
Envoyé: Mardi 13 Mai 2014 09:44:45
Objet: Re: Lyx2.1 problem with metafile2eps converter


On 13/05/2014 7:46 a.m., Georg Baum wrote:
 aparsloe wrote:

 On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:
 Hi,

 I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
 from adobe reader with the embedded tool and paste directly on lyx
 (ctrl+V)... I have a error message Can not open Metafle to EPS converter
 printer (without i on Metafle :o)

 When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
 the same error occur... Any idea ?
 Is the virtual printer installed which is used by metafile2eps.exe? Maybe
 something wnet wrong during installation.

 I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
 copy and paste works without problems, so this looks like a problem at
 your end rather than with LyX.
 Also for copying vector images? metafile2eps.exe is not used for bitmap
 images or text. You can easily see whether a vector imagtes was copied by
 looking at the type of the copied image: If it is eps, the original image
 was in vector format, and metafile2eps.exe worked.


 Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the embedded tool 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
-- LyX -- Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.

Andrew


Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread aparsloe


On 13/05/2014 7:46 a.m., Georg Baum wrote:

aparsloe wrote:


On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:

Hi,

I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
from adobe reader with the embedded tool and paste directly on lyx
(ctrl+V)... I have a error message Can not open Metafle to EPS converter
printer (without i on Metafle :o)

When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
the same error occur... Any idea ?

Is the virtual printer installed which is used by metafile2eps.exe? Maybe
something wnet wrong during installation.


I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
copy and paste works without problems, so this looks like a problem at
your end rather than with LyX.

Also for copying vector images? metafile2eps.exe is not used for bitmap
images or text. You can easily see whether a vector imagtes was copied by
looking at the type of the copied image: If it is eps, the original image
was in vector format, and metafile2eps.exe worked.


Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the embedded tool 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
-- LyX -- Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.


Andrew


Importing tables to Lyx?

2014-05-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Is there any tool which allows imports of boxes/tables (from say doc/odt
files) to Lyx? The filters for Abiword often don't work. FN
-- 
FN Phone +91-832-2409490 Mobile +91-9822122436
 http://bit.ly/Goa1556Books2
Prouding using Lyx to publish: http://goa1556.in


Bug

2014-05-13 Thread Patrick Dupre
Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

The document is fine. I can open it straightforward. Then if I try to
open the previous document (while the other one is open), then again, I got the 
error.

Regards.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Bug

2014-05-13 Thread David L. Johnson

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

Odd, I can't reproduce that here.  My linux version is a bit different:

Linux  3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux

but when I have a document open in LyX 2.1.0 and then open a new one 
from recent documents, it works correctly.  I wonder whether it is a bug 
in LyX, or elsewhere.  Are these particularly large or complicated 
documents?  Do you have the same problem no matter which documents you 
have open and opening?


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Bug

2014-05-13 Thread Richard Heck

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.


If you run LyX from a terminal, do you get any more information?

Richard



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread Georg Baum
aparsloe wrote:

 I was hasty in my response. In Adobe Reader X, under the Edit menu,
 there's the option Take a Snapshot. I assume this is the embedded tool
 referred to. When I copy a figure from the pdf and then go to paste it
 into LyX I get asked first to save the file, always as an .emf file
 although that can be changed to .png if I wish. The first one I paste
 into LyX reproduces the copied figure. Copying and pasting other figures
 (after saving in .emf format) generally insert into LyX  figures that
 are about 25 times too big. I have to scale to about 4% for the Adobe
 -- LyX -- Adobe round trip to reproduce a figure about the size of the
 original. But this doesn't happen always and seems to depend on whether
 I've saved a file at some point as .png (which seems to paste at the
 right size). So, it works for a one-off, but clearly not flawlessly for
 a number of copy-pastes.

Strange. We need somebody to debug LyX on windows.


Georg



Bug in the Math UI

2014-05-13 Thread Julio Rojas
Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
coefficient for a binomial distribution, so I did as I alway did, i.e.,
insert the parenthesis in my equation and a size 2 column vector in the
parenthesis. To my surprise the vector is not centered on the parenthesis,
but on the top element. Is doesn't mater if the vector is of even or odd
size; the vector is being setup from the top element to the bottom one.
This way the parenthesis are bigger than usual and the top part of their
space is empty.

I don't know if I was completely clear, so I have attached a couple of
PNG's of the UI and a PDF showing this behavior. Again, I stress that this
exactly the same way I have doing it for years, so this issue is related to
the UI. Is there some new way of doing it on Lyx which I am not aware of?

Thanks for your help.
-
Julio Rojas
jcredbe...@gmail.com


Re: Bug in the Math UI

2014-05-13 Thread Julio Rojas
I have checked the source for my snippet compared to one of the old
fashioned that I had:

\begin{align*}

P(X\leq150)  =\left(\begin{array}{c}

n\\

k

\end{array}\right)\\

P(X\leq150)  =\left(\begin{array}[t]{c}

n\\

k

\end{array}\right)
\end{align*}

As you can see, there is [t] in the array that is generating the problem,
i.e., the array was top aligned. Are matrices in Lyx 2.1.0 set up by
default on top alignment instead of middle aligment? I don't really
remember changing this aligment.

Sorry for the false report. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 13, 2014 at 4:41 PM, Julio Rojas jcredbe...@gmail.com wrote:

 Dear all,

 I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
 coefficient for a binomial distribution, so I did as I alway did, i.e.,
 insert the parenthesis in my equation and a size 2 column vector in the
 parenthesis. To my surprise the vector is not centered on the parenthesis,
 but on the top element. Is doesn't mater if the vector is of even or odd
 size; the vector is being setup from the top element to the bottom one.
 This way the parenthesis are bigger than usual and the top part of their
 space is empty.

 I don't know if I was completely clear, so I have attached a couple of
 PNG's of the UI and a PDF showing this behavior. Again, I stress that this
 exactly the same way I have doing it for years, so this issue is related to
 the UI. Is there some new way of doing it on Lyx which I am not aware of?

 Thanks for your help.
 -
 Julio Rojas
 jcredbe...@gmail.com



Re: Bug in the Math UI

2014-05-13 Thread David L. Johnson

On 05/13/2014 04:48 PM, Julio Rojas wrote:


As you can see, there is [t] in the array that is generating the 
problem, i.e., the array was top aligned. Are matrices in Lyx 2.1.0 
set up by default on top alignment instead of middle aligment? I don't 
really remember changing this aligment.
The popup window does seem to come up with top-alignment as the 
default.  Middle would be better, I think.



On Tue, May 13, 2014 at 4:41 PM, Julio Rojas jcredbe...@gmail.com 
mailto:jcredbe...@gmail.com wrote:


Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the
binomial coefficient for a binomial distribution, so I did as I
alway did, i.e., insert the parenthesis in my equation and a size
2 column vector in the parenthesis.



I was going to respond to this part anyway.  For binomial coefficients, 
use (gee) \binom  instead.  The parentheses are tighter around the 
numbers, and it looks more like a binomial coefficient. Easier as well.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread didiergabory
Hi,

Today I try again... And every thing works correctly... I can't reproduce the 
error.

Thanks for your answers (sorry for waste of time)

- Mail original -
De: aparsloe apars...@clear.net.nz
À: lyx-users@lists.lyx.org
Envoyé: Mardi 13 Mai 2014 09:44:45
Objet: Re: Lyx2.1 problem with metafile2eps converter


On 13/05/2014 7:46 a.m., Georg Baum wrote:
 aparsloe wrote:

 On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:
 Hi,

 I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
 from adobe reader with the embedded tool and paste directly on lyx
 (ctrl+V)... I have a error message Can not open Metafle to EPS converter
 printer (without i on Metafle :o)

 When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
 the same error occur... Any idea ?
 Is the virtual printer installed which is used by metafile2eps.exe? Maybe
 something wnet wrong during installation.

 I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
 copy and paste works without problems, so this looks like a problem at
 your end rather than with LyX.
 Also for copying vector images? metafile2eps.exe is not used for bitmap
 images or text. You can easily see whether a vector imagtes was copied by
 looking at the type of the copied image: If it is eps, the original image
 was in vector format, and metafile2eps.exe worked.


 Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the embedded tool 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
-- LyX -- Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.

Andrew


Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread aparsloe


On 13/05/2014 7:46 a.m., Georg Baum wrote:

aparsloe wrote:


On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:

Hi,

I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
from adobe reader with the embedded tool and paste directly on lyx
(ctrl+V)... I have a error message "Can not open Metafle to EPS converter
printer" (without "i" on "Metafle" :o)

When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
the same error occur... Any idea ?

Is the virtual printer installed which is used by metafile2eps.exe? Maybe
something wnet wrong during installation.


I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
copy and paste works without problems, so this looks like a problem at
your end rather than with LyX.

Also for copying vector images? metafile2eps.exe is not used for bitmap
images or text. You can easily see whether a vector imagtes was copied by
looking at the type of the copied image: If it is eps, the original image
was in vector format, and metafile2eps.exe worked.


Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the "embedded tool" 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
--> LyX --> Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.


Andrew


Importing tables to Lyx?

2014-05-13 Thread Frederick FN Noronha फ्रेड्रिक नोरोन्या *فريدريك نورونيا
Is there any tool which allows imports of boxes/tables (from say doc/odt
files) to Lyx? The filters for Abiword often don't work. FN
-- 
FN Phone +91-832-2409490 Mobile +91-9822122436
 
Prouding using Lyx to publish: http://goa1556.in


Bug

2014-05-13 Thread Patrick Dupre
Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

The document is fine. I can open it straightforward. Then if I try to
open the previous document (while the other one is open), then again, I got the 
error.

Regards.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Bug

2014-05-13 Thread David L. Johnson

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.

Odd, I can't reproduce that here.  My linux version is a bit different:

Linux  3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux

but when I have a document open in LyX 2.1.0 and then open a new one 
from recent documents, it works correctly.  I wonder whether it is a bug 
in LyX, or elsewhere.  Are these particularly large or complicated 
documents?  Do you have the same problem no matter which documents you 
have open and opening?


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Bug

2014-05-13 Thread Richard Heck

On 05/13/2014 12:10 PM, Patrick Dupre wrote:

Hello,

I could propably report as a bug, but let me do it that way.
In versin 2.1.0 on
Linux 3.14.3-200.fc20.x86_64 #1 SMP Tue May 6 19:00:18 UTC 2014 x86_64 x86_64 
x86_64 GNU/Linux
Every time that I have an opne document and that I want to open a new
one (open recent). I get an error:
SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.


If you run LyX from a terminal, do you get any more information?

Richard



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread Georg Baum
aparsloe wrote:

> I was hasty in my response. In Adobe Reader X, under the Edit menu,
> there's the option Take a Snapshot. I assume this is the "embedded tool"
> referred to. When I copy a figure from the pdf and then go to paste it
> into LyX I get asked first to save the file, always as an .emf file
> although that can be changed to .png if I wish. The first one I paste
> into LyX reproduces the copied figure. Copying and pasting other figures
> (after saving in .emf format) generally insert into LyX  figures that
> are about 25 times too big. I have to scale to about 4% for the Adobe
> --> LyX --> Adobe round trip to reproduce a figure about the size of the
> original. But this doesn't happen always and seems to depend on whether
> I've saved a file at some point as .png (which seems to paste at the
> right size). So, it works for a one-off, but clearly not flawlessly for
> a number of copy-pastes.

Strange. We need somebody to debug LyX on windows.


Georg



Bug in the Math UI

2014-05-13 Thread Julio Rojas
Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
coefficient for a binomial distribution, so I did as I alway did, i.e.,
insert the parenthesis in my equation and a size 2 column vector in the
parenthesis. To my surprise the vector is not centered on the parenthesis,
but on the top element. Is doesn't mater if the vector is of even or odd
size; the vector is being setup from the top element to the bottom one.
This way the parenthesis are bigger than usual and the top part of their
space is empty.

I don't know if I was completely clear, so I have attached a couple of
PNG's of the UI and a PDF showing this behavior. Again, I stress that this
exactly the same way I have doing it for years, so this issue is related to
the UI. Is there some new way of doing it on Lyx which I am not aware of?

Thanks for your help.
-
Julio Rojas
jcredbe...@gmail.com


Re: Bug in the Math UI

2014-05-13 Thread Julio Rojas
I have checked the source for my snippet compared to one of the "old
fashioned" that I had:

\begin{align*}

P(X\leq150) & =\left(\begin{array}{c}

n\\

k

\end{array}\right)\\

P(X\leq150) & =\left(\begin{array}[t]{c}

n\\

k

\end{array}\right)
\end{align*}

As you can see, there is "[t]" in the array that is generating the problem,
i.e., the array was top aligned. Are matrices in Lyx 2.1.0 set up by
default on top alignment instead of middle aligment? I don't really
remember changing this aligment.

Sorry for the false report. Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 13, 2014 at 4:41 PM, Julio Rojas  wrote:

> Dear all,
>
> I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the binomial
> coefficient for a binomial distribution, so I did as I alway did, i.e.,
> insert the parenthesis in my equation and a size 2 column vector in the
> parenthesis. To my surprise the vector is not centered on the parenthesis,
> but on the top element. Is doesn't mater if the vector is of even or odd
> size; the vector is being setup from the top element to the bottom one.
> This way the parenthesis are bigger than usual and the top part of their
> space is empty.
>
> I don't know if I was completely clear, so I have attached a couple of
> PNG's of the UI and a PDF showing this behavior. Again, I stress that this
> exactly the same way I have doing it for years, so this issue is related to
> the UI. Is there some new way of doing it on Lyx which I am not aware of?
>
> Thanks for your help.
> -
> Julio Rojas
> jcredbe...@gmail.com
>


Re: Bug in the Math UI

2014-05-13 Thread David L. Johnson

On 05/13/2014 04:48 PM, Julio Rojas wrote:


As you can see, there is "[t]" in the array that is generating the 
problem, i.e., the array was top aligned. Are matrices in Lyx 2.1.0 
set up by default on top alignment instead of middle aligment? I don't 
really remember changing this aligment.
The popup window does seem to come up with top-alignment as the 
default.  Middle would be better, I think.



On Tue, May 13, 2014 at 4:41 PM, Julio Rojas > wrote:


Dear all,

I am on Ubuntu 12.02 with Lyx 2.1.0. I wanted to make set the
binomial coefficient for a binomial distribution, so I did as I
alway did, i.e., insert the parenthesis in my equation and a size
2 column vector in the parenthesis.



I was going to respond to this part anyway.  For binomial coefficients, 
use (gee) \binom  instead.  The parentheses are tighter around the 
numbers, and it looks more like a binomial coefficient. Easier as well.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Lyx2.1 problem with metafile2eps converter

2014-05-13 Thread didiergabory
Hi,

Today I try again... And every thing works correctly... I can't reproduce the 
error.

Thanks for your answers (sorry for waste of time)

- Mail original -
De: "aparsloe" 
À: lyx-users@lists.lyx.org
Envoyé: Mardi 13 Mai 2014 09:44:45
Objet: Re: Lyx2.1 problem with metafile2eps converter


On 13/05/2014 7:46 a.m., Georg Baum wrote:
> aparsloe wrote:
>
>> On 11/05/2014 8:31 a.m., didiergab...@free.fr wrote:
>>> Hi,
>>>
>>> I have problem wth lyx2.1 (on windows 7 64bits)... I often copy images
>>> from adobe reader with the embedded tool and paste directly on lyx
>>> (ctrl+V)... I have a error message "Can not open Metafle to EPS converter
>>> printer" (without "i" on "Metafle" :o)
>>>
>>> When I try the conversion directly from Lyx2.1 dir\bin\metafile2eps.exe
>>> the same error occur... Any idea ?
> Is the virtual printer installed which is used by metafile2eps.exe? Maybe
> something wnet wrong during installation.
>
>> I've also got LyX2.1 on  64 bit Windows 7, and Adobe Reader X, and the
>> copy and paste works without problems, so this looks like a problem at
>> your end rather than with LyX.
> Also for copying vector images? metafile2eps.exe is not used for bitmap
> images or text. You can easily see whether a vector imagtes was copied by
> looking at the type of the copied image: If it is eps, the original image
> was in vector format, and metafile2eps.exe worked.
>
>
> Georg
I was hasty in my response. In Adobe Reader X, under the Edit menu, 
there's the option Take a Snapshot. I assume this is the "embedded tool" 
referred to. When I copy a figure from the pdf and then go to paste it 
into LyX I get asked first to save the file, always as an .emf file 
although that can be changed to .png if I wish. The first one I paste 
into LyX reproduces the copied figure. Copying and pasting other figures 
(after saving in .emf format) generally insert into LyX  figures that 
are about 25 times too big. I have to scale to about 4% for the Adobe 
--> LyX --> Adobe round trip to reproduce a figure about the size of the 
original. But this doesn't happen always and seems to depend on whether 
I've saved a file at some point as .png (which seems to paste at the 
right size). So, it works for a one-off, but clearly not flawlessly for 
a number of copy-pastes.

Andrew