From f9c7781121f5eab231a6baf2c15bbabcae967769 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 12 Oct 2004 08:44:38 +0000 Subject: [PATCH] update tex2lyx file format git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9085 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/ChangeLog | 6 ++++++ src/tex2lyx/preamble.C | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/tex2lyx/ChangeLog b/src/tex2lyx/ChangeLog index 3fe8c29170..a788fdcad8 100644 --- a/src/tex2lyx/ChangeLog +++ b/src/tex2lyx/ChangeLog @@ -1,3 +1,9 @@ +2004-10-12 Georg Baum + + * 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 * preamble.C (end_preamble): change file format from 235 to 236 diff --git a/src/tex2lyx/preamble.C b/src/tex2lyx/preamble.C index 29b3ffe0bc..c9b4011e19 100644 --- a/src/tex2lyx/preamble.C +++ b/src/tex2lyx/preamble.C @@ -70,10 +70,10 @@ string h_paperfontsize = "default"; string h_spacing = "single"; string h_papersize = "default"; string h_paperpackage = "none"; -string h_use_geometry = "0"; +string h_use_geometry = "false"; string h_use_amsmath = "0"; string h_cite_engine = "basic"; -string h_use_bibtopic = "0"; +string h_use_bibtopic = "false"; string h_paperorientation = "portrait"; string h_secnumdepth = "3"; string h_tocdepth = "3"; @@ -84,7 +84,7 @@ string h_quotes_times = "2"; string h_papercolumns = "1"; string h_papersides = string(); string h_paperpagestyle = "default"; -string h_tracking_changes = "0"; +string h_tracking_changes = "false"; void handle_opt(vector & 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*/) { os << "#LyX file created by tex2lyx 0.1.2\n" - << "\\lyxformat 236\n" + << "\\lyxformat 237\n" << "\\begin_document\n" << "\\begin_header\n" << "\\textclass " << h_textclass << "\n" -- 2.39.5