mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
451e926b84
commit
22452958f9
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user