-/** The .tex to .lyx converter
- \author André Pönitz (2003)
+/**
+ * \file preamble.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
*/
// {[(
#include <vector>
#include <map>
-using std::cerr;
-using std::endl;
-using std::getline;
-using std::istream;
using std::istringstream;
using std::ostream;
using std::ostringstream;
void end_preamble(ostream & os, LyXTextClass const & /*textclass*/)
{
- os << "# tex2lyx 0.0.3 created this file\n"
- << "\\lyxformat 224\n"
+ os << "#LyX file created by tex2lyx 0.1.2 \n"
+ << "\\lyxformat 225\n"
<< "\\textclass " << h_textclass << "\n"
<< "\\begin_preamble\n" << h_preamble.str() << "\n\\end_preamble\n";
if (h_options.size())
<< "\\papersides " << h_papersides << "\n"
<< "\\paperpagestyle " << h_paperpagestyle << "\n"
<< "\\tracking_changes " << h_tracking_changes << "\n"
- << "\\end_header\n\n\\layout Standard\n";
+ << "\\end_header\n";
}
-
} // anonymous namespace
LyXTextClass const parse_preamble(Parser & p, ostream & os)