#include "Buffer.h"
#include "BufferParams.h"
#include "Counters.h"
-#include "support/gettext.h"
#include "Layout.h"
// FIXME: the following is needed just to get the layout of the enclosing
// paragraph. This seems a bit too much to me (JMarc)
#include "support/debug.h"
#include "support/docstream.h"
+#include "support/gettext.h"
#include "support/lstrings.h"
using namespace std;
docstring str;
str = custom_label_ + ": " + getNewLabel(str);
toc.push_back(TocItem(pit, 0, str));
+ // Proceed with the rest of the inset.
+ InsetFootlike::addToToc(cpit);
}