#include "support/lstrings.h"
#include "support/os.h"
#include "support/Package.h"
-#include "support/unicode.h"
#include <fstream>
#include <iostream>
//p.dump();
stringstream ss;
- TextClass textclass = parse_preamble(p, ss, documentclass);
+ TeX2LyXDocClass textclass;
+ parse_preamble(p, ss, documentclass, textclass);
captionlayout = LayoutPtr(Layout::forCaption());
active_environments.push_back("document");