Fixed the output of label, that is an empty element.
output footnotes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3893
a592a061-630c-0410-9148-
cb99ea01b6c8
+2002-04-03 José Matos <jamatos@fep.up.pt>
+
+ * insetlabel.C (docbook): the anchor is an empty element in docbook.
+
+ * insetfoot.[Ch] (docbook): added forgotten method.
+
2002-04-03 Juergen Vigna <jug@sad.it>
* insettext.C (insetButtonPress): fix insetButtonPress events the same
return i + 2;
}
+
+
+int InsetFoot::docbook(Buffer const * buf, ostream & os) const
+{
+ os << "<footnote>";
+ int const i = inset.docbook(buf, os);
+ os << "</footnote>";
+
+ return i;
+}
///
int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
///
+ int docbook(Buffer const *, std::ostream &) const;
+ ///
string const editMessage() const;
};
int InsetLabel::docbook(Buffer const *, ostream & os) const
{
- os << "<anchor id=\"" << getContents() << "\" ></anchor>";
+ os << "<anchor id=\"" << getContents() << "\">";
return 0;
}