From 5bc66b5f4564633d1c87fb6b00e0700d5aa1bca2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 17 Apr 2020 09:12:51 +0200 Subject: [PATCH] Fix tablefootnote loading order (#11841) --- src/LaTeXFeatures.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 0216182f27..6f6988b4c0 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -1150,7 +1150,6 @@ char const * simplefeatures[] = { "todonotes", "forest", "varwidth", - "tablefootnote", "afterpage", "tabularx", "tikz", @@ -1396,6 +1395,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"))