#include <config.h>
#include "insetfoot.h"
+
#include "gettext.h"
-#include "lyxfont.h"
-#include "BufferView.h"
#include "latexrunparams.h"
-#include "lyxtext.h"
-#include "insets/insettext.h"
-#include "support/LOstream.h"
-#include "debug.h"
// the following are needed just to get the layout of the enclosing
// paragraph. This seems a bit too much to me (JMarc)
#include "lyxlayout.h"
+#include "paragraph.h"
#include "paragraph_funcs.h"
+#include "support/std_ostream.h"
-using std::ostream;
+
+using std::string;
using std::auto_ptr;
+using std::ostream;
InsetFoot::InsetFoot(BufferParams const & bp)