+void InsetNote::addToToc(Buffer const & buf,
+ ParConstIterator const & cpit) const
+{
+ ParConstIterator pit = cpit;
+ pit.push_back(*this);
+
+ Toc & toc = buf.tocBackend().toc("note");
+ docstring str;
+ str = notetranslator_loc().find(params_.type) + from_ascii(": ")
+ + getNewLabel(str);
+ toc.push_back(TocItem(pit, 0, str));
+}
+
+