Jürgen Spitzmüller wrote:
Jean-Marc Lasgouttes wrote:
Just wait a bit. Juergen, I thought we were no supposed to load child
documents just for the pleasure of displaying bibkeys. I seem to
remember fixes in this area some time ago. Do you remember?
Yes. The child documents should not be loaded for this IIRC. If they are
loaded, then the code is broken.
Well, the call to load is the very first line:
void InsetInclude::fillWithBibKeys(Buffer const & buffer,
std::vector<std::pair<string, docstring> > & keys) const
{
if (loadIfNeeded(buffer, params_)) {
This code dates from 2003 (rev 7797) so it was always loaded. What is
different is that we now always pass through LyXView to load a LyX file
while previously the file were only loaded in the background.
So I maintain that this is the right fix.
Abdel.