Re: NatBib/bibtopic Multiple bibliographies error

2024-06-11 Thread John Robert Hudson
On Thursday, 6 June 2024 18:01:42 BST Jürgen Spitzmüller wrote: > Am Dienstag, dem 04.06.2024 um 12:16 +0100 schrieb John Robert Hudson: > > Sorry, having installed 2.4, I am still getting the error message in > > the LaTeX > > log: > > > > Package natbib Warnin

Re: NatBib/bibtopic Multiple bibliographies error

2024-06-06 Thread Jürgen Spitzmüller
Am Dienstag, dem 04.06.2024 um 12:16 +0100 schrieb John Robert Hudson: > Sorry, having installed 2.4, I am still getting the error message in > the LaTeX > log: > > Package natbib Warning: There were undefined citations. > > Package bibtopic Warning: Please (re)run

NatBib/bibtopic Multiple bibliographies error

2024-06-04 Thread John Robert Hudson
Sorry, having installed 2.4, I am still getting the error message in the LaTeX log: Package natbib Warning: There were undefined citations. Package bibtopic Warning: Please (re)run BibTeX on the file(s): (bibtopic)Vol_25_2.2 (bibtopic)Vol_25_2.3 (bibtopic

Re: ? Natbib/Bibtopic Multiple bibliographies error

2024-02-07 Thread Jürgen Spitzmüller
Am Dienstag, dem 06.02.2024 um 20:31 + schrieb John Robert Hudson: > Using RC~1 and today RC-2 with Multiple bibliographies per section > set, I get > a LyX warning that there are undefined citations in all but the first > section. > Looking at the LaTeX log, I find: >

? Natbib/Bibtopic Multiple bibliographies error

2024-02-06 Thread John Robert Hudson
Using RC~1 and today RC-2 with Multiple bibliographies per section set, I get a LyX warning that there are undefined citations in all but the first section. Looking at the LaTeX log, I find: Package natbib Warning: There were undefined citations. Package bibtopic Warning: Please (re)run BibTeX

Patch to insert entries for APA with NatBIB, Fancy Colored Boxes and Graphic Boxes to Chapter 4: Modules of Additional.lyx

2022-12-23 Thread John Robert Hudson
From 81d11d01d7cac03645fc29cdca34ba762a536fb7 Mon Sep 17 00:00:00 2001 From: John R Hudson Date: Fri, 23 Dec 2022 20:58:43 + Subject: [PATCH] Insert entries for APA with NatBiB, Fancy Colored Boxes and Graphic Boxes to Chapter 4: Modules of Additional.lyx --- lib/doc/Additional.lyx | 582

Re: [LyX/master] Enable optional \cite* arguments in biblatex-natbib

2019-05-13 Thread Jürgen Spitzmüller
t;>> Author: Juergen Spitzmueller > >>> Date: Tue May 7 14:48:39 2019 +0200 > >>> > >>> Enable optional \cite* arguments in biblatex-natbib > >> This is a candidate for stable, Riki. > > Riki? I think this is safe enough for 2.3.3. > > OK then. > Thanks, done. Jürgen > > Riki > > >

Re: [LyX/master] Enable optional \cite* arguments in biblatex-natbib

2019-05-12 Thread Richard Kimberly Heck
gt;>> Enable optional \cite* arguments in biblatex-natbib >> This is a candidate for stable, Riki. > Riki? I think this is safe enough for 2.3.3. OK then. Riki

Re: [LyX/master] Enable optional \cite* arguments in biblatex-natbib

2019-05-12 Thread Jürgen Spitzmüller
Am Dienstag, den 07.05.2019, 14:51 +0200 schrieb Jürgen Spitzmüller: > > commit 6a4199ed233e5a9fe7fa0fbfd0266cd29560951b > > Author: Juergen Spitzmueller > > Date: Tue May 7 14:48:39 2019 +0200 > > > > Enable optional \cite* arguments in biblatex-natbib >

Re: [LyX/master] Enable optional \cite* arguments in biblatex-natbib

2019-05-07 Thread Jürgen Spitzmüller
> commit 6a4199ed233e5a9fe7fa0fbfd0266cd29560951b > Author: Juergen Spitzmueller > Date: Tue May 7 14:48:39 2019 +0200 > > Enable optional \cite* arguments in biblatex-natbib > This is a candidate for stable, Riki. Jürgen > --- > lib/citeengines/biblatex-

Re: [LyX/master] Basic support for natbib & jurabib options

2017-01-15 Thread Scott Kostyshak
uthor: Juergen Spitzmueller <sp...@lyx.org> > > > Date:   Fri Jan 13 18:23:42 2017 +0100 > > > > > > Basic support for natbib & jurabib options > > > > > > This re-uses the options line edit introduced for biblatex. > > &g

Re: [LyX/master] Basic support for natbib & jurabib options

2017-01-15 Thread Jürgen Spitzmüller
Jan 13 18:23:42 2017 +0100 > > > > Basic support for natbib & jurabib options > > > > This re-uses the options line edit introduced for biblatex. > > I believe this commit causes several ctests to fail. A git bisect of > the > ctest "elsarticle_lyx

Re: [LyX/master] Basic support for natbib & jurabib options

2017-01-14 Thread Scott Kostyshak
On Fri, Jan 13, 2017 at 06:24:32PM +0100, Juergen Spitzmueller wrote: > commit fc546b7dcc793a77b44c2f3e3abc780d768a18ed > Author: Juergen Spitzmueller <sp...@lyx.org> > Date: Fri Jan 13 18:23:42 2017 +0100 > > Basic support for natbib & jurabib options > &g

Re: Enabling or disabling natbib/bibtex causes temporary LaTeX errors.

2007-04-24 Thread Richard Heck
: The first time I View DVI after enabling or disabling natbib, I get LaTeX errors. The second time I do a View DVI, the problem goes away. Do other people notice this bug in 1.5.0svn? This bug is easy to work around, but can be worrying if you don't know you can just redo View DVI to fix

Re: Enabling or disabling natbib/bibtex causes temporary LaTeX errors.

2007-04-24 Thread Richard Heck
: > The first time I "View DVI" after enabling or disabling natbib, I get > LaTeX errors. The second time I do a "View DVI", the problem goes > away. > > Do other people notice this bug in 1.5.0svn? This bug is easy to work > around, but can be worrying if you do

Enabling or disabling natbib/bibtex causes temporary LaTeX errors.

2007-04-23 Thread John McCabe-Dansted
The first time I View DVI after enabling or disabling natbib, I get LaTeX errors. The second time I do a View DVI, the problem goes away. Do other people notice this bug in 1.5.0svn? This bug is easy to work around, but can be worrying if you don't know you can just redo View DVI to fix result

Enabling or disabling natbib/bibtex causes temporary LaTeX errors.

2007-04-23 Thread John McCabe-Dansted
The first time I "View DVI" after enabling or disabling natbib, I get LaTeX errors. The second time I do a "View DVI", the problem goes away. Do other people notice this bug in 1.5.0svn? This bug is easy to work around, but can be worrying if you don't know you can just re

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: I found a small glitch in the backport that resulted in LyX not exporting the correct natbib cite commands, but always \cite instead. Trunk is correct in this regard. I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. Maybe you should backport the rest of it? Don't know. The one bug I was aware

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. Yes. Maybe you should backport the rest of it?

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: Don't know. The one bug I was aware of is fixed now, and the fix looks very clear to me. I'm not sure we need the rest of you changes for branch. Your call. I'll keep it in mind, in case there are further problems. I'm testing it rather instensely ATM on a real

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. Maybe you should backport the rest of it? Don't

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: I found a small glitch in the backport that resulted in LyX not exporting the correct natbib cite commands, but always \cite instead. Trunk is correct in this regard. I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > I think Martin's backport was not at fault here. Trunk is correct > because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. > Maybe you should backport the rest of it? Don't know. The one bug I was

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. Yes. Maybe you should backport the rest of it?

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > Don't know. The one bug I was aware of is fixed now, and the fix looks > > very clear to me. I'm not sure we need the rest of you changes for > > branch. > > Your call. I'll keep it in mind, in case there are further problems. I'm testing it rather instensely ATM on

Re: [patch 1.4] small correction to the natbib fix

2007-03-26 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: I think Martin's backport was not at fault here. Trunk is correct because I extended Martin's cite_engine patch. Look at rev 17537 below. Then trunk was buggy as well before that commit. Maybe you should backport the rest of it? Don't

[patch 1.4] small correction to the natbib fix

2007-03-25 Thread Jürgen Spitzmüller
I found a small glitch in the backport that resulted in LyX not exporting the correct natbib cite commands, but always \cite instead. Trunk is correct in this regard. Patch against 1.4svn attached. OK? Jürgen Index: src/insets/insetcite.C

Re: [patch 1.4] small correction to the natbib fix

2007-03-25 Thread Jean-Marc Lasgouttes
Jürgen == Jürgen Spitzmüller [EMAIL PROTECTED] writes: Jürgen I found a small glitch in the backport that resulted in LyX Jürgen not exporting the correct natbib cite commands, but always Jürgen \cite instead. Trunk is correct in this regard. Jürgen Patch against 1.4svn attached. OK? Yes

[patch 1.4] small correction to the natbib fix

2007-03-25 Thread Jürgen Spitzmüller
I found a small glitch in the backport that resulted in LyX not exporting the correct natbib cite commands, but always \cite instead. Trunk is correct in this regard. Patch against 1.4svn attached. OK? Jürgen Index: src/insets/insetcite.C

Re: [patch 1.4] small correction to the natbib fix

2007-03-25 Thread Jean-Marc Lasgouttes
>>>>> "Jürgen" == Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: Jürgen> I found a small glitch in the backport that resulted in LyX Jürgen> not exporting the correct natbib cite commands, but always Jürgen> \cite instead. Trunk is correct in this regard

[Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
or another. Jürgen Martin That would be like the attached... but note that I don't think Martin that is right. I agree that numeric should be handled, but Martin what happens here is that, also when natbib is pre-loaded by Martin the document class, the _user_ is allowed to choose

Re: [Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
happens here is that, also when natbib is pre-loaded by Martin the document class, the _user_ is allowed to choose between Martin numeric and author-year. I don't think that is right. I have no idea on the actual logic, but nevertheless: - biblio::CiteEngine const cite_engine

[Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
hout having a closer look at the patch, my opinion is that > > >> Martin's approach is good (and necessary) in general. However, it > > >> should enclose numerical citations in one way or another. > > >> > > >> Jürgen > > > > Martin> That would be

Re: [Patch] Natbib/egs citation bug fix (Re: Beta next Tuesday?)

2007-03-05 Thread Martin Vermeer
ral. However, it > > > >> should enclose numerical citations in one way or another. > > > >> > > > >> Jürgen > > > > > > Martin> That would be like the attached... but note that I don't think > > > Martin> tha

Re: [patch 1.4] fix update of natbib labels cache

2007-01-09 Thread Jean-Marc Lasgouttes
Jürgen == Jürgen Spitzmüller [EMAIL PROTECTED] writes: Jürgen Jean-Marc, this patch is what I committed to trunk yesterday. Jürgen I'd like to have it in 1.4 as well. O.K.? Yes. JMarc

Re: [patch 1.4] fix update of natbib labels cache

2007-01-09 Thread Jean-Marc Lasgouttes
> "Jürgen" == Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: Jürgen> Jean-Marc, this patch is what I committed to trunk yesterday. Jürgen> I'd like to have it in 1.4 as well. O.K.? Yes. JMarc

[patch 1.4] fix update of natbib labels cache

2007-01-08 Thread Jürgen Spitzmüller
, make sure to view files with the same application as the Finder uses. +- The natbib labels weren't always displayed correctly when opening + a document. This is fixed. + * Build/installation: - Allow autoconf 2.60 and 2.61 for building. Index: src/insets/ChangeLog

[patch 1.4] fix update of natbib labels cache

2007-01-08 Thread Jürgen Spitzmüller
, make sure to view files with the same application as the Finder uses. +- The natbib labels weren't always displayed correctly when opening + a document. This is fixed. + * Build/installation: - Allow autoconf 2.60 and 2.61 for building. Index: src/insets/ChangeLog

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Juergen Spitzmueller
Georg Baum wrote: Here comes the long promised patch as discussed with Jean-Marc and Jürgen. Jürgen, if that is OK with you I'll commit it. Yes, please. Jürgen

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Georg Baum
too. It is in now. I did not change status.14x because this should be conssidered as part of the natbib speedup patch. Georg

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg It is in now. I did not change status.14x because this should Georg be conssidered as part of the natbib speedup patch. Very good. JMarc

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Juergen Spitzmueller
Georg Baum wrote: > Here comes the long promised patch as discussed with Jean-Marc and Jürgen. > Jürgen, if that is OK with you I'll commit it. Yes, please. Jürgen

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Georg Baum
with you I'll commit it. > > And if Jürgen is OK with it, it is OK for 1.4 too. It is in now. I did not change status.14x because this should be conssidered as part of the natbib speedup patch. Georg

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-19 Thread Jean-Marc Lasgouttes
>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> It is in now. I did not change status.14x because this should Georg> be conssidered as part of the natbib speedup patch. Very good. JMarc

[patch] prevent automatic loading of child documents for natbib labels

2006-05-18 Thread Georg Baum
Here comes the long promised patch as discussed with Jean-Marc and Jürgen. Jürgen, if that is OK with you I'll commit it. Georg Log: Prevent automatic opening of child docs because of natbib labels * src/insets/insetinclude.h (updateBibfilesCache): adjust comment

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-18 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Here comes the long promised patch as discussed with Jean-Marc Georg and Jürgen. Jürgen, if that is OK with you I'll commit it. And if Jürgen is OK with it, it is OK for 1.4 too. JMarc

[patch] prevent automatic loading of child documents for natbib labels

2006-05-18 Thread Georg Baum
Here comes the long promised patch as discussed with Jean-Marc and Jürgen. Jürgen, if that is OK with you I'll commit it. Georg Log: Prevent automatic opening of child docs because of natbib labels * src/insets/insetinclude.h (updateBibfilesCache): adjust comment

Re: [patch] prevent automatic loading of child documents for natbib labels

2006-05-18 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Here comes the long promised patch as discussed with Jean-Marc Georg> and Jürgen. Jürgen, if that is OK with you I'll commit it. And if Jürgen is OK with it, it is OK for 1.4 too. JMarc

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | Where else? At the very least the BufferView. I don't understand. I think it's a buffer property. Each buffer has its own bibfiles cache. And if we had (eventually) multiple views of the same buffer, then all views should share the same bibfiles cache. Jürgen

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | | Where else? | | At the very least the BufferView. | | I don't understand. I think it's a buffer property. Each buffer has its own | bibfiles cache. And if we had (eventually) multiple views of the same buffer, |

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: | I don't understand. I think it's a buffer property. Each buffer has its | own bibfiles cache. And if we had (eventually) multiple views of the same | buffer, then all views should share the same bibfiles cache. The cache of bibfiles a buffer property? How? why?

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | Where else? > > At the very least the BufferView. I don't understand. I think it's a buffer property. Each buffer has its own bibfiles cache. And if we had (eventually) multiple views of the same buffer, then all views should share the same bibfiles cache. Jürgen

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | Where else? | > | > At the very least the BufferView. | | I don't understand. I think it's a buffer property. Each buffer has its own | bibfiles cache. And if we had (eventually) multiple views of the same

Re: [patch] bug 2460: unbrake natbib

2006-04-17 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > | I don't understand. I think it's a buffer property. Each buffer has its > | own bibfiles cache. And if we had (eventually) multiple views of the same > | buffer, then all views should share the same bibfiles cache. > > The cache of bibfiles a buffer property? How?

Re: [patch] bug 2460: unbrake natbib

2006-04-16 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Right. And buffer is the wrong place for it. | | Where else? At the very least the BufferView. -- Lgb

Re: [patch] bug 2460: unbrake natbib

2006-04-16 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | > Right. And buffer is the wrong place for it. | | Where else? At the very least the BufferView. -- Lgb

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Bennett Helm wrote: I would say put it in trunk when you think it is tested enough. I've been testing it (on Mac) and find nice speed improvements, with   no apparent problems. Well done! OK, I'll put it in then. Jürgen

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Lars Gullik Bjønnes
| + /// update of natbib labels. | + static std::vectorstd::string bibfilesCache_; | | If don't think that a static cache will work. That means basically that | you have one cache for all buffers. If that is really what you want it | can be achieved more easily by a global cache

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
this.         bibfilesCache_.insert(bibfilesCache_.end(),                               bibfiles.begin(),                               bibfiles.end()); or something. I'll try it. | +       /// a cache for the bibfiles, needed for appropriate | +       /// update of natbib labels. | +       static std

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 10:41 schrieb Juergen Spitzmueller: Lars Gullik Bjønnes wrote: Why is std::copy needed? It was the first solution that came to my mind. std::vector::assign or std::vector::insert should be able to do this. Yes. Right. And buffer is the wrong place for it.

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Georg Baum wrote: After a second thought I believe that a global cache would indeed work. The only difference to a per-buffer cache would be that the files are scanned again if any bibfile, not only a bibfile sued by the buffer has changed. That could lead to unnecessary recreation of the

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 16:08 schrieb Juergen Spitzmueller: Georg Baum wrote: If you are going to do that I would make the cache a static member of InsetBibtex, and provide a static get method for it. Would that work if we have several bibtex insets (i.e. bibtopic)? Depends on how it

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Georg Baum wrote: The current solution is better, but a bit more code. I prefer it too, I only outlined the above because Lars seemed to agree with the global cache. O.K. Note that I wrote the message before you committed the current solution. It spent some hours in a black hole and came

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Bennett Helm wrote: > > I would say put it in trunk when you think it is tested enough. > > I've been testing it (on Mac) and find nice speed improvements, with   > no apparent problems. Well done! OK, I'll put it in then. Jürgen

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Lars Gullik Bjønnes
bibfiles.end()); or something. | > + /// a cache for the bibfiles, needed for appropriate | > + /// update of natbib labels. | > + static std::vector bibfilesCache_; | | If don't think that a static cache will work. That means basically that | you h

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
:assign or std::vector::insert should be able to do this. > >         bibfilesCache_.insert(bibfilesCache_.end(), >                               bibfiles.begin(), >                               bibfiles.end()); > > or something. I'll try it. > | > +       /// a cache for the

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 10:41 schrieb Juergen Spitzmueller: > Lars Gullik Bjønnes wrote: > > Why is std::copy needed? It was the first solution that came to my mind. > > std::vector::assign or std::vector::insert should be able to do this. Yes. > > Right. And buffer is the wrong place for

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Georg Baum wrote: > After a second thought I believe that a global cache would indeed work. > The only difference to a per-buffer cache would be that the files are > scanned again if any bibfile, not only a bibfile sued by the buffer has > changed. That could lead to unnecessary recreation of the

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 16:08 schrieb Juergen Spitzmueller: > Georg Baum wrote: > > If you are going to do that I would make the cache a static member of > > InsetBibtex, and provide a static get method for it. > > Would that work if we have several bibtex insets (i.e. bibtopic)? Depends on

Re: [patch] bug 2460: unbrake natbib

2006-04-15 Thread Juergen Spitzmueller
Georg Baum wrote: > The current solution is better, but a bit more code. I prefer it too, I > only outlined the above because Lars seemed to agree with the global > cache. O.K. > Note that I wrote the message before you committed the current solution. > It spent some hours in a black hole and

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Georg Baum
. StableDocIterator cursor_; StableDocIterator anchor_; + /// a cache for the bibfiles, needed for appropriate + /// update of natbib labels. + static std::vectorstd::string bibfilesCache_; If don't think that a static cache will work. That means basically that you

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Juergen Spitzmueller
Georg Baum wrote: The right approach in general, but I think it needs some tweaking. I'm all fine with your changes. They seem to work well for all cases I'm aware of (the textcases of my fix), consider some things that I have forgotten (especially wrt child documents) and improve the code. I

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Georg Baum
Am Freitag, 14. April 2006 17:28 schrieb Juergen Spitzmueller: I'm all fine with your changes. They seem to work well for all cases I'm aware of (the textcases of my fix), consider some things that I have forgotten (especially wrt child documents) and improve the code. Good to hear that it

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Bennett Helm
On Apr 14, 2006, at 2:31 PM, Georg Baum wrote: Am Freitag, 14. April 2006 17:28 schrieb Juergen Spitzmueller: I'm all fine with your changes. They seem to work well for all cases I'm aware of (the textcases of my fix), consider some things that I have forgotten (especially wrt child

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Georg Baum
cache with all bibfiles in use > + std::vector const Buffer::getBibfilesCache() const; Why don't you return a const reference? The extra Buffer:: qualification will not work with gcc 4.1 and newer. > /// > void getLabelList(std::vector &) const; > > @@ -352,6 +357,9 @

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Juergen Spitzmueller
Georg Baum wrote: > The right approach in general, but I think it needs some tweaking. I'm all fine with your changes. They seem to work well for all cases I'm aware of (the textcases of my fix), consider some things that I have forgotten (especially wrt child documents) and improve the code.

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Georg Baum
Am Freitag, 14. April 2006 17:28 schrieb Juergen Spitzmueller: > I'm all fine with your changes. They seem to work well for all cases I'm aware > of (the textcases of my fix), consider some things that I have forgotten > (especially wrt child documents) and improve the code. Good to hear that

Re: [patch] bug 2460: unbrake natbib

2006-04-14 Thread Bennett Helm
On Apr 14, 2006, at 2:31 PM, Georg Baum wrote: Am Freitag, 14. April 2006 17:28 schrieb Juergen Spitzmueller: I'm all fine with your changes. They seem to work well for all cases I'm aware of (the textcases of my fix), consider some things that I have forgotten (especially wrt child

[patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
After some time of investigation and thanks to two delayed flights I came up with the following solution that fixes the natbib slowness problem for me and makes LyX 1.4 usable again. What it does is: - store the timestamp of any bibfile in the buffer - in insetcite, store the timestamp

Re: [patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: What it does is: - store the timestamp of any bibfile in the buffer - in insetcite, store the timestamp of the files at the time when the bibliographies were scanned for the last time - now only scan the files again if the timestamp of a file has changed or if a

[patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
After some time of investigation and thanks to two delayed flights I came up with the following solution that fixes the natbib slowness problem for me and makes LyX 1.4 usable again. What it does is: - store the timestamp of any bibfile in the buffer - in insetcite, store the timestamp

Re: [patch] bug 2460: unbrake natbib

2006-04-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > What it does is: > - store the timestamp of any bibfile in the buffer > - in insetcite, store the timestamp of the files at the time when the > bibliographies were scanned for the last time > - now only scan the files again if the timestamp of a file has changed or >

Bug in 1.3.4 concerning natbib

2004-03-01 Thread Henrik Edlund
If you enable natbib in the document settings, no \usepackage{natbib} header/preamble is included in the TeX document until you actually insert an citation reference. This causes problems/errors when you have a reference list but yet no references. I think the usepackage should be put

Bug in 1.3.4 concerning natbib

2004-03-01 Thread Henrik Edlund
If you enable natbib in the document settings, no "\usepackage{natbib}" header/preamble is included in the TeX document until you actually insert an citation reference. This causes problems/errors when you have a reference list but yet no references. I think the usepackage sho

Re: [PATCH] 1.3: fix odd natbib behaviour

2003-07-21 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen A small but very annoying bug with natbib/qt: every time a Juergen new entry is added to the selected browser, the style Juergen choice is reset to the first combo item. The fix is to store Juergen the position. This is a backport

Re: [PATCH] 1.3: fix odd natbib behaviour

2003-07-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Juergen Please consider applying. Thanks, Juergen. Feel free to apply it. Thanks, done. Juergen.

Re: [PATCH] 1.3: fix odd natbib behaviour

2003-07-21 Thread Jean-Marc Lasgouttes
>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> A small but very annoying bug with natbib/qt: every time a Juergen> new entry is added to the "selected" browser, the style Juergen> choice is reset to the first com

Re: [PATCH] 1.3: fix odd natbib behaviour

2003-07-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> Please consider applying. Thanks, Juergen. > > Feel free to apply it. Thanks, done. Juergen.

[PATCH] 1.3: fix odd natbib behaviour

2003-07-16 Thread Juergen Spitzmueller
A small but very annoying bug with natbib/qt: every time a new entry is added to the selected browser, the style choice is reset to the first combo item. The fix is to store the position. This is a backport of a fix already in 1.4 Please consider applying. Thanks, Juergen. Index: src/frontends

[PATCH] 1.3: fix odd natbib behaviour

2003-07-16 Thread Juergen Spitzmueller
A small but very annoying bug with natbib/qt: every time a new entry is added to the "selected" browser, the style choice is reset to the first combo item. The fix is to store the position. This is a backport of a fix already in 1.4 Please consider applying. Thanks, Juergen.

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

  1   2   3   4   5   >