>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> This surprisingly simple patch (for 1.4) fixes bug 808
Georg> (footnotes in tables) which has been discussed several times. I
Georg> do not consider this a file format change, since footnotes
Georg> should work even in tables and floats, so I think it is
Georg> suitable for 1.4. I do not know whether/how it interferes with
Georg> workarounds users may have for this problem, therefore I am not
Georg> sure about it. Comments and testing wanted.

+       for (; it != end; ++it) {
+               if (it->lyxCode() == InsetBase::FOOT_CODE) {
+                       features.require("footnote");
+                       features.addExternalPreamble(
+                               "\\makesavenoteenv{" + params_.type + "}\n");

What happens when you have several footnotes in floats? How many times
do you call \makesavenoteenv?

JMarc

Reply via email to