Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 22:29, Enrico Forestieri a écrit : On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 1) the explosion in size mentioned above. This affects both stable and master. (This is also responsible for a regression wrt 2.1.3 because of zooming triggers preview as already

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 1) the explosion in size mentioned above. This affects both stable and master. (This is also responsible for a regression wrt 2.1.3 because of zooming triggers preview as already discussed.) Using vim I duplicated your document

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 07:13 PM, Guillaume M-M wrote: Bad news, it seems to forget that macros can use macros. With the attached file the preview is as follows: \begin{preview} \global\long\def\b{\a} $\b$ \end{preview} I suspect this is why all macros are included. Richard

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 05:29 PM, Enrico Forestieri wrote: Richard, I think that this is pretty safe for stable. It simply omits the macro definition if it is not used in the math inset. At worst, it is added unnecessarily if for example \beta appears in the inset and the macro name is \b, \be, or \bet.

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 20:17, Scott Kostyshak a écrit : On Thu, Jun 4, 2015 at 3:05 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jun 4, 2015 at 2:31 PM,

Re: [patch] fix bug 7657 - Inkscape detection in configure.py

2015-06-04 Thread Guenter Milde
On 2015-06-03, Uwe Stöhr wrote: [-- Type: text/plain, Encoding: 7bit --] The attached patch fixes http://www.lyx.org/trac/ticket/7657 for me. Could some pythionist please review this? If this can go in I would be able to fix the same bug for other third-party programs. Do you really

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:56:46PM +0200, Jürgen Spitzmüller wrote: 2015-06-04 18:39 GMT+02:00 Enrico Forestieri for...@lyx.org: Yes, I can reproduce in master. It does not occur in stable, where a different strategy is used, only involving the instant preview scripts. If I am not

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 17:39, Enrico Forestieri a écrit : On Thu, Jun 04, 2015 at 01:42:51AM +0100, Guillaume M-M wrote: Le 02/06/2015 23:50, Enrico Forestieri a écrit : Try using gdb for getting a backtrace after setting a breakpoint at lassert.cpp:53. If this is due to some recent change, you could

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 2) an assertion violation that happen on copy-paste with preview (does not happen

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 01/06/2015 23:04, Enrico Forestieri a écrit : You may be right that microtype may have been the reason why I had the impression that latex is slower than pdflatex, but this does not account for the 55s (on a good computer) during which LyX is frozen while generating the 16MB tex file. I will

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 2) an assertion violation that happen on copy-paste with preview (does not happen without preview). This is a regression in master, does not happen in the stable branch. I can reproduce the assertion. Bisect points at 73460423

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 2) an assertion violation that happen on copy-paste with preview (does not happen without preview). This is a regression in master, does not happen in the

Re: [LyX/2.1.x] layouttranslations: Arabic update by Hatim

2015-06-04 Thread Georg Baum
Uwe Stöhr wrote: commit 407d5bf228a8fd297aedc933b396a10e976df09b Author: Uwe Stöhr uwesto...@lyx.org Date: Thu Jun 4 01:12:12 2015 +0200 layouttranslations: Arabic update by Hatim It is forbidden to update layouttranslations in a stable release, and if an update is done in master it

Re: [patch] fix bug 7657 - Inkscape detection in configure.py

2015-06-04 Thread Georg Baum
Uwe Stöhr wrote: The attached patch fixes http://www.lyx.org/trac/ticket/7657 for me. Could some pythionist please review this? First you need to explain why you use this complicated quoting, and what problem it solves. If such a quoting is really needed, then it needs to be wrapped in a

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 01:42:51AM +0100, Guillaume M-M wrote: Le 02/06/2015 23:50, Enrico Forestieri a écrit : Try using gdb for getting a backtrace after setting a breakpoint at lassert.cpp:53. If this is due to some recent change, you could try bisetting for finding the relevant commit.

Re: configure.py questions

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 16:26 GMT+02:00 Richard Heck rgh...@lyx.org: On 06/04/2015 03:38 AM, Jürgen Spitzmüller wrote: Then you might give Pandoc a try because they state that they can handle biblatex as well. Interesting. I'll do. The (original?) author of the program is someone I know: a

Re: test of math previews

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 18:39 GMT+02:00 Enrico Forestieri for...@lyx.org: Yes, I can reproduce in master. It does not occur in stable, where a different strategy is used, only involving the instant preview scripts. If I am not mistaken, it goes like this. When you enter and then leave a math inset, the

Re: configure.py questions

2015-06-04 Thread Richard Heck
On 06/04/2015 03:38 AM, Jürgen Spitzmüller wrote: 2015-06-04 1:35 GMT+02:00 Uwe Stöhr uwesto...@web.de mailto:uwesto...@web.de: Am 02.06.2015 um 17:22 schrieb Jürgen Spitzmüller: I never used it, but it would certainly be a valid addition. Note that, even if Pandoc seems

Re: configure.py questions

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 1:35 GMT+02:00 Uwe Stöhr uwesto...@web.de: Am 02.06.2015 um 17:22 schrieb Jürgen Spitzmüller: I never used it, but it would certainly be a valid addition. Note that, even if Pandoc seems to handle BibTeX, htlatex is still outstanding because it supports Biblatex and biber (and

Re: Will LyX 2.2 fix the OS X slow scrolling problem?

2015-06-04 Thread Stephan Witt
Am 03.06.2015 um 22:38 schrieb Stephan Witt st.w...@gmx.net: Am 03.06.2015 um 02:26 schrieb Jerry lancebo...@qwest.net: Will LyX 2.2 fix the OS X slow scrolling problem? Someone mentioned some time back that there is an experimental fix for the slow scrolling problem on OS X LyX but that

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 2) an assertion

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 3:05 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri for...@lyx.org wrote: On Thu, Jun

Re: test of math previews

2015-06-04 Thread Jean-Marc Lasgouttes
Le 04/06/2015 20:44, Scott Kostyshak a écrit : Can someone please confirm that I should indeed revert? I took a look at lyx-preview-explosion.lyx and I can indeed reproduce the assertion. My guess though is that the referenced commits expose a different bug that has to do with previews and

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 03:35 PM, Jean-Marc Lasgouttes wrote: Le 04/06/2015 20:44, Scott Kostyshak a écrit : Can someone please confirm that I should indeed revert? I took a look at lyx-preview-explosion.lyx and I can indeed reproduce the assertion. My guess though is that the referenced commits expose a

Re: Will LyX 2.2 fix the OS X slow scrolling problem?

2015-06-04 Thread Stephan Witt
Am 03.06.2015 um 22:38 schrieb Stephan Witt : > Am 03.06.2015 um 02:26 schrieb Jerry : > >> Will LyX 2.2 fix the OS X slow scrolling problem? >> >> Someone mentioned some time back that there is an experimental fix for the >> slow scrolling problem on OS

Re: configure.py questions

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 1:35 GMT+02:00 Uwe Stöhr : > Am 02.06.2015 um 17:22 schrieb Jürgen Spitzmüller: > > > I never used it, but it would certainly be a valid addition. Note that, > >> even if Pandoc seems to handle BibTeX, htlatex is still outstanding >> because >> it supports Biblatex

Re: configure.py questions

2015-06-04 Thread Richard Heck
On 06/04/2015 03:38 AM, Jürgen Spitzmüller wrote: 2015-06-04 1:35 GMT+02:00 Uwe Stöhr >: Am 02.06.2015 um 17:22 schrieb Jürgen Spitzmüller: > I never used it, but it would certainly be a valid addition. Note that, even if Pandoc

Re: [LyX/2.1.x] layouttranslations: Arabic update by Hatim

2015-06-04 Thread Georg Baum
Uwe Stöhr wrote: > commit 407d5bf228a8fd297aedc933b396a10e976df09b > Author: Uwe Stöhr > Date: Thu Jun 4 01:12:12 2015 +0200 > > layouttranslations: Arabic update by Hatim It is forbidden to update layouttranslations in a stable release, and if an update is done in

Re: [patch] fix bug 7657 - Inkscape detection in configure.py

2015-06-04 Thread Georg Baum
Uwe Stöhr wrote: > The attached patch fixes > http://www.lyx.org/trac/ticket/7657 > for me. > > Could some pythionist please review this? First you need to explain why you use this complicated quoting, and what problem it solves. If such a quoting is really needed, then it needs to be wrapped

Re: configure.py questions

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 16:26 GMT+02:00 Richard Heck : > On 06/04/2015 03:38 AM, Jürgen Spitzmüller wrote: > > Then you might give Pandoc a try because they state that they can handle > biblatex as well. > > Interesting. I'll do. > > > The (original?) author of the program is someone I

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 01:42:51AM +0100, Guillaume M-M wrote: > Le 02/06/2015 23:50, Enrico Forestieri a écrit : > > > >Try using gdb for getting a backtrace after setting a breakpoint at > >lassert.cpp:53. If this is due to some recent change, you could try > >bisetting for finding the relevant

Re: test of math previews

2015-06-04 Thread Jürgen Spitzmüller
2015-06-04 18:39 GMT+02:00 Enrico Forestieri : > Yes, I can reproduce in master. It does not occur in stable, where a > different strategy is used, only involving the instant preview scripts. > If I am not mistaken, it goes like this. When you enter and then leave > a math inset,

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:56:46PM +0200, Jürgen Spitzmüller wrote: > 2015-06-04 18:39 GMT+02:00 Enrico Forestieri : > > > Yes, I can reproduce in master. It does not occur in stable, where a > > different strategy is used, only involving the instant preview scripts. > > If I am

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 01/06/2015 23:04, Enrico Forestieri a écrit : You may be right that microtype may have been the reason why I had the impression that latex is slower than pdflatex, but this does not account for the 55s (on a good computer) during which LyX is frozen while generating the 16MB tex file. I will

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 17:39, Enrico Forestieri a écrit : On Thu, Jun 04, 2015 at 01:42:51AM +0100, Guillaume M-M wrote: Le 02/06/2015 23:50, Enrico Forestieri a écrit : Try using gdb for getting a backtrace after setting a breakpoint at lassert.cpp:53. If this is due to some recent change, you could

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: > > 2) an assertion violation that happen on copy-paste with preview (does not > happen without preview). This is a regression in master, does not happen in > the stable branch. I can reproduce the assertion. Bisect points at

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri wrote: > On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: >> >> 2) an assertion violation that happen on copy-paste with preview (does not >> happen without preview). This is a regression in master, does not happen in

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak wrote: > On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri wrote: >> On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: >>> >>> 2) an assertion violation that happen on copy-paste with preview (does not

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: > On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak wrote: > > On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri wrote: > >> On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: > >>> > >>>

Re: test of math previews

2015-06-04 Thread Scott Kostyshak
On Thu, Jun 4, 2015 at 3:05 PM, Enrico Forestieri wrote: > On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: >> On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak wrote: >> > On Thu, Jun 4, 2015 at 2:31 PM, Enrico Forestieri wrote:

Re: test of math previews

2015-06-04 Thread Jean-Marc Lasgouttes
Le 04/06/2015 20:44, Scott Kostyshak a écrit : Can someone please confirm that I should indeed revert? I took a look at lyx-preview-explosion.lyx and I can indeed reproduce the assertion. My guess though is that the referenced commits expose a different bug that has to do with previews and

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 03:35 PM, Jean-Marc Lasgouttes wrote: Le 04/06/2015 20:44, Scott Kostyshak a écrit : Can someone please confirm that I should indeed revert? I took a look at lyx-preview-explosion.lyx and I can indeed reproduce the assertion. My guess though is that the referenced commits expose a

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 20:17, Scott Kostyshak a écrit : On Thu, Jun 4, 2015 at 3:05 PM, Enrico Forestieri wrote: On Thu, Jun 04, 2015 at 02:44:56PM -0400, Scott Kostyshak wrote: On Thu, Jun 4, 2015 at 2:34 PM, Scott Kostyshak wrote: On Thu, Jun 4, 2015 at 2:31 PM,

Re: test of math previews

2015-06-04 Thread Enrico Forestieri
On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: > > 1) the explosion in size mentioned above. This affects both stable and > master. (This is also responsible for a regression wrt 2.1.3 because of > zooming triggers preview as already discussed.) Using vim I duplicated your

Re: [patch] fix bug 7657 - Inkscape detection in configure.py

2015-06-04 Thread Guenter Milde
On 2015-06-03, Uwe Stöhr wrote: > [-- Type: text/plain, Encoding: 7bit --] > The attached patch fixes > http://www.lyx.org/trac/ticket/7657 > for me. > Could some pythionist please review this? > If this can go in I would be able to fix the same bug for other > third-party programs. Do you

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 05:29 PM, Enrico Forestieri wrote: Richard, I think that this is pretty safe for stable. It simply omits the macro definition if it is not used in the math inset. At worst, it is added unnecessarily if for example \beta appears in the inset and the macro name is \b, \be, or \bet.

Re: test of math previews

2015-06-04 Thread Guillaume M-M
Le 04/06/2015 22:29, Enrico Forestieri a écrit : On Thu, Jun 04, 2015 at 06:33:28PM +0100, Guillaume M-M wrote: 1) the explosion in size mentioned above. This affects both stable and master. (This is also responsible for a regression wrt 2.1.3 because of zooming triggers preview as already

Re: test of math previews

2015-06-04 Thread Richard Heck
On 06/04/2015 07:13 PM, Guillaume M-M wrote: Bad news, it seems to forget that macros can use macros. With the attached file the preview is as follows: \begin{preview} \global\long\def\b{\a} $\b$ \end{preview} I suspect this is why all macros are included. Richard