int InsetCaption::ascii(Buffer const * /*buf*/,
ostream & /*os*/, int /*linelen*/) const
{
-#ifdef WITH_WARNINGS
-#warning Implement me!
-#endif
+ // FIX: Implement me!
return 0;
}
-int InsetCaption::docBook(Buffer const * /*buf*/, ostream & /*os*/) const
+int InsetCaption::docbook(Buffer const * buf, ostream & os) const
{
-#ifdef WITH_WARNINGS
-#warning Implement me!
-#endif
- return 0;
+ int ret;
+ os << "<title>";
+ ret = InsetText::docbook(buf, os);
+ os << "</title>\n";
+ return ret;
}