X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fendnotes.module;h=ef566eac4d2f81724ae81c671537998f6e8ad4f4;hb=42c2a25fb873727d87ce753b3a3ac4e913e36fe0;hp=0828f5f27a147ce5444cf31c9463b56f79675555;hpb=2bb93b6c549e5a059b5e5cc63c7a25398b1c5d6d;p=lyx.git diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module index 0828f5f27a..ef566eac4d 100644 --- a/lib/layouts/endnotes.module +++ b/lib/layouts/endnotes.module @@ -1,20 +1,47 @@ -#\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 8 +Format 99 -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 - 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