]> git.lyx.org Git - features.git/blobdiff - src/LaTeXFeatures.cpp
Add support for the sectionbox and tcolorbox packages.
[features.git] / src / LaTeXFeatures.cpp
index d291f668da239afd8cb7dc7f52bfbe5cb11b7bae..2c9c64ca173589a12b5b5da7a2787a97c8ef97db 100644 (file)
@@ -428,6 +428,7 @@ void LaTeXFeatures::require(set<string> const & names)
 void LaTeXFeatures::useLayout(docstring const & layoutname)
 {
        // Some code to avoid loops in dependency definition
+       // FIXME THREAD
        static int level = 0;
        const int maxlevel = 30;
        if (level > maxlevel) {
@@ -740,7 +741,10 @@ char const * simplefeatures[] = {
        "multirow",
        "tfrupee",
        "shapepar",
-       "rsphrase"
+       "rsphrase",
+       "algorithm2e",
+       "sectionbox",
+       "tcolorbox"
 };
 
 char const * bibliofeatures[] = {
@@ -856,8 +860,8 @@ string const LaTeXFeatures::getPackages() const
        // The rest of these packages are somewhat more complicated
        // than those above.
 
-       // The tipa package and its extenstions (tipx, tone) must not
-       // be loaded with non-TeX font, since fontspec includes the
+       // The tipa package and its extensions (tipx, tone) must not
+       // be loaded with non-TeX fonts, since fontspec includes the
        // respective macros
        if (mustProvide("tipa") && !params_.useNonTeXFonts)
                packages << "\\usepackage{tipa}\n";