]> git.lyx.org Git - features.git/blobdiff - lib/layouts/endnotes.module
Update layout formats
[features.git] / lib / layouts / endnotes.module
index 151862285378d33910993dbb788e2cd60c5d3c05..e5ad7a25749af052b17af060065d641eea037c1c 100644 (file)
@@ -1,20 +1,37 @@
-#\DeclareLyXModule[endnotes.sty]{Endnote}
+#\DeclareLyXModule[endnotes.sty]{Endnotes}
+#\DeclareCategory{Foot- and Endnotes}
 #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.
+#Adds an endnote inset, in addition to footnotes. You will need to add an
+#endnotes list (Insert > List/Contents/References > Endnotes) where you
+#want the endnotes to appear.
 #DescriptionEnd
 
-Format 36
+Format 80
+
+Counter endnotes
+    PrettyFormat "Endnote ##"
+End
 
 InsetLayout Flex:Endnote
-   LyXType     custom
-   LatexName   endnote
-   LatexType   command
-   Decoration classic
+   LyXType     custom
+   LatexName   endnote
+   LatexType   command
+   Counter     endnotes
+   Decoration  classic
    Font
-     Size      Small
+     Size Small
    EndFont
-   MultiPar true
-   LabelString endnote
-   Requires    endnotes
+   MultiPar    true
+   LabelString 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