Re: test of math previews

2015-06-23 Thread Richard Heck
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 lasserts but on opening the preview is not generated because

Re: test of math previews

2015-06-23 Thread Guillaume M-M
Le 23/06/2015 10:46, Enrico Forestieri a écrit : On Tue, Jun 23, 2015 at 11:18:56AM +0200, Enrico Forestieri wrote: On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: Still there at cd046f0e (master). But here's the trace I get when it crashes right at the first Ctrl+C: I doubt

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:23:18PM +0100, Guillaume M-M wrote: Le 23/06/2015 10:46, Enrico Forestieri a écrit : Indeed, this has to do with the general problem of copying macros and how the various structures are carried on when copying. OK for the fact that this is not a regression, but

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:23:18PM +0100, Guillaume M-M wrote: Le 23/06/2015 10:46, Enrico Forestieri a écrit : Indeed, this has to do with the general problem of copying macros and how the various structures are carried on when copying. OK for the fact that this is not a regression, but

Re: Tables in 2.1.3 arXiv.org pdf

2015-06-23 Thread Michael Manthey
Dear LyX'ers - My preceding post left out usable details - apologies. Here they are: The Table problem occurs in the Label text of the Table (deleting the label and text removes the error): ''Paragraph ended before \NR@agettitle was complete ...standard notation.}{\footnotesize \par}} I

Re: test of math previews

2015-06-23 Thread Georg Baum
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 MacroData::xlmname() is called so that it contains bogus values. This

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread Georg Baum
Guenter Milde wrote: On 2015-06-21, Georg Baum wrote: If the user entered \delta in a math formula, then this is a small mathematical delta. If he rather needs a text greek delta, he should use δ U+03b4 in the first place. This is not as straightforward: we need to be consistent. I can

Re: test of math previews

2015-06-23 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-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 11:18:56AM +0200, Enrico Forestieri wrote: On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: Still there at cd046f0e (master). But here's the trace I get when it crashes right at the first Ctrl+C: I doubt this has anything to do with the recent

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: Le 23/06/2015 02:36, Guillaume M-M a écrit : Le 23/06/2015 02:34, Guillaume M-M a écrit : Another segfault in the stable branch involving previews (and master as well). When Instant preview is on and one copies a formula, it

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread aparsloe
On 23/06/2015 8:38 p.m., Guenter Milde wrote: On 2015-06-21, Georg Baum wrote: Guenter Milde wrote: On 2015-06-19, Scott Kostyshak wrote: We have all of the information/patches needed to resolve the following ticket: http://www.lyx.org/trac/ticket/2342 What should we export for plain text for

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread Guenter Milde
On 2015-06-21, Georg Baum wrote: Guenter Milde wrote: On 2015-06-19, Scott Kostyshak wrote: We have all of the information/patches needed to resolve the following ticket: http://www.lyx.org/trac/ticket/2342 What should we export for plain text for math? For example, if we have a math inset

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread ArthoCyrille
I agree that not all formulas are convertible to plain text. I'm not sure which option is best but it seems to me that option (1) is definitely not useful in the case where someone wants to convert simple math (for an abstract or web page) to text. I think we need to implement two or three

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread Guenter Milde
On 2015-06-21, Georg Baum wrote: > Guenter Milde wrote: >> On 2015-06-19, Scott Kostyshak wrote: >>> We have all of the information/patches needed to resolve the following >>> ticket: http://www.lyx.org/trac/ticket/2342 >>> What should we export for plain text for math? For example, if we have a

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: > Le 23/06/2015 02:36, Guillaume M-M a écrit : > >Le 23/06/2015 02:34, Guillaume M-M a écrit : > >>Another segfault in the stable branch involving previews (and master as > >>well). When Instant preview is on and one copies a formula,

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 11:18:56AM +0200, Enrico Forestieri wrote: > On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: > > > > Still there at cd046f0e (master). But here's the trace I get when it crashes > > right at the first Ctrl+C: > > I doubt this has anything to do with the

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread aparsloe
On 23/06/2015 8:38 p.m., Guenter Milde wrote: On 2015-06-21, Georg Baum wrote: Guenter Milde wrote: On 2015-06-19, Scott Kostyshak wrote: We have all of the information/patches needed to resolve the following ticket: http://www.lyx.org/trac/ticket/2342 What should we export for plain text for

Re: test of math previews

2015-06-23 Thread Guillaume M-M
Le 23/06/2015 10:46, Enrico Forestieri a écrit : On Tue, Jun 23, 2015 at 11:18:56AM +0200, Enrico Forestieri wrote: On Tue, Jun 23, 2015 at 02:44:00AM +0100, Guillaume M-M wrote: Still there at cd046f0e (master). But here's the trace I get when it crashes right at the first Ctrl+C: I doubt

Re: test of math previews

2015-06-23 Thread Richard Heck
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 lasserts but on opening the preview is not generated because

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:23:18PM +0100, Guillaume M-M wrote: > Le 23/06/2015 10:46, Enrico Forestieri a écrit : > > > >Indeed, this has to do with the general problem of copying macros and > >how the various structures are carried on when copying. > > OK for the fact that this is not a

Re: test of math previews

2015-06-23 Thread Enrico Forestieri
On Tue, Jun 23, 2015 at 02:23:18PM +0100, Guillaume M-M wrote: > Le 23/06/2015 10:46, Enrico Forestieri a écrit : > > > >Indeed, this has to do with the general problem of copying macros and > >how the various structures are carried on when copying. > > OK for the fact that this is not a

Re: Tables in 2.1.3 & arXiv.org pdf

2015-06-23 Thread Michael Manthey
Dear LyX'ers - My preceding post left out usable details - apologies. Here they are: The Table problem occurs in the Label text of the Table (deleting the label and text removes the error): ''Paragraph ended before \NR@agettitle was complete ...standard notation.}{\footnotesize \par}} I

Re: test of math previews

2015-06-23 Thread Georg Baum
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 MacroData::xlmname() > is called so that it contains bogus values.

Re: What should $\delta$ be exported as for plain text?

2015-06-23 Thread Georg Baum
Guenter Milde wrote: > On 2015-06-21, Georg Baum wrote: > >> If the user entered \delta in a math formula, then this is a small >> mathematical delta. If he rather needs a text greek delta, he should >> use δ U+03b4 in the first place. > > This is not as straightforward: we need to be

Re: test of math previews

2015-06-23 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: What should $\delta$ be exported as for plain text?

2015-06-23 Thread ArthoCyrille
I agree that not all formulas are convertible to plain text. I'm not sure which option is best but it seems to me that option (1) is definitely not useful in the case where someone wants to convert simple math (for an abstract or web page) to text. I think we need to implement two or three