]> git.lyx.org Git - features.git/commitdiff
Increase tex2lyx output format to 378.
authorGeorg Baum <georg.baum@post.rwth-aachen.de>
Fri, 21 Oct 2011 20:18:49 +0000 (20:18 +0000)
committerGeorg Baum <georg.baum@post.rwth-aachen.de>
Fri, 21 Oct 2011 20:18:49 +0000 (20:18 +0000)
369: Nothing to do (empty lyx2lyx conversion)
370: Nothing to do (empty lyx2lyx conversion)
371: Added \use_mhchem parameter
372: Nothing to do (empty lyx2lyx conversion)
373: Nothing to do (the old version was wrong since it used the new g-brief
     layout files with the old file format)
374: Nothing to do (html output changes)
375: Nothing to do (empty lyx2lyx conversion)
376: Nothing to do (empty lyx2lyx conversion)
377: Nothing to do (empty lyx2lyx conversion)
378: Nothing to do (empty lyx2lyx conversion)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39911 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/TODO.txt
src/tex2lyx/preamble.cpp
src/tex2lyx/tex2lyx.h

index ccfac851ff36a9365ef64e7942d3977e8f02adc1..f3d46de5bac47dca3bb95305e675b0a943b41987 100644 (file)
@@ -71,4 +71,12 @@ Format LaTeX feature                        LyX feature
 366    relative lengths for parskip         \defskip
 367    relative lengths for h and v space   InsetHSpace, InsetVSpace
 368    glue lengths                         InsetHSpace
+369    author id                            \author
+370    \date{}                              \suppress_date
+371    automatic mhchem loading             \use_mhchem
+372    font encoding                        \fontencoding
+375    \includeonly                         \{begin,end}_includeonly
+376    update .aux of unincluded children   \maintain_unincluded_children
+377    multirow.sty                         InsetTabular
+378    revision info                        InsetInfo
 
index de58439643c9ffd2d113de49461c984eecfe3c58..bc42a3d4fbafdc9de060faf0f9247fd5c0f13568 100644 (file)
@@ -198,6 +198,7 @@ string h_papersize               = "default";
 string h_use_geometry            = "false";
 string h_use_amsmath             = "1";
 string h_use_esint               = "1";
+string h_use_mhchem              = "0";
 string h_cite_engine             = "basic";
 string h_use_bibtopic            = "false";
 string h_paperorientation        = "portrait";
@@ -500,6 +501,9 @@ void handle_package(Parser &p, string const & name, string const & opts,
        else if (name == "esint")
                h_use_esint = "2";
 
+       else if (name == "mhchem")
+               h_use_mhchem = "2";
+
        else if (name == "babel" && !opts.empty()) {
                // check if more than one option was used - used later for inputenc
                // in case inputenc is parsed before babel, set the encoding to auto
@@ -719,6 +723,7 @@ void end_preamble(ostream & os, TextClass const & /*textclass*/)
           << "\\use_geometry " << h_use_geometry << "\n"
           << "\\use_amsmath " << h_use_amsmath << "\n"
           << "\\use_esint " << h_use_esint << "\n"
+          << "\\use_mhchem " << h_use_mhchem << "\n"
           << "\\cite_engine " << h_cite_engine << "\n"
           << "\\use_bibtopic " << h_use_bibtopic << "\n"
           << "\\paperorientation " << h_paperorientation << '\n';
index 480e644fb63db278e494f9cbad2abccf45ae162c..3b09e14db4eb1b1fc794345681c313ca65f734d1 100644 (file)
@@ -165,7 +165,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 = 368;
+int const LYX_FORMAT = 378;
 
 /// path of the master .tex file
 extern std::string getMasterFilePath();