]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/foottoend.module
Correct version number
[lyx.git] / lib / layouts / foottoend.module
index c7752244314a0690dcbcbe08c1ce1c161fb049bc..2d29f5f7970133b9df92cdc9563135ed62d76cb4 100644 (file)
@@ -1,9 +1,35 @@
-#\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]{Footnotes as Endnotes (Basic)}
+#\DeclareCategory{Foot- and Endnotes}
+#DescriptionBegin
+#Sets all footnotes as endnotes. This uses the endnotes
+#package, which has some limitations but works with older LaTeX distributions
+#as well. You will need to add an endnotes list
+#(Insert > List/Contents/References > Endnotes) where you
+#want the endnotes to appear.
+#DescriptionEnd
+#Excludes: enotez | foottoenotez
 
-Format 6
+Format 82
 
-Requires       endnotes
 
-Preamble
-  \let\footnote=\endnote
-EndPreamble
+InsetLayout Foot
+   LabelString     Endnote
+   LatexName       endnote
+   Requires        endnotes
+   LangPreamble
+     \providecommand{\notesname}{_(Notes)}
+   EndLangPreamble
+   BabelPreamble
+     \addto\captions$$lang{\renewcommand{\notesname}{_(Notes)}}
+   EndBabelPreamble
+End
+
+# We are only interested in the list
+Float
+   Type          endnote
+   ListName      "Endnotes"
+   IsPredefined  true
+   UsesFloatPkg  false
+   ListCommand   theendnotes
+   Requires      endnotes
+End