///
extern bool noweb_mode;
/// LyX format that is created by tex2lyx
-int const LYX_FORMAT = 295;
+int const LYX_FORMAT = 296;
/// path of the master .tex file
extern std::string getMasterFilePath();
else if (t.cs() == "input" || t.cs() == "include"
|| t.cs() == "verbatiminput") {
- string name = '\\' + t.cs();
+ string name = t.cs();
if (t.cs() == "verbatiminput"
&& p.next_token().asInput() == "*")
name += p.get_token().asInput();
os << "\ttemplate XFig\n"
<< "\tfilename " << outname << '\n';
} else {
- begin_inset(os, "Include ");
- os << name << '{' << outname
- << "}\npreview false\n";
+ begin_command_inset(os, "include", name);
+ os << "preview false\n"
+ "filename \"" << outname << "\"\n";
}
end_inset(os);
}