]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-proof-std.inc
Fix bug #11410.
[lyx.git] / lib / layouts / theorems-proof-std.inc
index 3ad2d1b8f2cf62b5981bbd36a6470662b35a898a..4398fb77749490f2c66ce51123aa732952ff99e2 100644 (file)
@@ -1,27 +1,24 @@
-# Moved here by rgheck. Original author cloudy.
+# Moved here by rikiheck. Original author cloudy.
 
-Format 21
+Format 97
 
 #This is just a hacked version of the AMS proof environment
 Style Proof
        Preamble
-               \ifx\proof\undefined\
+               \ifx\proof\undefined
                \newenvironment{proof}[1][\protect\proofname]{\par
                        \normalfont\topsep6\p@\@plus6\p@\relax
                        \trivlist
                        \itemindent\parindent
-                       \item[\hskip\labelsep
-                                       \scshape
-#1]\ignorespaces
-}{%
+                       \item[\hskip\labelsep\scshape #1]\ignorespaces
+               }{%
                        \endtrivlist\@endpefalse
-}
+               }
+               \providecommand{\proofname}{Proof}
                \fi
        EndPreamble
-       LangPreamble
-               \providecommand{\proofname}{_(Proof)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
-       EndBabelPreamble
+       EndLabelType          No_Label
+# No LangPreamble or BabelPreamble, since babel knows \proofname already.
+       DocBookTag            para
+       DocBookAttr           role='proof'
 End