Re: [LyX/master] insets/InsetTabular.cpp (doDispatch): fix to #9291. The problem was simply that the default status for the cursor in the call to *::doDispatch is "dispatched". insets/InsetTabular.cpp

2015-03-30 Thread Scott Kostyshak
On Tue, Oct 14, 2014 at 6:04 AM, Alfredo Braunstein wrote: > commit b2246c4ea295bb93923a9a9c47faba73f69b8a9f > Author: Alfredo Braunstein > Date: Mon Oct 13 10:59:50 2014 +0200 > > insets/InsetTabular.cpp (doDispatch): fix to #9291. The problem was > simply that the default status for the

Re: Math.lyx export to latex

2015-03-30 Thread Scott Kostyshak
On Mon, Mar 30, 2015 at 8:12 PM, Enrico Forestieri wrote: > On Sun, Mar 29, 2015 at 11:07:35PM +0200, Kornel Benko wrote: > >> This is a recipe to observe creation of files in lyx-source >> >> 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. >> This is not needed

Re: Math.lyx export to latex

2015-03-30 Thread Enrico Forestieri
On Sun, Mar 29, 2015 at 11:07:35PM +0200, Kornel Benko wrote: > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. > This is not needed, but shows that the behaviour does not depend on > the pat

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Montag, 30. März 2015 um 22:52:20, schrieb Georg Baum > Kornel Benko wrote: > > > Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > > > >> Unfortunately I don't have time to investigate now, but I'd guess that > >> neither Exporter.cpp nor TempFile is the culprit. It is normal for t

Re: [ugly patch] fix bug 9418

2015-03-30 Thread Jean-Marc Lasgouttes
Le 30/03/2015 22:42, Georg Baum a écrit : Meanwhile I do have a better understanding of the math macros and found another solution which I think is much better. First, it is really very difficult to get rid of ArgumentProxy::mathMacro_. So, I stopped trying to get rid of it but rather tried to fi

Re: Math.lyx export to latex

2015-03-30 Thread Georg Baum
Kornel Benko wrote: > Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > >> Unfortunately I don't have time to investigate now, but I'd guess that >> neither Exporter.cpp nor TempFile is the culprit. It is normal for the >> conversion process to use temporary files. The path of the temp f

Re: [ugly patch] fix bug 9418

2015-03-30 Thread Georg Baum
Richard Heck wrote: > On 03/22/2015 09:14 AM, Georg Baum wrote: >> Jean-Marc Lasgouttes wrote: >> >>> Le 20/03/15 21:53, Georg Baum a écrit : The real cause for the bug is that ArgumentProxy::mathMacro_ is a reference to an object which is stored in a MathData, which is a std::vecto

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > Kornel Benko wrote: > > > This is a recipe to observe creation of files in lyx-source > > > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say > > ~/lyx/test/. This is not needed, but shows that the behaviour does not > >

Re: Math.lyx export to latex

2015-03-30 Thread Georg Baum
Kornel Benko wrote: > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say > ~/lyx/test/. This is not needed, but shows that the behaviour does not > depend on the path of Math.lyx > 2.) use your lyx from the build direct

Re: [LyX/master] Update doc-files due to icon rename, this time correct

2015-03-30 Thread Kornel Benko
Am Montag, 30. März 2015 um 16:23:51, schrieb Enrico Forestieri > On Sun, Mar 29, 2015 at 05:22:13PM +0200, Kornel Benko wrote: > > > commit 7b72010408142d605799c3b4245cfc3052eb3c1f > > Author: Kornel Benko > > Date: Sun Mar 29 17:20:35 2015 +0200 > > > > Update doc-files due to icon rena

Re: [LyX/master] Update doc-files due to icon rename, this time correct

2015-03-30 Thread Enrico Forestieri
On Sun, Mar 29, 2015 at 05:22:13PM +0200, Kornel Benko wrote: > commit 7b72010408142d605799c3b4245cfc3052eb3c1f > Author: Kornel Benko > Date: Sun Mar 29 17:20:35 2015 +0200 > > Update doc-files due to icon rename, this time correct Sorry, I forgot about the translations. However, note th

Re: [LyX/master] Use the nominal theme's icon size for displaying the icon in an info inset.

2015-03-30 Thread Enrico Forestieri
On Mon, Mar 30, 2015 at 11:41:52AM +0200, Jean-Marc Lasgouttes wrote: > Le 26/03/2015 17:00, Enrico Forestieri a écrit : > >On Thu, Mar 26, 2015 at 12:09:41PM +0100, Jean-Marc Lasgouttes wrote: > >> > >>On a related idea, could you tell us what is the intent of the > >>following code? > >> > >>

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
I tried to debug, but ended at /usr/src/lyx/lyx-git/src/Exporter.cpp:142 FileMap::const_iterator cit = externalfiles_.find(format); Here the log: gdb) b FileName.cpp:690 Breakpoint 1, lyx::support::FileName::createPath (this=0x7fffe3ffe910) at /usr/src/lyx/lyx-git/src/support/FileName.cpp

Re: [LyX/master] Use the nominal theme's icon size for displaying the icon in an info inset.

2015-03-30 Thread Jean-Marc Lasgouttes
Le 26/03/2015 17:00, Enrico Forestieri a écrit : On Thu, Mar 26, 2015 at 12:09:41PM +0100, Jean-Marc Lasgouttes wrote: On a related idea, could you tell us what is the intent of the following code? int iconsize = Length(1, Length::EM).inPixels(1); percent_scale = (100 * iconsiz

Re: [LyX/master] Allow using icon names in InsetInfo

2015-03-30 Thread Jean-Marc Lasgouttes
Le 28/03/2015 23:28, Enrico Forestieri a écrit : The change makes sense to me. However, in the particular example that you give, I would encourage to rename the icon to "outline-out" so that this function could be added to a regular toolbar. Done at cb899b3f. I also added "outline-up" and "outl

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Sonntag, 29. März 2015 um 23:07:35, schrieb Kornel Benko > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. > This is not needed, but shows that the behaviour does not depend on > the path