Jean-Marc, this patch is what I committed to trunk yesterday. I'd like to have it in 1.4 as well. O.K.?
Jürgen
Index: status.14x =================================================================== --- status.14x (Revision 16624) +++ status.14x (Arbeitskopie) @@ -171,6 +171,9 @@ - On Mac OS X, 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 =================================================================== --- src/insets/ChangeLog (Revision 16624) +++ src/insets/ChangeLog (Arbeitskopie) @@ -1,3 +1,8 @@ +2007-01-09 Jürgen Spitzmüller <[EMAIL PROTECTED]> + + * insetcite.C (getNatbibLabels): correct check for updating the + natbib labels cache (we didn't consider the buffer). + 2006-12-29 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * insetcollapsable.C (hasFixedWidth): new virtual method, returns Index: src/insets/insetcite.C =================================================================== --- src/insets/insetcite.C (Revision 16624) +++ src/insets/insetcite.C (Arbeitskopie) @@ -86,7 +86,7 @@ } // build the keylist only if the bibfiles have been changed - if (cached_keys.empty() || bibfileStatus.empty() || changed) { + if (cached_keys[&buffer].empty() || bibfileStatus.empty() || changed) { typedef vector<std::pair<string, string> > InfoType; InfoType bibkeys; buffer.fillWithBibKeys(bibkeys);