]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/endnotes.module
Fix typos in comments
[lyx.git] / lib / layouts / endnotes.module
index 93ee98ed68812608b9c2d63f516ae804143b5fe8..64d8b057b48880fdf79f3e2a463692b8bf8e6867 100644 (file)
@@ -1,16 +1,47 @@
-#\DeclareLyXModule[endnotes.sty]{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]{Endnotes (Basic)}
+#\DeclareCategory{Foot- and Endnotes}
+#DescriptionBegin
+#Adds an endnote inset, in addition to footnotes. 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 5
+Format 98
 
-InsetLayout Custom:Endnote
-   LyXType     custom
-   LatexName   endnote
-   LatexType   command
+Counter endnotes
+       GuiName Endnotes
+    PrettyFormat "Endnote ##"
+End
+
+InsetLayout Flex:Endnote
+   LyXType     custom
+   LatexName   endnote
+   LatexType   command
+   Counter     endnotes
+   Decoration  classic
    Font
-     Size      Small
+     Size Small
    EndFont
-   LabelString endnote
-   Preamble
-     \usepackage{endnotes}
-   EndPreamble
+   MultiPar    true
+   LabelString endnote
+   Requires    endnotes
+   LangPreamble
+     \providecommand{\notesname}{_(Notes[[Endnotes]])}
+   EndLangPreamble
+   BabelPreamble
+     \addto\captions$$lang{\renewcommand{\notesname}{_(Notes[[Endnotes]])}}
+   EndBabelPreamble
+End
+
+# We are only interested in the list
+Float
+   Type          endnote
+   ListName      "Endnotes"
+   IsPredefined  true
+   UsesFloatPkg  false
+   ListCommand   theendnotes
+   Requires      endnotes
 End