]> git.lyx.org Git - features.git/blob - lib/layouts/endnotes.module
Update layouts (run layout2layout.py)
[features.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 95
13
14 Counter endnotes
15         GuiName Endnotes
16     PrettyFormat "Endnote ##"
17 End
18
19 InsetLayout Flex:Endnote
20    LyXType     custom
21    LatexName   endnote
22    LatexType   command
23    Counter     endnotes
24    Decoration  classic
25    Font
26      Size Small
27    EndFont
28    MultiPar    true
29    LabelString endnote
30    Requires    endnotes
31    LangPreamble
32      \providecommand{\notesname}{_(Notes[[Endnotes]])}
33    EndLangPreamble
34    BabelPreamble
35      \addto\captions$$lang{\renewcommand{\notesname}{_(Notes[[Endnotes]])}}
36    EndBabelPreamble
37 End
38
39 # We are only interested in the list
40 Float
41    Type          endnote
42    ListName      "Endnotes"
43    IsPredefined  true
44    UsesFloatPkg  false
45    ListCommand   theendnotes
46    Requires      endnotes
47 End