commit 5bc66b5f4564633d1c87fb6b00e0700d5aa1bca2
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Apr 17 09:12:51 2020 +0200
Fix tablefootnote loading order (#11841)
---
src/LaTeXFeatures.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 0216182..6f6988b 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"))
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs