>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote: >>>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> + 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? Georg> Only once. addExternalPreamble() ensures that: If the argument Georg> is already there, then it is not added again. Nice. I guess this should be renamed to something else, if it is not only for external inset. JMarc