]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/endnotes.module
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / endnotes.module
index dd3a77c4dc54ca9128ffdec0143de562a7100fce..a7f6dbe3d734075f8f623c57768995830f77b558 100644 (file)
@@ -9,9 +9,10 @@
 #DescriptionEnd
 #Excludes: enotez | foottoenotez
 
-Format 80
+Format 82
 
 Counter endnotes
+       GuiName Endnotes
     PrettyFormat "Endnote ##"
 End
 
@@ -27,6 +28,12 @@ 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