]> git.lyx.org Git - lyx.git/blob - lib/layouts/foottoend.module
Extend endnotes support
[lyx.git] / lib / layouts / foottoend.module
1 #\DeclareLyXModule[endnotes.sty]{Footnotes as Endnotes}
2 #\DeclareCategory{Foot- and Endnotes}
3 #DescriptionBegin
4 #Sets all footnotes as endnotes. You will need to add an
5 #endnotes list (Insert > List/Contents/References > Endnotes) where you
6 #want the endnotes to appear.
7 #DescriptionEnd
8
9 Format 79
10
11 Requires        endnotes
12
13 AddToPreamble
14   \let\footnote=\endnote
15 EndPreamble
16
17 # We are only interested in the list
18 Float
19    Type          endnote
20    ListName      "Endnotes"
21    IsPredefined  true
22    UsesFloatPkg  false
23    ListCommand   theendnotes
24    Requires      endnotes
25 End