Author: baum
Date: Sat May 14 12:13:17 2011
New Revision: 38752
URL: http://www.lyx.org/trac/changeset/38752
Log:
babel knows \proofname already (bug #7513)
Modified:
lyx-devel/trunk/lib/layouts/theorems-bytype.module
lyx-devel/trunk/lib/layouts/theorems-proof-std.inc
Modified: lyx-devel/trunk/lib/layouts/theorems-bytype.module
==============================================================================
--- lyx-devel/trunk/lib/layouts/theorems-bytype.module Sat May 14 11:26:47
2011 (r38751)
+++ lyx-devel/trunk/lib/layouts/theorems-bytype.module Sat May 14 12:13:17
2011 (r38752)
@@ -59,4 +59,5 @@
\providecommand{\proofname}{Proof}
\fi
EndPreamble
+# No LangPreamble or BabelPreamble, since babel knows \proofname already.
End
Modified: lyx-devel/trunk/lib/layouts/theorems-proof-std.inc
==============================================================================
--- lyx-devel/trunk/lib/layouts/theorems-proof-std.inc Sat May 14 11:26:47
2011 (r38751)
+++ lyx-devel/trunk/lib/layouts/theorems-proof-std.inc Sat May 14 12:13:17
2011 (r38752)
@@ -16,12 +16,8 @@
}{%
\endtrivlist\@endpefalse
}
+ \providecommand{\proofname}{Proof}
\fi
EndPreamble
- LangPreamble
- \providecommand{\proofname}{_(Proof)}
- EndLangPreamble
- BabelPreamble
- \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
- EndBabelPreamble
+# No LangPreamble or BabelPreamble, since babel knows \proofname already.
End