Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-19 Thread Thibaut Cuvelier
On Sat, 19 Feb 2022 at 11:31, Enrico Forestieri wrote: > On Sat, Feb 19, 2022 at 03:16:04AM +0100, Thibaut Cuvelier wrote: > > > > I've been back on this issue. I think that slightly changing the call to > > ImageMagick is the best solution, as it will not break things that used > to > > work

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-19 Thread Enrico Forestieri
On Sat, Feb 19, 2022 at 03:16:04AM +0100, Thibaut Cuvelier wrote: > > I've been back on this issue. I think that slightly changing the call to > ImageMagick is the best solution, as it will not break things that used to > work and has the potential of enabling preview of images that did not have.

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-18 Thread Thibaut Cuvelier
I've been back on this issue. I think that slightly changing the call to ImageMagick is the best solution, as it will not break things that used to work and has the potential of enabling preview of images that did not have. What do you think about this (minimalist) patch? On Sun, 13 Feb 2022 at

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-13 Thread Dr Eberhard Lisse
Thibaut, I don't know. Try both of them TeX has nothing to do with this, it's a LyX issue. el On 2022-02-10 03:22 , Thibaut Cuvelier wrote: On Wed, 9 Feb 2022 at 22:45, Dr Eberhard Lisse wrote: Is the issue displaying it on the screen or in the resulting PDF? For me, only the preview

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Thibaut Cuvelier
On Wed, 9 Feb 2022 at 22:45, Dr Eberhard Lisse wrote: > Is the issue displaying it on the screen or in the resulting PDF? > For me, only the preview in LyX: LaTeX handles the EPS without troubles. > Try GraphicsMagick :-)-O > Isn't there a difference in the number of supported formats? Both

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Dr Eberhard Lisse
Is the issue displaying it on the screen or in the resulting PDF? Try GraphicsMagick :-)-O el On 2022-02-09 19:46 , Thibaut Cuvelier wrote: [...] The bundled ImageMagick (7.0.10.43) takes roughly three seconds, but produces a PDF with two pages: the first one is either perfect or garbage,

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Pavel Sanda
On Wed, Feb 09, 2022 at 09:06:40PM +0100, Thibaut Cuvelier wrote: > If there is no counter-argument against this, I believe it would be the > easiest solution overall. Otherwise, LyX could look after -1, -2 files, > show one of them arbitrarily (say, the first one), and display a message to > the

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Scott Kostyshak
On Wed, Feb 09, 2022 at 09:06:40PM +0100, Thibaut Cuvelier wrote: > On Wed, 9 Feb 2022 at 19:49, Enrico Forestieri wrote: > > > On Wed, Feb 09, 2022 at 06:46:39PM +0100, Thibaut Cuvelier wrote: > > > > > > The main reason I'm taking this to the dev mailing list is that pdflatex > > > doesn't

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Thibaut Cuvelier
On Wed, 9 Feb 2022 at 19:49, Enrico Forestieri wrote: > On Wed, Feb 09, 2022 at 06:46:39PM +0100, Thibaut Cuvelier wrote: > > > > The main reason I'm taking this to the dev mailing list is that pdflatex > > doesn't have any problem with this file, while LyX does without any > useful > >

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Enrico Forestieri
On Wed, Feb 09, 2022 at 06:46:39PM +0100, Thibaut Cuvelier wrote: > > The main reason I'm taking this to the dev mailing list is that pdflatex > doesn't have any problem with this file, while LyX does without any useful > information for the user. I believe some tool fails when loading the image,

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Thibaut Cuvelier
On Wed, 9 Feb 2022 at 18:11, Pavel Sanda wrote: > On Wed, Feb 09, 2022 at 02:06:17AM +0100, Thibaut Cuvelier wrote: > > Do you have any trick to debug this further? For the LyX 2.3 issue, it > > might be a timeout for large EPS; for 2.4, I have no idea. > > One thing which come to my mind - do

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2022 à 18:08, Pavel Sanda a écrit : On Wed, Feb 09, 2022 at 02:06:17AM +0100, Thibaut Cuvelier wrote: Do you have any trick to debug this further? For the LyX 2.3 issue, it might be a timeout for large EPS; for 2.4, I have no idea. One thing which come to my mind - do you have set

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Pavel Sanda
On Wed, Feb 09, 2022 at 02:06:17AM +0100, Thibaut Cuvelier wrote: > Do you have any trick to debug this further? For the LyX 2.3 issue, it > might be a timeout for large EPS; for 2.4, I have no idea. One thing which come to my mind - do you have set some limits on EPS size in imagemagick config?

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread José Abílio Matos
On Wednesday, 9 February 2022 01.06.17 WET Thibaut Cuvelier wrote: > Dear list, > > A friend of mine noticed that LyX 2.3 has problems displaying the attached > EPS file. All other EPS images can be previewed within LyX without any > problem. > All EPS files are displayed correctly in the PDF

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Daniel
On 09/02/2022 15:02, Dr Eberhard Lisse wrote: The image is a graph of a few KB, instead of 40MB, it'll display just fine, which is what was to be achieved. el Since this is a post on the devel list, I am not sure that is all that was to be achieved. Daniel -- lyx-devel mailing list

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Dr Eberhard Lisse
The image is a graph of a few KB, instead of 40MB, it'll display just fine, which is what was to be achieved. el On 09/02/2022 15:17, Daniel wrote: On 09/02/2022 13:00, Dr Eberhard Lisse wrote: TBird does not allow me to respond to my own reply but GraphicsMagic to the rescue: gm

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread José Abílio Matos
On Wednesday, 9 February 2022 13.17.29 WET Daniel wrote: > eps is a vector image, png is a bitmap. so, this might not be a > desirable solution depending on what is to be achieved. A small nitpick, eps allows vector images but it does not require it. It is perfectly possible to have an eps that

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Daniel
On 09/02/2022 13:00, Dr Eberhard Lisse wrote: TBird does not allow me to respond to my own reply but GraphicsMagic to the rescue: gm convert undisplayable.eps u.png results in the enclosed :-)-O el eps is a vector image, png is a bitmap. so, this might not be a desirable solution

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Dr Eberhard Lisse
TBird does not allow me to respond to my own reply but GraphicsMagic to the rescue: gm convert undisplayable.eps u.png results in the enclosed :-)-O el On 09/02/2022 03:06, Thibaut Cuvelier wrote: Dear list, A friend of mine noticed that LyX 2.3 has problems displaying the attached

Re: LyX 2.3 and 2.4 have troubles displaying EPS images

2022-02-09 Thread Dr Eberhard Lisse
Thibaut, it is not a (proper) EPS file. On my Mac the command file undisplayable.eps returns undisplayable.eps: DOS EPS Binary File Postscript starts at byte 30252 length 40741791 TIFF starts at byte 30 length 30222 google shows 32 results: