Increase tex2lyx output format to 293.

289:     Use new syntax for index inset
290-291: Nothing to do (empty lyx2lyx conversion)
292:     Nothing to do, tex2lyx does not know japanese yet
293:     Nothing to do (empty lyx2lyx conversion)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36929 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2010-12-17 21:41:15 +00:00
parent 86f320f6e0
commit 1d03cfa8c0
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ extern CommandMap known_math_environments;
/// ///
extern bool noweb_mode; extern bool noweb_mode;
/// LyX format that is created by tex2lyx /// LyX format that is created by tex2lyx
int const LYX_FORMAT = 288; int const LYX_FORMAT = 293;
/// path of the master .tex file /// path of the master .tex file
extern std::string getMasterFilePath(); extern std::string getMasterFilePath();

View File

@ -2123,9 +2123,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
else if (t.cs() == "index") { else if (t.cs() == "index") {
context.check_layout(os); context.check_layout(os);
begin_command_inset(os, "index", "index"); begin_inset(os, "Index\n");
// LyX cannot handle newlines in a latex command os << "status collapsed\n";
os << "name " << '"' << subst(p.verbatim_item(), "\n", " ") << '"' << "\n"; parse_text_in_inset(p, os, FLAG_ITEM, false, context);
end_inset(os); end_inset(os);
} }