]> git.lyx.org Git - features.git/blobdiff - lib/layouts/foottoend.module
Update layout formats
[features.git] / lib / layouts / foottoend.module
index c6199c073796f03950daf19ed004aefcc23858ce..1c53c737bd2968815b455e0a15ad71a12c60a3c5 100644 (file)
@@ -1,9 +1,26 @@
-#\DeclareLyXModule{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]{Footnotes as Endnotes}
+#\DeclareCategory{Foot- and Endnotes}
+#DescriptionBegin
+#Sets all footnotes as endnotes. You will need to add an
+#endnotes list (Insert > List/Contents/References > Endnotes) where you
+#want the endnotes to appear.
+#DescriptionEnd
 
-Format 6
+Format 80
 
-Requires       endnotes
 
-Preamble
-  \let\footnote=\endnote
-EndPreamble
+InsetLayout Foot
+       LabelString     Endnote
+       LatexName       endnote
+       Requires        endnotes
+End
+
+# We are only interested in the list
+Float
+   Type          endnote
+   ListName      "Endnotes"
+   IsPredefined  true
+   UsesFloatPkg  false
+   ListCommand   theendnotes
+   Requires      endnotes
+End