#\DeclareLyXModule{Sets all footnotes as endnotes. You will need to add \theendnotes in ERT where you want the endnotes to appear.}{Foot to End} Format 6 Requires endnotes Preamble \let\footnote=\endnote EndPreamble