]> git.lyx.org Git - lyx.git/blob - lib/layouts/endnotes.module
e24b43fe3f119ba70474f29f92f092bc94f71438
[lyx.git] / lib / layouts / endnotes.module
1 #\DeclareLyXModule[endnotes.sty]{Endnotes (Basic)}
2 #\DeclareCategory{Foot- and Endnotes}
3 #DescriptionBegin
4 #Adds an endnote inset, in addition to footnotes. This uses the endnotes
5 #package, which has some limitations but works with older LaTeX distributions
6 #as well. You will need to add an endnotes list
7 #(Insert > List/Contents/References > Endnotes) where you
8 #want the endnotes to appear.
9 #DescriptionEnd
10 #Excludes: enotez | foottoenotez
11
12 Format 80
13
14 Counter endnotes
15     PrettyFormat "Endnote ##"
16 End
17
18 InsetLayout Flex:Endnote
19    LyXType     custom
20    LatexName   endnote
21    LatexType   command
22    Counter     endnotes
23    Decoration  classic
24    Font
25      Size Small
26    EndFont
27    MultiPar    true
28    LabelString endnote
29    Requires    endnotes
30    LangPreamble
31      \providecommand{\notesname}{_(Notes[[Endnotes]])}
32    EndLangPreamble
33    BabelPreamble
34      \addto\captions$$lang{\renewcommand{\notesname}{_(Notes[[Endnotes]])}}
35    EndBabelPreamble
36 End
37
38 # We are only interested in the list
39 Float
40    Type          endnote
41    ListName      "Endnotes"
42    IsPredefined  true
43    UsesFloatPkg  false
44    ListCommand   theendnotes
45    Requires      endnotes
46 End