mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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
This commit is contained in:
parent
c04225fdf1
commit
c7db12d1ac
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
@ -97,6 +97,6 @@ int InsetLabel::linuxdoc(Buffer const *, ostream & os) const
|
||||
|
||||
int InsetLabel::docbook(Buffer const *, ostream & os) const
|
||||
{
|
||||
os << "<anchor id=\"" << getContents() << "\" ></anchor>";
|
||||
os << "<anchor id=\"" << getContents() << "\">";
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user