]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
DocBook: implement title for layouts that previously missed it.
[lyx.git] / lib / layouts / theorems-sec.module
index 7fb0b436b50a08eb2112ec958f1715bf486b28bd..a1c6c06c391fcd655ab9c9ccb006cb2a05e24a04 100644 (file)
@@ -1,15 +1,18 @@
-#\DeclareLyXModule{Theorems (By Section)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
+#\DeclareCategory{Maths}
 #DescriptionBegin
-#Numbers theorems and the like by section.
+#Numbers theorems and the like by section (i.e., the counter is reset at
+#each section start).
 #DescriptionEnd
 #Requires: theorems-std | theorems-ams
 #Excludes: theorems-chap
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 14
+Format 85
 
 Counter theorem
+       GuiName Theorem
        Within         section
 End
 
@@ -18,10 +21,4 @@ Style Theorem
                \theoremstyle{plain}
                \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
-       LangPreamble
-               \providecommand{\theoremname}{_(Theorem)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
-       EndBabelPreamble
 End