From c7db12d1acf83fb5191fab908e0153fa752f4530 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Wed, 3 Apr 2002 17:44:05 +0000 Subject: [PATCH] docbook: 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 --- src/insets/ChangeLog | 6 ++++++ src/insets/insetfoot.C | 10 ++++++++++ src/insets/insetfoot.h | 2 ++ src/insets/insetlabel.C | 2 +- 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index d14e4eb5bf..d6ceb93948 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,9 @@ +2002-04-03 José Matos + + * insetlabel.C (docbook): the anchor is an empty element in docbook. + + * insetfoot.[Ch] (docbook): added forgotten method. + 2002-04-03 Juergen Vigna * insettext.C (insetButtonPress): fix insetButtonPress events the same diff --git a/src/insets/insetfoot.C b/src/insets/insetfoot.C index 35e441c279..cf1576383b 100644 --- a/src/insets/insetfoot.C +++ b/src/insets/insetfoot.C @@ -65,3 +65,13 @@ int InsetFoot::latex(Buffer const * buf, return i + 2; } + + +int InsetFoot::docbook(Buffer const * buf, ostream & os) const +{ + os << ""; + int const i = inset.docbook(buf, os); + os << ""; + + return i; +} diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 8c8895d62a..e20155a777 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -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; }; diff --git a/src/insets/insetlabel.C b/src/insets/insetlabel.C index 9c61eb763f..64c77d8a90 100644 --- a/src/insets/insetlabel.C +++ b/src/insets/insetlabel.C @@ -97,6 +97,6 @@ int InsetLabel::linuxdoc(Buffer const *, ostream & os) const int InsetLabel::docbook(Buffer const *, ostream & os) const { - os << ""; + os << ""; return 0; } -- 2.39.2