Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 11:14:29AM -0400, Richard Heck wrote: On 06/22/2015 06:59 PM, Enrico Forestieri wrote: On Sat, Jun 20, 2015 at 02:11:53AM +0200, Enrico Forestieri wrote: On Fri, Jun 19, 2015 at 04:50:43PM +0100, Guillaume M-M wrote: Also, lyx-preview-macros-2-lassert.lyx no longer

Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 10:20:21PM +0200, Georg Baum wrote: Enrico Forestieri wrote: I don't know, maybe this is a case of a race condition. Most probably, with preview on, updateMacros() is not called (or is called later) and the MacroData:sym_ pointer is not updated at the time

Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: 3) Previews have the incorrect size with layouts that offer font sizes other than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy method offers a function that retrieves the actual font size and calculates the actual dpi.

Re: test of math previews

2015-06-24 Thread Richard Heck
On 06/24/2015 08:49 PM, Guillaume M-M wrote: Le 25/06/2015 00:44, Enrico Forestieri a écrit : On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: 3) Previews have the incorrect size with layouts that offer font sizes other than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy

Re: test of math previews

2015-06-24 Thread Guillaume M-M
Le 25/06/2015 00:44, Enrico Forestieri a écrit : On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: 3) Previews have the incorrect size with layouts that offer font sizes other than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy method offers a function that retrieves the actual

LyX-Function textstyle-update

2015-06-24 Thread Kornel Benko
Hi, could we please have also a more user friendly lyx-function? For instance we have to use textstyle-update ... color 16 ... to set the color to red. Any key-binding using numbers has a risk of being invalid if the corresponding number changes. (As recently happend) The function may be

LyX-Function textstyle-update

2015-06-24 Thread Kornel Benko
Hi, could we please have also a more user friendly lyx-function? For instance we have to use textstyle-update ... color 16 ... to set the color to "red". Any key-binding using numbers has a risk of being invalid if the corresponding number changes. (As recently happend) The function may

Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 10:20:21PM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > I don't know, maybe this is a case of a race condition. Most probably, > > with preview on, updateMacros() is not called (or is called later) and > > the MacroData:sym_ pointer is not updated at the time

Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 11:14:29AM -0400, Richard Heck wrote: > On 06/22/2015 06:59 PM, Enrico Forestieri wrote: > >On Sat, Jun 20, 2015 at 02:11:53AM +0200, Enrico Forestieri wrote: > >>On Fri, Jun 19, 2015 at 04:50:43PM +0100, Guillaume M-M wrote: > >> > >>>Also, lyx-preview-macros-2-lassert.lyx

Re: test of math previews

2015-06-24 Thread Enrico Forestieri
On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: > > 3) Previews have the incorrect size with layouts that offer font sizes other > than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy method offers a > function that retrieves the actual font size and calculates the actual dpi. >

Re: test of math previews

2015-06-24 Thread Guillaume M-M
Le 25/06/2015 00:44, Enrico Forestieri a écrit : On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: 3) Previews have the incorrect size with layouts that offer font sizes other than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy method offers a function that retrieves the actual

Re: test of math previews

2015-06-24 Thread Richard Heck
On 06/24/2015 08:49 PM, Guillaume M-M wrote: Le 25/06/2015 00:44, Enrico Forestieri a écrit : On Mon, Jun 22, 2015 at 11:32:17PM +0100, Guillaume M-M wrote: 3) Previews have the incorrect size with layouts that offer font sizes other than 1[0-2]pt (lyx-preview-fontsize.lyx). The legacy