]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/endnotes.module
Honor trailing spaces in LabelString and friends
[lyx.git] / lib / layouts / endnotes.module
index de8e01c60a81dfee03e737897510d90dfdd00699..f83e6dd148ff1f20295ae611b3930a8ae86f0c14 100644 (file)
@@ -1,17 +1,25 @@
-#\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]{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 5
+Format 64
 
-InsetLayout Custom:Endnote
-   LyXType     custom
-   LatexName   endnote
-   LatexType   command
-   Decoration classic
+Counter 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
 End