]> git.lyx.org Git - features.git/blobdiff - lib/layouts/foottoend.module
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / foottoend.module
index ab28844478ad41647b53a51a7bd029d5297a0cc4..9f701b172551ac5f9561f100418b62cdd443f98f 100644 (file)
@@ -1,18 +1,28 @@
-#\DeclareLyXModule[endnotes.sty]{Footnotes as Endnotes}
+#\DeclareLyXModule[endnotes.sty]{Footnotes as Endnotes (Basic)}
 #\DeclareCategory{Foot- and Endnotes}
 #DescriptionBegin
-#Sets all footnotes as endnotes. You will need to add an
-#endnotes list (Insert > List/Contents/References > Endnotes) where you
+#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 79
+Format 85
 
-Requires       endnotes
 
-AddToPreamble
-  \let\footnote=\endnote
-EndPreamble
+InsetLayout Foot
+   LabelString     Endnote
+   LatexName       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