[patch] bug 6503: Including self as child document crashes branch

2010-02-02 Thread Jürgen Spitzmüller
http://www.lyx.org/trac/ticket/6503 This crash is caused by an infinite loop in Encodings::initMath, which recursively calls itself if a document includes itself (we already issue a warning about that, but in the given case, LyX crashes before the warning can be issued). The fix is obviously t

Re: XML?

2010-02-02 Thread Pavel Sanda
Guenter Milde wrote: > This is why I would greatly welcome improved support for external > editing of the lyx source: > > * open file of current buffer in a configurable application, > reload buffer once this application is closed. i feel this is task for only very advanced users and we shouldn

Re: XML?

2010-02-02 Thread Steve Litt
On Tuesday 02 February 2010 05:49:35 Tommaso Cucinotta wrote: > Guenter Milde wrote: > > This is why I would greatly welcome improved support for external > > editing of the lyx source: > > > > * open a lyx file in LyX and jump to a specified place/line, so that I > > can easily go to `grep` resu

Re: r33318 - lyx-devel/trunk/src

2010-02-02 Thread Tommaso Cucinotta
Vincent van Ravesteijn wrote: tomm...@lyx.org schreef: Author: tommaso Date: Tue Feb 2 21:36:12 2010 New Revision: 33318 URL: http://www.lyx.org/trac/changeset/33318 Hi Tommaso, Yet again, I don't really understand your fix. my fault, I left it in the cryptic format in which I verified it

Re: r33318 - lyx-devel/trunk/src

2010-02-02 Thread Vincent van Ravesteijn
tomm...@lyx.org schreef: Author: tommaso Date: Tue Feb 2 21:36:12 2010 New Revision: 33318 URL: http://www.lyx.org/trac/changeset/33318 Hi Tommaso, Yet again, I don't really understand your fix. // Compute the match length int len = 1; + if (cur.pos() + len > cur.lastpos

Re: #6498: Regex looks like math.

2010-02-02 Thread Tommaso Cucinotta
Is it ok to add a ColorCode for a regexp frame like this ? (what are all these strings ?) Index: src/ColorCode.h === --- src/ColorCode.h(revisione 33318) +++ src/ColorCode.h(copia locale) @@ -196,6 +196,8 @@ /// Color i

Re: Editing equations as latex rather than graphically.

2010-02-02 Thread Jean-Marc Lasgouttes
Le 2 févr. 10 à 19:57, Tommaso Cucinotta a écrit : It might (just might) be for different use-case scenarios: if you have those very long, specially formatted equations, which you want to keep into their separate files (perhaps also for avoiding to modify them by mistake -- or because they'r

Re: Editing equations as latex rather than graphically.

2010-02-02 Thread Tommaso Cucinotta
Jean-Marc Lasgouttes wrote: As far as I understand, the main point is to have the preview, right? Since this does not use the file conversion stuff from insetexternal, I'd prefer indeed to have InsetPreview (or preview of ert) for these kind of uses. I am not sure we want to advertise many way

Re: r33258 - in lyx-devel/trunk/src: . frontends frontends/qt4

2010-02-02 Thread Peter Kümmel
Andre Poenitz wrote: > On Tue, Feb 02, 2010 at 02:53:58PM +0100, Peter Kümmel wrote: >> Am Sonntag, den 31.01.2010, 14:29 +0100 schrieb Andre Poenitz: How do we proceed now ? >>> I think it's time to use signal/slots, this time in the right direction. >>> The buffer emits a message, possibly w

Re: r33258 - in lyx-devel/trunk/src: . frontends frontends/qt4

2010-02-02 Thread Andre Poenitz
On Tue, Feb 02, 2010 at 02:53:58PM +0100, Peter Kümmel wrote: > Am Sonntag, den 31.01.2010, 14:29 +0100 schrieb Andre Poenitz: > > > How do we proceed now ? > > > > I think it's time to use signal/slots, this time in the right direction. > > The buffer emits a message, possibly with an indication

Re: XML?

2010-02-02 Thread Tommaso Cucinotta
Guenter Milde wrote: such use-case scenario would become much less likely to happen with Advanced Search, wouldn't it be ? Prabably. I am not (yet) familiar with the power and usage of the new interface. So I cannot tell whether it will be able to do regexp replacements in math, say. cur

Re: XML?

2010-02-02 Thread Guenter Milde
On 2010-02-02, Tommaso Cucinotta wrote: > Guenter Milde wrote: >> This is why I would greatly welcome improved support for external >> editing of the lyx source: >> * open a lyx file in LyX and jump to a specified place/line, so that I >> can easily go to `grep` results or the place I have been

Re: r33258 - in lyx-devel/trunk/src: . frontends frontends/qt4

2010-02-02 Thread Peter Kümmel
Am Sonntag, den 31.01.2010, 14:29 +0100 schrieb Andre Poenitz: > > How do we proceed now ? > > I think it's time to use signal/slots, this time in the right direction. > The buffer emits a message, possibly with an indication that it is > temporarily and the view (or the server...) connects to it.

Re: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread Liviu Andronic
On 2/2/10, 0 wrote: > I am a LyX user and still would appreciate any help on my problem. > Exporting LyX/LaTeX to .doc/.odt/.rtf and the like can be problematic. You can search the wiki and the archives for various experiences. Liviu

RE:

2010-02-02 Thread 0
Export doesn't work - still empty output. I don't have RTF exporter, and I am afraid RTF can't export math... This is the main thing I am going to use LyX for - to make math documents and to send them to other people who should be able to edit the formulas.

Re: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread 0
The 1st email you could have received came to you only,while I wanted it come to the lists. Then, my answer came to two lists (developers and users) three times because that server was slow to display them at the mailing lists' archives - I thought it failed to receive them and made further atte

RE: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread Vincent van Ravesteijn - TNW
> Yes, dvi and pdf work fine for me. But I want OpenDocument because > I'm sending the file to another person and want him to be able to edit the file. I know, but don't send your answer SEVEN times ?!? Vincent

Re: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread 0
Yes, dvi and pdf work fine for me. But I want OpenDocument because I'm sending the file to another person and want him to be able to edit the file. From: Vincent van Ravesteijn - TNW To: 0 ; lyx-devel@lists.lyx.org; lyx-us...@lists.lyx.org Sent: Tue, February

Re: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread 0
I want to send [examples/splash.lyx] to Bob. Bob hasn't LyX. And I would like Bob to be able to edit this document. - Original Message From: Vincent van Ravesteijn - TNW To: 0 ; lyx-devel@lists.lyx.org; lyx-us...@lists.lyx.org Sent: Tue, February 2, 2010 8:02:15 PM Subject: RE: "View

RE: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread 0
I want to send [examples/splash.lyx] to Bob. Bob hasn't LyX. And I would like Bob to be able to edit this document. --- On Tue, 2/2/10, Vincent van Ravesteijn - TNW wrote: > From: Vincent van Ravesteijn - TNW > Subject: RE: "View - OpenDocument" command produces empty output - help! > To: the

RE: "View - OpenDocument" command produces empty output - help!

2010-02-02 Thread Vincent van Ravesteijn - TNW
>[examples/splash.lyx] is the document which automatically opens when user >runs LyX first time after installation. The problem is that the "View - >OpenDocument" command produces empty output for me. Please help! Don't use OpenDocument. Use dvi or pdf to preview. Vincent

"View - OpenDocument" command produces empty output - help!

2010-02-02 Thread 0
[examples/splash.lyx] is the document which automatically opens when user runs LyX first time after installation. The problem is that the "View - OpenDocument" command produces empty output for me. Please help! OS: Windows XP LyX: 1.6.5

Re: XML?

2010-02-02 Thread Tommaso Cucinotta
Guenter Milde wrote: This is why I would greatly welcome improved support for external editing of the lyx source: * open a lyx file in LyX and jump to a specified place/line, so that I can easily go to `grep` results or the place I have been editing in my valued text editor. such use-case

Re: XML?

2010-02-02 Thread Guenter Milde
On 2010-02-01, Steve Litt wrote: > On Monday 01 February 2010 05:24:30 Vincent van Ravesteijn - TNW wrote: >> >OK, I guess my question is this: If LyX were using >> >LuaTex, what would my LyX document look like in Vim? >> I'd rather make sure you won't need vim anymore :). > That's not gonna wor

Re: Goals for alpha 1

2010-02-02 Thread Guenter Milde
On 2010-02-01, José Matos wrote: > On Friday 29 January 2010 22:38:05 Peter Kümmel wrote: > So I propose to rename it to 0.19 because we have always evolved and > never had any real revolution. We had the transition to Unicode but missed it (version number wise). > LyX 1.6.x is a different beast

RE: Editing equations as latex rather than graphically.

2010-02-02 Thread Vincent van Ravesteijn - TNW
>I heard Vincent has an upcoming InsetPreview feature which I don't exactly >know how would relate to this, perhaps both things may be worth to exist. > Well, everything inside this Inset will get previewed. So if you put your equation into an ert into this inset it will generate a preview of the

Re: Editing equations as latex rather than graphically.

2010-02-02 Thread Jean-Marc Lasgouttes
Le 2 févr. 10 à 02:38, Tommaso Cucinotta a écrit : This may be useful, for example, in case of mixed latex/lyx fans working at a paper, or for importing maths written previously in LaTeX keeping the original formatting/comments in a separate file. I heard Vincent has an upcoming InsetPreview