-#\DeclareLyXModule[endnotes.sty]{Sets all footnotes as endnotes. You will need to add \theendnotes in ERT where you want the endnotes to appear.}{Foot to End}
+#\DeclareLyXModule[endnotes.sty]{Foot to End}
+#DescriptionBegin
+#Sets all footnotes as endnotes. You will need to add \theendnotes
+#in TeX-code where you want the endnotes to appear.
+#DescriptionEnd
-Format 5
+Format 68
-Preamble
- \usepackage{endnotes}
+Requires endnotes
+
+AddToPreamble
\let\footnote=\endnote
EndPreamble