]> 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 6494a2c010a0db4d6b4757f67ccce3a324765497..a1c6c06c391fcd655ab9c9ccb006cb2a05e24a04 100644 (file)
@@ -1,17 +1,18 @@
-#\DeclareLyXModule{Theorems (Numbered by Section)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #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
-#Category: theorems
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 19
+Format 85
 
 Counter theorem
+       GuiName Theorem
        Within         section
 End
 
@@ -20,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