Hi,
        I send the fix attached if you want to try it.
-- 
Jos� Ab�lio
Index: src/insets/insetfoot.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetfoot.C,v
retrieving revision 1.45
diff -u -p -r1.45 insetfoot.C
--- src/insets/insetfoot.C	21 Mar 2002 17:09:48 -0000	1.45
+++ src/insets/insetfoot.C	2 Apr 2002 17:47:13 -0000
@@ -65,3 +65,13 @@ int InsetFoot::latex(Buffer const * buf,
 
 	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;
+}
Index: src/insets/insetfoot.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetfoot.h,v
retrieving revision 1.31
diff -u -p -r1.31 insetfoot.h
--- src/insets/insetfoot.h	21 Mar 2002 17:09:49 -0000	1.31
+++ src/insets/insetfoot.h	2 Apr 2002 17:47:13 -0000
@@ -37,6 +37,8 @@ public:
 	///
 	int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
 	///
+	int docbook(Buffer const *, std::ostream &) const;
+	///
 	string const editMessage() const;
 };
 
Index: src/insets/insetlabel.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetlabel.C,v
retrieving revision 1.43
diff -u -p -r1.43 insetlabel.C
--- src/insets/insetlabel.C	21 Mar 2002 17:09:49 -0000	1.43
+++ src/insets/insetlabel.C	2 Apr 2002 17:47:14 -0000
@@ -97,6 +97,6 @@ int InsetLabel::linuxdoc(Buffer const *,
 
 int InsetLabel::docbook(Buffer const *, ostream & os) const
 {
-	os << "<anchor id=\"" << getContents() << "\" ></anchor>";
+	os << "<anchor id=\"" << getContents() << "\">";
 	return 0;
 }


Reply via email to