]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
ctests: fix/update CJK tests.
[lyx.git] / src / LaTeXFeatures.cpp
index 5f83283460ddd320ffaa095e5db42d52660c3957..875bbe2394d342dae6b74861ef3dbd774a51603a 100644 (file)
@@ -959,6 +959,7 @@ char const * simplefeatures[] = {
        "framed",
        "soul",
        "textcomp",
+       "dingbat",
        "pmboxdraw",
        "bbding",
        "ifsym",
@@ -971,7 +972,6 @@ char const * simplefeatures[] = {
        // "cancel",
        "ascii",
        "url",
-       "covington",
        "csquotes",
        "enumitem",
        "endnotes",
@@ -996,11 +996,12 @@ char const * simplefeatures[] = {
        "todonotes",
        "forest",
        "varwidth",
-       "footnote",
        "tablefootnote",
        "afterpage",
        "tabularx",
-       "xltabular"
+       "xltabular",
+       "chessboard",
+       "xskak"
 };
 
 char const * bibliofeatures[] = {
@@ -1123,6 +1124,13 @@ string const LaTeXFeatures::getPackages() const
        // The rest of these packages are somewhat more complicated
        // than those above.
 
+       if (mustProvide("footnote")) {
+               if (isRequired("hyperref"))
+                       packages << "\\usepackage{footnotehyper}\n";
+               else
+                       packages << "\\usepackage{footnote}\n";
+       }
+
        // [pdf]lscape is used to rotate longtables
        if (mustProvide("lscape")) {
                if (runparams_.flavor == OutputParams::LATEX