-#\DeclareLyXModule{Adds an endnote command, in addition to footnotes. You will need to add \theendnotes in ERT where you want the endnotes to appear.}{Endnote}
+#\DeclareLyXModule[endnotes.sty]{Endnote}
+#DescriptionBegin
+#Adds an endnote command, in addition to footnotes. You will need to add
+#\theendnotes in ERT where you want the endnotes to appear.
+#DescriptionEnd
-Format 6
+Format 7
InsetLayout Custom:Endnote
LyXType custom
Font
Size Small
EndFont
+ MultiPar true
LabelString endnote
Requires endnotes
End