]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-proof-std.inc
Do not throw away runparams settings of InsetText in InsetFoot::latex
[lyx.git] / lib / layouts / theorems-proof-std.inc
index 1f908a8fe0aaa9cfece9392712cd8e111ecf42be..198fd514f98c7e1c906d2ac8e149747acd090b4a 100644 (file)
@@ -1,27 +1,24 @@
-# Moved here by rgheck. Original author cloudy.
+# Moved here by rikiheck. Original author cloudy.
 
-Format 29
+Format 100
 
 #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