]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/preamble.C
Removed all redundant using directives from the source.
[lyx.git] / src / tex2lyx / preamble.C
index bdcafa22eb6327c7361daa0d44f23ed99dd8c2a2..777aec4695853857ba32ef7ca280253c63b52537 100644 (file)
@@ -1,5 +1,11 @@
-/** 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;
@@ -135,10 +137,10 @@ void handle_package(string const & name, string const & options)
 
 
 
-void end_preamble(ostream & os, LyXTextClass const & textclass)
+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())
@@ -166,10 +168,9 @@ void end_preamble(ostream & os, LyXTextClass const & textclass)
           << "\\papersides " << h_papersides << "\n"
           << "\\paperpagestyle " << h_paperpagestyle << "\n"
           << "\\tracking_changes " << h_tracking_changes << "\n"
-          << "\\end_header\n\n\\begin_layout Standard\n";
+          << "\\end_header\n";
 }
 
-
 } // anonymous namespace
 
 LyXTextClass const parse_preamble(Parser & p, ostream & os)