>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote: >> Could you provide a 1.4 version so that I take a look? Juergen> attached. Juergen, if seems to me that the following code +void InsetInclude::updateBibfilesCache(Buffer const & buffer) +{ + if (loadIfNeeded(buffer, params_)) { [...] + } +} + +std::vector<string> const & +InsetInclude::getBibfilesCache(Buffer const & buffer) const +{ + if (loadIfNeeded(buffer, params_)) { [...] + } triggers a load of child document everytime the master document is loaded. This is bad, especially since this behaviour depends on whether natbib is used or not. I think this is what triggers Georg observation that the session patch loads child documents twice. We have to clarify this issue for 1.4.2, IMO. JMarc