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/master] Avoid static members zoom_min_ and zoom_max_

2022-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2022 à 12:39, Kornel Benko a écrit : Of course, there is no good reason for having this part of the class definition. The constants could be moved to go at the top of GuiView.cpp (in this case, they should lose the trailing underscore). Hm, since they are declared inside private part

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:

Re: [LyX/master] Avoid static members zoom_min_ and zoom_max_

2022-02-09 Thread Kornel Benko
Am Wed, 9 Feb 2022 12:27:46 +0100 schrieb Jean-Marc Lasgouttes : > Le 09/02/2022 à 12:17, Kornel Benko a écrit : > >>/// Minimum zoom percentage > >> - static int const zoom_min_ = 10; > >> + int const zoom_min_ = 10; > >>/// Maximum zoom percentage > >> - static int const zoom_max_ =

Re: [LyX/master] Avoid static members zoom_min_ and zoom_max_

2022-02-09 Thread Jean-Marc Lasgouttes
Le 09/02/2022 à 12:17, Kornel Benko a écrit : /// Minimum zoom percentage - static int const zoom_min_ = 10; + int const zoom_min_ = 10; /// Maximum zoom percentage - static int const zoom_max_ = 1000; + int const zoom_max_ = 1000; // movability flag

Re: [LyX/master] Avoid static members zoom_min_ and zoom_max_

2022-02-09 Thread Stephan Witt
Am 09.02.2022 um 12:17 schrieb Kornel Benko : > > Am Wed, 9 Feb 2022 10:27:06 +0100 (CET) > schrieb Stephan Witt : > >> commit cd995a2bc6449c8d9d3dee494ecffcf9abdcb50f >> Author: Stephan Witt >> Date: Wed Feb 9 10:59:18 2022 +0100 >> >>Avoid static members zoom_min_ and zoom_max_ >> >>

Re: [LyX/master] Avoid static members zoom_min_ and zoom_max_

2022-02-09 Thread Kornel Benko
Am Wed, 9 Feb 2022 10:27:06 +0100 (CET) schrieb Stephan Witt : > commit cd995a2bc6449c8d9d3dee494ecffcf9abdcb50f > Author: Stephan Witt > Date: Wed Feb 9 10:59:18 2022 +0100 > > Avoid static members zoom_min_ and zoom_max_ > > Some compilers cannot use static class members by

Jenkins build is back to normal : Build branch "master" » ubuntu-latest-qt5-cmake #2429

2022-02-09 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2429/ -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Build failed in Jenkins: Build branch "master" » ubuntu-latest-qt5-cmake #2428

2022-02-09 Thread Kornel Benko
Am Wed, 9 Feb 2022 03:33:43 +0100 (CET) schrieb ci-...@inria.fr: > /build/lyx/src/frontends/qt/GuiView.cpp:646: undefined reference to > `lyx::frontend::GuiView::zoom_min_' > /build/lyx/src/frontends/qt/GuiView.cpp:646: > undefined reference to `lyx::frontend::GuiView::zoom_max_' Works with the