Jean-Marc Lasgouttes wrote: > I still have problems with the attached bib file, and I cannot see why > (the entry is truncated). > > JMarc > > > ------------------------------------------------------------------------ > > @Proceedings{AlfMun:1, > title = {Queuing Models for Polled Multiqueues}, > year = 1975, > key = {Real-time Software Design, Queuing Models, Poll > Schedulers, response Time}, > organization = {Austin}, > month = nov > } >
it's a minibug in biblio.C [getInfo]. An Author entry was the default, but your hasn't any. attached a small fix. 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.121 diff -u -r1.121 ChangeLog --- src/frontends/controllers/ChangeLog 2002/01/19 21:51:54 1.121 +++ src/frontends/controllers/ChangeLog 2002/01/19 22:32:29 @@ -1,5 +1,9 @@ 2002-01-19 Herbert Voss <[EMAIL PROTECTED]> + * biblio.C (getInfo): fix bug when no author is given + +2002-01-19 Herbert Voss <[EMAIL PROTECTED]> + * biblio.C (parseBibTeX): change the parsing, so that '#'-characters in a bibtex entry are no more a problem. Index: src/frontends/controllers/biblio.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v retrieving revision 1.12 diff -u -r1.12 biblio.C --- src/frontends/controllers/biblio.C 2002/01/19 21:51:54 1.12 +++ src/frontends/controllers/biblio.C 2002/01/19 22:32:29 @@ -266,9 +266,10 @@ media = parseBibTeX(it->second, "institution"); ostringstream result; - result << author; + if (!author.empty()) + result << author << ", "; if (!title.empty()) - result << ", " << title; + result title; if (!booktitle.empty()) result << ", in " << booktitle; if (!chapter.empty())