X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBibitem.cpp;h=82d81852000f674aca14831f367a23334bdfd8cd;hb=8124e6c02ea1fd6779bb6c47ffe2bca2c8bd2d97;hp=a3cdeac1fc49118e8e27944f134a5154b673fa79;hpb=5d4e6dfb68cfa045e4929fc0b49a89a8f6686ab0;p=lyx.git diff --git a/src/insets/InsetBibitem.cpp b/src/insets/InsetBibitem.cpp index a3cdeac1fc..82d8185200 100644 --- a/src/insets/InsetBibitem.cpp +++ b/src/insets/InsetBibitem.cpp @@ -28,7 +28,6 @@ #include "Language.h" #include "Lexer.h" #include "output_xhtml.h" -#include "OutputParams.h" #include "Paragraph.h" #include "ParagraphList.h" #include "ParIterator.h" @@ -343,6 +342,12 @@ void InsetBibitem::updateBuffer(ParIterator const & it, UpdateType utype, bool c } +void InsetBibitem::docbook(XMLStream &, OutputParams const &) const +{ + // Nothing to do: everything is implemented in makeParagraphBibliography. +} + + docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const { // FIXME XHTML @@ -352,7 +357,7 @@ docstring InsetBibitem::xhtml(XMLStream & xs, OutputParams const &) const // handle jumping to ids. If we don't do that, though, we can just put the // id into the span tag. string const attrs = - "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'"; + "id='LyXCite-" + to_utf8(xml::cleanAttr(getParam("key"))) + "'"; xs << xml::CompTag("a", attrs); xs << xml::StartTag("span", "class='bibitemlabel'"); xs << bibLabel();