Add some space, move a comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32261 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-30 22:49:37 +00:00
parent 6adbf95f61
commit 8b382928e2

View File

@ -931,12 +931,6 @@ docstring InsetBibtex::xhtml(XHTMLStream & xs, OutputParams const &) const
// We now have a sorted, unique list of the keys used in this document. // We now have a sorted, unique list of the keys used in this document.
// We will now convert it to a list of the BibTeXInfo objects used in // We will now convert it to a list of the BibTeXInfo objects used in
// this document... // this document...
// FIXME XHTML
// We need to do something here about cross-references, if we
// want to be able to display them AS cross-references. Probably the
// easiest thing to do is to loop over the list again and add whatever
// cross-references we find, then sort and unique it, planning just to
// add the cross-references to the bibliography.
vector<BibTeXInfo const *> binfo; vector<BibTeXInfo const *> binfo;
vector<docstring>::const_iterator cit = citekeys.begin(); vector<docstring>::const_iterator cit = citekeys.begin();
vector<docstring>::const_iterator const cen = citekeys.end(); vector<docstring>::const_iterator const cen = citekeys.end();
@ -969,11 +963,11 @@ docstring InsetBibtex::xhtml(XHTMLStream & xs, OutputParams const &) const
if (label.empty()) if (label.empty())
label = bip->key(); label = bip->key();
xs << StartTag("span", "class='biblabel'"); xs << StartTag("span", "class='biblabel'");
xs << "[" << label << "]"; xs << "[" << label << "] ";
xs << EndTag("span"); xs << EndTag("span");
// FIXME Right now, we are calling BibInfo::getInfo on the key, // FIXME Right now, we are calling BibInfo::getInfo on the key,
// which will give us all the cross-referenced info. But for every // which will give us all the cross-referenced info. But for every
// entry. // entry, so there's a lot of repitition. This should be fixed.
xs << StartTag("span", "class='bibinfo'"); xs << StartTag("span", "class='bibinfo'");
xs << bi.getInfo(bip->key()); xs << bi.getInfo(bip->key());
xs << EndTag("span"); xs << EndTag("span");