X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fendnotes.module;h=64d8b057b48880fdf79f3e2a463692b8bf8e6867;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=f9f0467227519eb5c2bb4fe1b55e30b27ba8c5ef;hpb=b5af05b4a75a792b17dbe4f1d75b7f1a6918699c;p=lyx.git diff --git a/lib/layouts/endnotes.module b/lib/layouts/endnotes.module index f9f0467227..64d8b057b4 100644 --- a/lib/layouts/endnotes.module +++ b/lib/layouts/endnotes.module @@ -1,13 +1,18 @@ -#\DeclareLyXModule[endnotes.sty]{Endnotes} +#\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 TeX-code 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 72 +Format 98 Counter endnotes + GuiName Endnotes PrettyFormat "Endnote ##" End @@ -23,4 +28,20 @@ InsetLayout Flex:Endnote 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