#include "Color.h"
#include "Counters.h"
-#include "debug.h"
-#include "gettext.h"
+#include "support/debug.h"
+#include "support/gettext.h"
#include "Floating.h"
#include "FloatList.h"
#include "Layout.h"
using support::subst;
using support::addName;
-#if !defined(TEX2LYX_FONT_H) && !defined(FONT_H)
extern FontInfo lyxRead(Lexer &, FontInfo const & fi = sane_font);
-#endif
+
namespace {
error = !layout2layout(filename, tempfile);
if (!error)
error = read(tempfile, rt);
- support::unlink(tempfile);
+ tempfile.removeFile();
return error;
}