the following patch fixes the crash when using lyxlayout "bibliography" but scanning for a bibtex-entry.
Herbert -- http://www.lyx.org/help/
Index: src/frontends/controllers/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ChangeLog,v retrieving revision 1.140 diff -u -r1.140 ChangeLog --- src/frontends/controllers/ChangeLog 2002/02/27 09:59:50 1.140 +++ src/frontends/controllers/ChangeLog 2002/03/05 17:33:57 @@ -1,3 +1,8 @@ +2002-02-21 Herbert Voss <[EMAIL PROTECTED]> + + * biblio.C: (getInfo) fix bug with bibentry from lyx + paragraphlayout "bibliography" + 2002-02-20 Angus Leeming <[EMAIL PROTECTED]> * ControlForks.[Ch]: new files. A controller for the Forked Child Index: src/frontends/controllers/biblio.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v retrieving revision 1.15 diff -u -r1.15 biblio.C --- src/frontends/controllers/biblio.C 2002/02/26 10:50:47 1.15 +++ src/frontends/controllers/biblio.C 2002/03/05 17:33:58 @@ -242,7 +242,10 @@ lyx::Assert(!map.empty()); InfoMap::const_iterator it = map.find(key); - if (it == map.end()) return string(); + if (it == map.end()) + return string(); + if (!contains(it->second,'=')) // a bibtex entry or one from + return it->second.c_str(); // lyx-layout "bibliography"?? // Search for all possible "required" keys string author = parseBibTeX(it->second, "author");