X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.cpp;h=256b0d858bf9d79cb5c1e10baf31de24276bbb55;hb=780d9a5f4cc553797ec95e49300cf06325ff1341;hp=a1190e0618ccd5b5d1ed4f456a9fe74209a8e0e8;hpb=62af7ee772f16f154225d2d0b65d77f4376b6001;p=lyx.git diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index a1190e0618..256b0d858b 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -880,7 +880,7 @@ void LaTeXFeatures::useFloat(string const & name, bool subfloat) require("float"); if (!fl.required().empty()) { vector reqs = getVectorFromString(fl.required()); - for (auto const req : reqs) + for (auto const & req : reqs) require(req); } } @@ -1150,7 +1150,6 @@ char const * simplefeatures[] = { "todonotes", "forest", "varwidth", - "tablefootnote", "afterpage", "tabularx", "tikz", @@ -1159,7 +1158,8 @@ char const * simplefeatures[] = { "xskak", "pict2e", "drs", - "environ" + "environ", + "dsfont" }; char const * bibliofeatures[] = { @@ -1396,6 +1396,9 @@ string const LaTeXFeatures::getPackages() const packages << "\\usepackage{rotating}\n"; if (mustProvide("rotfloat")) packages << "\\usepackage{rotfloat}\n"; + // and this must be loaded after rotating + if (mustProvide("tablefootnote")) + packages << "\\usepackage{tablefootnote}\n"; // lyxskak.sty --- newer chess support based on skak.sty if (mustProvide("chess"))