]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/endnotes.module
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / endnotes.module
index 8be7e4b2859270865e450910ff8bc06cb48367fa..a7f6dbe3d734075f8f623c57768995830f77b558 100644 (file)
@@ -1,13 +1,18 @@
-#\DeclareLyXModule[endnotes.sty]{Endnotes}
+#\DeclareLyXModule[endnotes.sty]{Endnotes (Basic)}
 #\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. 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 74
+Format 82
 
 Counter endnotes
+       GuiName Endnotes
     PrettyFormat "Endnote ##"
 End
 
@@ -23,4 +28,20 @@ InsetLayout Flex:Endnote
    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