Increase tex2lyx output format to 413 (LyX 2.0.x).

411: Added \language_package preamble parameter
412: Nothing to do (empty lyx2lyx conversion)
413: Added \html_css_as_file preamble parameter


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39924 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2011-10-22 19:27:46 +00:00
parent 436a0c13a5
commit f7cfdc48a5
3 changed files with 7 additions and 1 deletions

View File

@ -99,4 +99,6 @@ Format LaTeX feature LyX feature
405 author hash \author
407 vertical offset for multirows InsetTabular
409 XeTeX \use_non_tex_fonts
411 babel etc. \language_package
412 tabular* InsetTabular

View File

@ -168,6 +168,7 @@ string h_textclass = "article";
string h_use_default_options = "false";
string h_options;
string h_language = "english";
string h_language_package = "default";
string h_font_roman = "default";
string h_font_sans = "default";
string h_font_typewriter = "default";
@ -220,6 +221,7 @@ string h_listings_params;
string h_tracking_changes = "false";
string h_output_changes = "false";
string h_html_math_output = "0";
string h_html_css_as_file = "0";
string h_html_be_strict = "false";
string h_margins;
@ -690,6 +692,7 @@ void end_preamble(ostream & os, TextClass const & /*textclass*/)
os << "\\use_default_options " << h_use_default_options << "\n"
<< modules_placeholder
<< "\\language " << h_language << "\n"
<< "\\language_package " << h_language_package << "\n"
<< "\\inputencoding " << h_inputencoding << "\n"
<< "\\font_roman " << h_font_roman << "\n"
<< "\\font_sans " << h_font_sans << "\n"
@ -758,6 +761,7 @@ void end_preamble(ostream & os, TextClass const & /*textclass*/)
os << "\\tracking_changes " << h_tracking_changes << "\n"
<< "\\output_changes " << h_output_changes << "\n"
<< "\\html_math_output " << h_html_math_output << "\n"
<< "\\html_css_as_file " << h_html_css_as_file << "\n"
<< "\\html_be_strict " << h_html_be_strict << "\n"
<< "\\end_header\n\n"
<< "\\begin_body\n";

View File

@ -166,7 +166,7 @@ extern bool noweb_mode;
/// Did we recognize any pdflatex-only construct?
extern bool pdflatex;
/// LyX format that is created by tex2lyx
int const LYX_FORMAT = 410;
int const LYX_FORMAT = 413;
/// path of the master .tex file
extern std::string getMasterFilePath();