X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fendnotes.module;h=533c64938e834cdaeaebed6e36d35a48ae1bbc8f;hb=55870df5c7765fe3dc03f58a8c996fc97829a1d4;hp=ce87de3fda5e4dedb9aa4b57c8a55ea8a2af2f81;hpb=c0d04eea687cb18b96fb6608e3d6fd9b97988fb8;p=features.git diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module index ce87de3fda..533c64938e 100644 --- a/lib/layouts/endnotes.module +++ b/lib/layouts/endnotes.module @@ -1,19 +1,47 @@ -#\DeclareLyXModule[endnotes.sty]{Endnote} +#\DeclareLyXModule[endnotes.sty]{Endnotes (Basic)} +#\DeclareCategory{Foot- and Endnotes} #DescriptionBegin -#Adds an endnote command, 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 7 +Format 95 -InsetLayout Custom:Endnote - LyXType custom - LatexName endnote - LatexType command - Decoration classic +Counter endnotes + GuiName Endnotes + PrettyFormat "Endnote ##" +End + +InsetLayout Flex:Endnote + LyXType custom + LatexName endnote + LatexType command + Counter endnotes + Decoration classic Font - Size Small + Size Small EndFont - 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