Re: [patch 13x]: reLyX natbib citations try 2

2003-02-11 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Fixes the mess in syntax.default. -- Angus This one does not look right: +\citealt[][{} Once this is fixed, you can apply it to 1.3.x. JMarc

Re: [patch 13x]: reLyX natbib citations try 2

2003-02-11 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Fixes the mess in syntax.default. -- Angus This one does not look right: +\citealt[][{} Once this is fixed, you can apply it to 1.3.x. JMarc What would I do without you? ;-) -- Angus

Re: [patch 13x]: reLyX natbib citations try 2

2003-02-11 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus What would I do without you? ;-) Apply patches faster :) JMarc

Re: [patch 13x]: reLyX && natbib citations try 2

2003-02-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Fixes the mess in syntax.default. -- Angus This one does not look right: +\citealt[][{} Once this is fixed, you can apply it to 1.3.x. JMarc

Re: [patch 13x]: reLyX && natbib citations try 2

2003-02-11 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Fixes the mess in syntax.default. -- Angus > > This one does not look right: > +\citealt[][{} > > Once this is fixed, you can apply it to 1.3.x. > > JMarc What would I do without you? ;-) --

Re: [patch 13x]: reLyX && natbib citations try 2

2003-02-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> What would I do without you? ;-) Apply patches faster :) JMarc

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Jean-Marc Lasgouttes
this part: +% Natbib citations can usually have two optional args, but LyX currently +% supports only one. +\citet[]{} +\Citet[]{} +\citet*[]{} +\Citet*[]{} +%\citet[][]{} +%\Citet[][]{} +%\citet*[][]{} +%\Citet*[][]{} + +\citealt[][]{} +\Citealt[][]{} +\citealt*[][]{} +\Citealt*[][]{} +%\citealt

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Angus Leeming
as LyX's. I do not understand this part: +% Natbib citations can usually have two optional args, but LyX currently +% supports only one. +\citet[]{} +%\citet[][]{} + +\citealt[][]{} +%\citealt[][{} In the first group, you comment out the versions with two [] groups

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 03:54:16PM +, Angus Leeming wrote: Yes it has. I simply copied existing code. I also do not propose to fix that as my aim is to improve the LyX-LaTeX-LyX round trip, not to be able to import arbitrary TeX. If you want that, talk to André about tex2lyx. As you

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: What if I have \usepackage{amsmath, natbib}? My reading of the regexp suggests that it will not work. To be fair, it seems that all the preamble reading code has this flaw, isn't it? Angus Yes it has. I simply copied existing code. I also do

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread John Levon
On Mon, Feb 10, 2003 at 04:59:08PM +0100, Andre Poenitz wrote: Could anybody please set up the Make machinery for a new directory src/tex2lyx and a binary target tex2lyx somewhere? I suppose you don't mean something as simple as this Index: config/configure.ac

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Angus Leeming
Andre Poenitz wrote: On Mon, Feb 10, 2003 at 03:54:16PM +, Angus Leeming wrote: Yes it has. I simply copied existing code. I also do not propose to fix that as my aim is to improve the LyX-LaTeX-LyX round trip, not to be able to import arbitrary TeX. If you want that, talk to André about

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 04:08:40PM +, John Levon wrote: Could anybody please set up the Make machinery for a new directory src/tex2lyx and a binary target tex2lyx somewhere? I suppose you don't mean something as simple as this I think I mean something as simple as that. Simplicity

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 04:08:40PM +, John Levon wrote: I suppose you don't mean something as simple as this I think I mean it. Works well. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

[patch 13x]: reLyX natbib citations try 2

2003-02-10 Thread Angus Leeming
polski keymap, useful for entering Polish on a QWERTY keyboard +- enable reLyX to handle natbib citations + ** Bug fixes - fix bug where opening the tabular dialog would mark the document as @@ -41,4 +43,4 @@ What's new - fix strerror() build problem with some gcc/glibc versions [bug #874

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Jean-Marc Lasgouttes
exactly the Angus> same as LyX's. I do not understand this part: +% Natbib citations can usually have two optional args, but LyX currently +% supports only one. +\citet[]{} +\Citet[]{} +\citet*[]{} +\Citet*[]{} +%\citet[][]{} +%\Citet[][]{} +%\citet*[][]{} +%\Citet*[][]{} + +\citealt[][]{}

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Angus Leeming
gus> with. The reLyX support for this package is now exactly > the Angus> same as LyX's. > > I do not understand this part: > > +% Natbib citations can usually have two optional args, but LyX > currently +% supports only one. > +\citet[]{} > +%\citet[][]{} > + >

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 03:54:16PM +, Angus Leeming wrote: > Yes it has. I simply copied existing code. I also do not propose to > fix that as my aim is to improve the LyX->LaTeX->LyX round trip, not > to be able to import arbitrary TeX. If you want that, talk to André > about tex2lyx. As

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> What if I have \usepackage{amsmath, natbib}? My reading of the >> regexp suggests that it will not work. To be fair, it seems that >> all the preamble reading code has this flaw, isn't it? Angus> Yes it has. I simply copied existing

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread John Levon
On Mon, Feb 10, 2003 at 04:59:08PM +0100, Andre Poenitz wrote: > Could anybody please set up the Make machinery for a new directory > src/tex2lyx and a binary target tex2lyx somewhere? I suppose you don't mean something as simple as this Index: config/configure.ac

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Angus Leeming
Andre Poenitz wrote: > On Mon, Feb 10, 2003 at 03:54:16PM +, Angus Leeming wrote: >> Yes it has. I simply copied existing code. I also do not propose to >> fix that as my aim is to improve the LyX->LaTeX->LyX round trip, >> not to be able to import arbitrary TeX. If you want that, talk to >>

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 04:08:40PM +, John Levon wrote: > > Could anybody please set up the Make machinery for a new directory > > src/tex2lyx and a binary target tex2lyx somewhere? > > I suppose you don't mean something as simple as this I think I mean something as simple as that.

Re: [patch 1.3.x] enable reLyX to handle natbib citations

2003-02-10 Thread Andre Poenitz
On Mon, Feb 10, 2003 at 04:08:40PM +, John Levon wrote: > I suppose you don't mean something as simple as this I think I mean it. Works well. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

[patch 13x]: reLyX && natbib citations try 2

2003-02-10 Thread Angus Leeming
"polski" keymap, useful for entering Polish on a QWERTY keyboard +- enable reLyX to handle natbib citations + ** Bug fixes - fix bug where opening the tabular dialog would mark the document as @@ -41,4 +43,4 @@ What's new - fix strerror() build problem with some gcc/glibc versions

[patch 1.3.x] enable reLyX to handle natbib citations

2003-02-07 Thread Angus Leeming
on a QWERTY keyboard +- enable reLyX to handle natbib citations + ** Bug fixes - fix bug where opening the tabular dialog would mark the document as @@ -41,4 +43,4 @@ What's new - fix strerror() build problem with some gcc/glibc versions [bug #874] -lyx2lyx: enable the debug level

[patch 1.3.x] enable reLyX to handle natbib citations

2003-02-07 Thread Angus Leeming
ing Polish on a QWERTY keyboard +- enable reLyX to handle natbib citations + ** Bug fixes - fix bug where opening the tabular dialog would mark the document as @@ -41,4 +43,4 @@ What's new - fix strerror() build problem with some gcc/glibc versions [bug #874] -lyx2lyx: enable the d

Re: natbib citations

2002-04-24 Thread Mike Ressler
On Tue, 23 Apr 2002, Angus Leeming wrote: On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: No problem. As a return favor, could you look at the ProvidesNatbib patch I sent out Friday? The patch itself is trivial, but you might be able to address my question about how ProvidesNatbib 1

Re: natbib citations

2002-04-24 Thread Angus Leeming
On Wednesday 24 April 2002 6:19 pm, Mike Ressler wrote: On Tue, 23 Apr 2002, Angus Leeming wrote: On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: No problem. As a return favor, could you look at the ProvidesNatbib patch I sent out Friday? The patch itself is trivial, but you might

Re: natbib citations

2002-04-24 Thread Mike Ressler
On Tue, 23 Apr 2002, Angus Leeming wrote: > On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: > > No problem. As a return favor, could you look at the ProvidesNatbib patch > > I sent out Friday? The patch itself is trivial, but you might be able to > > address my question about how

Re: natbib citations

2002-04-24 Thread Angus Leeming
On Wednesday 24 April 2002 6:19 pm, Mike Ressler wrote: > On Tue, 23 Apr 2002, Angus Leeming wrote: > > On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: > > > No problem. As a return favor, could you look at the ProvidesNatbib > > > patch I sent out Friday? The patch itself is trivial, but

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Monday 22 April 2002 10:35 am, Angus Leeming wrote: On Tuesday 16 April 2002 10:31 am, Angus Leeming wrote: On Monday 15 April 2002 4:40 pm, Angus Leeming wrote: I think that the screen label part of the patch is fine, although I've modified it to work with numerical natbib citations

Re: natbib citations

2002-04-23 Thread Lars Gullik Bjønnes
it to work with numerical natbib citations and to cache the label. Attached are my re-workings. [snip] I have tested this patch pretty thoroughly myself and have decided that it's only real shortcoming is that it results in VERY slow loading of a buffer. This occurs because we

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Tuesday 23 April 2002 9:19 am, Lars Gullik Bjønnes wrote: Silence is not approval. I want to hear J-M's opinion, since he has look at this case earlier... Fair enough. I just wanted to trigger some response. Jean-Marc, the patch I submitted yesterday contained a bug that lead to the

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: On Mon, 22 Apr 2002, Angus Leeming wrote: On Monday 22 April 2002 11:00 am, Angus Leeming wrote: This might make you happy... If you could test it a little, that'd make me happy too. Had a few minutes to play with it - beautifully

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Monday 22 April 2002 10:35 am, Angus Leeming wrote: > On Tuesday 16 April 2002 10:31 am, Angus Leeming wrote: > > On Monday 15 April 2002 4:40 pm, Angus Leeming wrote: > > > I think that the screen label part of the patch is fine, although I've > > > modified it to

Re: natbib citations

2002-04-23 Thread Lars Gullik Bjønnes
the patch is fine, although I've >> > > modified it to work with numerical natbib citations and to cache the >> > > label. >> > > >> > > Attached are my re-workings. >> > >> > [snip] >> > >> > I have tested this

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Tuesday 23 April 2002 9:19 am, Lars Gullik Bjønnes wrote: > Silence is not approval. > I want to hear J-M's opinion, since he has look at this case > earlier... Fair enough. I just wanted to trigger some response. Jean-Marc, the patch I submitted yesterday contained a bug that lead to the

Re: natbib citations

2002-04-23 Thread Angus Leeming
On Monday 22 April 2002 8:12 pm, Mike Ressler wrote: > On Mon, 22 Apr 2002, Angus Leeming wrote: > > On Monday 22 April 2002 11:00 am, Angus Leeming wrote: > > > This might make you happy... > > > > > > If you could test it a little, that'd make me happy too. > > Had a few minutes to play with it

Re: natbib citations

2002-04-22 Thread Angus Leeming
On Tuesday 16 April 2002 10:31 am, Angus Leeming wrote: On Monday 15 April 2002 4:40 pm, Angus Leeming wrote: I think that the screen label part of the patch is fine, although I've modified it to work with numerical natbib citations and to cache the label. Attached are my re-workings

Re: natbib citations

2002-04-22 Thread Angus Leeming
On Tuesday 16 April 2002 10:31 am, Angus Leeming wrote: > On Monday 15 April 2002 4:40 pm, Angus Leeming wrote: > > I think that the screen label part of the patch is fine, although I've > > modified it to work with numerical natbib citations and to cache the > > label. >

Re: natbib citations

2002-04-16 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I have tested this patch pretty thoroughly myself and have Angus decided that it's only real shortcoming is that it results in Angus VERY slow loading of a buffer. This occurs because we reload Angus Buffer::getBibkeyList from any BibTeX

Re: natbib citations

2002-04-16 Thread Angus Leeming
On Tuesday 16 April 2002 12:58 pm, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I have tested this patch pretty thoroughly myself and have Angus decided that it's only real shortcoming is that it results in Angus VERY slow loading of a buffer. This

Re: natbib citations

2002-04-16 Thread Edwin Leuven
All works very well here, but I'd like some volunteer testers please. No testers, no apply... applied patch but compile breaks down... g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c insetcite.C -MT

Re: natbib citations

2002-04-16 Thread Angus Leeming
On Tuesday 16 April 2002 1:26 pm, Edwin Leuven wrote: All works very well here, but I'd like some volunteer testers please. No testers, no apply... applied patch but compile breaks down... I think that this is saying that Buffer::getBibkeyList() is non-const so a Buffer const * can't

Re: natbib citations

2002-04-16 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus 3. Most importantly, I want to Angus minimise the footprint of any changes I'm making. The current Angus patch affects the citation inset only and either works or Angus doesn't work. That makes sense. Angus Having said all this, I'm happy

Re: natbib citations

2002-04-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I have tested this patch pretty thoroughly myself and have Angus> decided that it's only real shortcoming is that it results in Angus> VERY slow loading of a buffer. This occurs because we reload Angus> Buffer::getBibkeyList from

Re: natbib citations

2002-04-16 Thread Angus Leeming
On Tuesday 16 April 2002 12:58 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I have tested this patch pretty thoroughly myself and have > Angus> decided that it's only real shortcoming is that it results in > Angus> VERY slow loading of a

Re: natbib citations

2002-04-16 Thread Edwin Leuven
> All works very well here, but I'd like some volunteer testers please. No > testers, no apply... applied patch but compile breaks down... g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c insetcite.C -MT

Re: natbib citations

2002-04-16 Thread Angus Leeming
On Tuesday 16 April 2002 1:26 pm, Edwin Leuven wrote: > > All works very well here, but I'd like some volunteer testers please. No > > testers, no apply... > > applied patch but compile breaks down... I think that this is saying that Buffer::getBibkeyList() is non-const so a Buffer const *

Re: natbib citations

2002-04-16 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> 3. Most importantly, I want to Angus> minimise the footprint of any changes I'm making. The current Angus> patch affects the citation inset only and either works or Angus> doesn't work. That makes sense. Angus> Having said all

Re: natbib citations

2002-04-15 Thread Jean-Marc Lasgouttes
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert a diff which - gives wysiwyg natbib labels and standard Herbert behaviour without natbib. - supports the before input Herbert textfield in the gui - fixes another bug with familyName in Herbert biblio.C Herbert, could you post a reduced

Re: natbib citations

2002-04-15 Thread Angus Leeming
On Monday 15 April 2002 4:06 pm, Jean-Marc Lasgouttes wrote: Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert a diff which - gives wysiwyg natbib labels and standard Herbert behaviour without natbib. - supports the before input Herbert textfield in the gui - fixes another bug with

Re: natbib citations

2002-04-15 Thread Angus Leeming
the LyX file format before 1.2. I think that the screen label part of the patch is fine, although I've modified it to work with numerical natbib citations and to cache the label. Attached are my re-workings. Note that, should we decide to add the before/after part, then this will not affect the stuff

Re: natbib citations

2002-04-15 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> a diff which - gives wysiwyg natbib labels and standard Herbert> behaviour without natbib. - supports the "before" input Herbert> textfield in the gui - fixes another bug with familyName in Herbert> biblio.C Herbert, could you

Re: natbib citations

2002-04-15 Thread Angus Leeming
On Monday 15 April 2002 4:06 pm, Jean-Marc Lasgouttes wrote: > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> a diff which - gives wysiwyg natbib labels and standard > Herbert> behaviour without natbib. - supports the "before" input > Herbert> textfield in the gui -

Re: natbib citations

2002-04-15 Thread Angus Leeming
before/after parts. I don't think we should change the LyX file format before 1.2. I think that the screen label part of the patch is fine, although I've modified it to work with numerical natbib citations and to cache the label. Attached are my re-workings. Note that, should we decide to add

natbib citations

2002-04-14 Thread Herbert Voss
a diff which - gives wysiwyg natbib labels and standard behaviour without natbib. - supports the before input textfield in the gui - fixes another bug with familyName in biblio.C the citation-string looks like: \citet[before/endbeforeafter/endafter]{...bibkeys...} switching between

natbib citations

2002-04-14 Thread Herbert Voss
a diff which - gives wysiwyg natbib labels and standard behaviour without natbib. - supports the "before" input textfield in the gui - fixes another bug with familyName in biblio.C the citation-string looks like: \citet[]{...bibkeys...} switching between the different modes and