Re: Searching ERT

2001-11-26 Thread Ben Stanley
I have just succeeded at placing an error inset in front of an ERT containing an undefined glossary entry... Success! Now, I'll investigate that line numbering problem... I don't suppose there is an LXR on LyX cvs? or an easy way to extract patches? Ben.

Re: Searching ERT

2001-11-26 Thread Ben Stanley
Dekel Tsur wrote: >Why do you bother with the latex font property ? >It is not supported in 1.2.0 (only ERT insets). > Yes, I know... I'm writing for 1.1.6fix3. I already have code for InsetERT - that was much easier to write! But I can't test the InsetERT version without moving to cvs HEAD, wh

Re: Searching ERT

2001-11-26 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Mon, Nov 26, 2001 at 03:42:37PM +0100, Jean-Marc Lasgouttes Dekel> wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Please try with and without math stuff. I wouldn't be surprised Andre> if there was a di

Re: Searching ERT

2001-11-26 Thread Dekel Tsur
On Tue, Nov 27, 2001 at 12:58:39AM +1100, Ben Stanley wrote: > Jean-Marc Lasgouttes wrote: > > >Ben> I saw something about ERT being stored within the paragraph, but > >Ben> in a special 'ERT' font. Is there any way that I could easily > >Ben> enumerate all instances of ERT within a paragraph? >

Re: Searching ERT

2001-11-26 Thread Dekel Tsur
On Mon, Nov 26, 2001 at 03:42:37PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > Andre> Please try with and without math stuff. I wouldn't be surprised > Andre> if there was a difference. > > I did some light testing, and it appears that the tab

Re: Searching ERT

2001-11-26 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Mon, Nov 26, 2001 at 10:25:59PM +1100, Ben Stanley wrote: >> BTW, I am convinced that there is a bug in the code which maintains >> .tex line number <-> LyX paragraph / pos representation. My errors >> often come out miles away

Re: Searching ERT

2001-11-26 Thread Ben Stanley
Jean-Marc Lasgouttes wrote: >Ben> I saw something about ERT being stored within the paragraph, but >Ben> in a special 'ERT' font. Is there any way that I could easily >Ben> enumerate all instances of ERT within a paragraph? > >No. That's probably a reason why the old erts were bad. > I'm going to

Re: Searching ERT

2001-11-26 Thread Andre Poenitz
On Mon, Nov 26, 2001 at 10:25:59PM +1100, Ben Stanley wrote: > BTW, I am convinced that there is a bug in the code which maintains .tex > line number <-> LyX paragraph / pos representation. My errors often come > out miles away from where they should have been. I will conduct some > tests on th

Re: Searching ERT

2001-11-26 Thread Jean-Marc Lasgouttes
> "Ben" == Ben Stanley <[EMAIL PROTECTED]> writes: Ben> BTW, I am convinced that there is a bug in the code which Ben> maintains .tex line number <-> LyX paragraph / pos Ben> representation. My errors often come out miles away from where Ben> they should have been. I will conduct some tests o

Re: Searching ERT

2001-11-26 Thread Ben Stanley
Jean-Marc Lasgouttes wrote: >>"Ben" == Ben Stanley <[EMAIL PROTECTED]> writes: >> > >Ben> However, I now need to be able to search for identifiers in ERT. >Ben> I tried searching for InsetERT objects, but these don't seem to >Ben> be used to store the ERT in 1.1.6. I want to be able to la

Re: Searching ERT

2001-11-26 Thread Jean-Marc Lasgouttes
> "Ben" == Ben Stanley <[EMAIL PROTECTED]> writes: Ben> Hi, I have been doing some work on improved error handling for Ben> lyx-1.1.6fix3. (I started with that version because I need to Ben> work with a stable LyX. I take it upon myself to port to 1.2 Ben> later.) Ben> I can successfully lab