]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/eqs-within-sections.module
DocBook: new logic to handle the new lines, only used in output_docbook for now.
[lyx.git] / lib / layouts / eqs-within-sections.module
index 5536f90454cd68bc10228b50a944a82e80dd52d8..f1c408e7f2faf8752c5ee877bca188985bad3c65 100644 (file)
@@ -1,13 +1,20 @@
 #\DeclareLyXModule{Number Equations by Section}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #Resets the equation number at section start and prepends
 #the section number to the equation number, as in '(2.1)'.
 #DescriptionEnd
 
-Format 26
+Format 82
 
 Requires amsmath
 
 AddToPreamble
        \numberwithin{equation}{section}
 EndPreamble
+
+Counter equation
+       GuiName Equation
+       Within section
+       LabelString "\thesection.\arabic{equation}"
+End