-#\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 inset, in addition to footnotes. You will need to add
+#\theendnotes in TeX-code where you want the endnotes to appear.
+#DescriptionEnd
-Format 6
+Format 42
-InsetLayout Custom:Endnote
+InsetLayout Flex:Endnote
LyXType custom
LatexName endnote
LatexType command
Font
Size Small
EndFont
+ MultiPar true
LabelString endnote
Requires endnotes
End