update tex2lyx file format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9085 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2004-10-12 08:44:38 +00:00
parent 4e12cfc1fe
commit f9c7781121
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2004-10-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* preamble.C (end_preamble): change file format from 236 to 237
* preamble.C (h_use_geometry, h_use_bibtopic, h_tracking_changes):
change from "0" to "false"
2004-08-29 Georg Baum <Georg.Baum@post.rwth-aachen.de> 2004-08-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* preamble.C (end_preamble): change file format from 235 to 236 * preamble.C (end_preamble): change file format from 235 to 236

View File

@ -70,10 +70,10 @@ string h_paperfontsize = "default";
string h_spacing = "single"; string h_spacing = "single";
string h_papersize = "default"; string h_papersize = "default";
string h_paperpackage = "none"; string h_paperpackage = "none";
string h_use_geometry = "0"; string h_use_geometry = "false";
string h_use_amsmath = "0"; string h_use_amsmath = "0";
string h_cite_engine = "basic"; string h_cite_engine = "basic";
string h_use_bibtopic = "0"; string h_use_bibtopic = "false";
string h_paperorientation = "portrait"; string h_paperorientation = "portrait";
string h_secnumdepth = "3"; string h_secnumdepth = "3";
string h_tocdepth = "3"; string h_tocdepth = "3";
@ -84,7 +84,7 @@ string h_quotes_times = "2";
string h_papercolumns = "1"; string h_papercolumns = "1";
string h_papersides = string(); string h_papersides = string();
string h_paperpagestyle = "default"; string h_paperpagestyle = "default";
string h_tracking_changes = "0"; string h_tracking_changes = "false";
void handle_opt(vector<string> & opts, char const * const * what, string & target) void handle_opt(vector<string> & opts, char const * const * what, string & target)
@ -225,7 +225,7 @@ void handle_package(string const & name, string const & opts)
void end_preamble(ostream & os, LyXTextClass const & /*textclass*/) void end_preamble(ostream & os, LyXTextClass const & /*textclass*/)
{ {
os << "#LyX file created by tex2lyx 0.1.2\n" os << "#LyX file created by tex2lyx 0.1.2\n"
<< "\\lyxformat 236\n" << "\\lyxformat 237\n"
<< "\\begin_document\n" << "\\begin_document\n"
<< "\\begin_header\n" << "\\begin_header\n"
<< "\\textclass " << h_textclass << "\n" << "\\textclass " << h_textclass << "\n"