Fix tablefootnote loading order (#11841)

This commit is contained in:
Juergen Spitzmueller 2020-04-17 09:12:51 +02:00
parent 86a4c79dc4
commit 5bc66b5f45

View File

@ -1150,7 +1150,6 @@ char const * simplefeatures[] = {
"todonotes", "todonotes",
"forest", "forest",
"varwidth", "varwidth",
"tablefootnote",
"afterpage", "afterpage",
"tabularx", "tabularx",
"tikz", "tikz",
@ -1396,6 +1395,9 @@ string const LaTeXFeatures::getPackages() const
packages << "\\usepackage{rotating}\n"; packages << "\\usepackage{rotating}\n";
if (mustProvide("rotfloat")) if (mustProvide("rotfloat"))
packages << "\\usepackage{rotfloat}\n"; 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 // lyxskak.sty --- newer chess support based on skak.sty
if (mustProvide("chess")) if (mustProvide("chess"))