/// Used to insert table of contents and similar lists
+/// at present, supports only \tableofcontents. Other
+/// such commands, such as \listoffigures, are supported
+/// by InsetFloatList.
class InsetTOC : public InsetCommand {
public:
///
///
int docbook(odocstream &, OutputParams const &) const;
///
+ docstring xhtml(XHTMLStream & xs, OutputParams const &) const;
+ ///
static ParamInfo const & findInfo(std::string const &);
///
- static std::string defaultCommand() { return "tableofcontents"; };
+ static std::string defaultCommand() { return "tableofcontents"; }
///
static bool isCompatibleCommand(std::string const & cmd)
{ return cmd == defaultCommand(); }