The BibTeX bibliography only includes BibTeX entries.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32296 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-03 19:54:12 +00:00
parent 451e926b84
commit 22452958f9
2 changed files with 3 additions and 1 deletions

View File

@ -92,6 +92,8 @@ public:
docstring const & key() const { return bib_key_; }
///
docstring entryType() const { return entry_type_; }
///
bool isBibTeX() const { return is_bibtex_; }
private:
/// like operator[], except, if the field is empty, it will attempt
/// to get the data from xref BibTeXInfo object, which would normally

View File

@ -939,7 +939,7 @@ docstring InsetBibtex::xhtml(XHTMLStream & xs, OutputParams const &) const
BiblioInfo const & bi = buffer().masterBibInfo();
for (; cit != cen; ++cit) {
BiblioInfo::const_iterator const bt = bi.find(*cit);
if (bt == bi.end())
if (bt == bi.end() || !bt->second.isBibTeX())
continue;
binfo.push_back(&(bt->second));
}