]> git.lyx.org Git - features.git/commitdiff
Fix tablefootnote loading order (#11841)
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 17 Apr 2020 07:12:51 +0000 (09:12 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 18 Apr 2020 05:40:45 +0000 (07:40 +0200)
(cherry picked from commit 5bc66b5f4564633d1c87fb6b00e0700d5aa1bca2)

src/LaTeXFeatures.cpp
status.23x

index 7af795d54b43072f07f5c16a86c1415705e9a224..a9ad21ca2c6e028674dfb95189fa677b7e76b879 100644 (file)
@@ -1020,7 +1020,6 @@ char const * simplefeatures[] = {
        "todonotes",
        "forest",
        "varwidth",
-       "tablefootnote",
        "environ"
 };
 
@@ -1250,6 +1249,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"))
index d184ac55d00afba499b1d9faac4d4b2585eaa24c..dd7693e3effde7aae8fb76ac78296d89983f15f5 100644 (file)
@@ -69,6 +69,8 @@ What's new
 
 - Don't open a new instance just because no files are given (bug 11635).
 
+- Fix tablefootnote loading order (bug 11841).
+
 
 * USER INTERFACE