X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fendnotes.module;h=e24b43fe3f119ba70474f29f92f092bc94f71438;hb=e9e8069b170ef3128402bc6e6f657339da1760a2;hp=342879bf2a21448254a6571c08d1eba3295fac55;hpb=e392cff392dc8bd76ac9e05809b09510432702c3;p=lyx.git diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module index 342879bf2a..e24b43fe3f 100644 --- a/lib/layouts/endnotes.module +++ b/lib/layouts/endnotes.module @@ -1,20 +1,46 @@ -#\DeclareLyXModule[endnotes.sty]{Endnote} +#\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 ERT 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 26 +Format 80 -InsetLayout Custom:Endnote - LyXType custom - LatexName endnote - LatexType command - Decoration classic +Counter endnotes + PrettyFormat "Endnote ##" +End + +InsetLayout Flex:Endnote + LyXType custom + LatexName endnote + LatexType command + Counter endnotes + Decoration classic Font - Size Small + Size Small EndFont - MultiPar true - LabelString endnote - Requires endnotes + 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