From b3ca5850ee3f6502c511286b6a9b2a07baaaf89f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sat, 14 May 2011 10:13:17 +0000 Subject: [PATCH] babel knows \proofname already (bug #7513) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38752 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/theorems-bytype.module | 1 + lib/layouts/theorems-proof-std.inc | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/layouts/theorems-bytype.module b/lib/layouts/theorems-bytype.module index 9188dfe4b2..8301174b7c 100644 --- a/lib/layouts/theorems-bytype.module +++ b/lib/layouts/theorems-bytype.module @@ -59,4 +59,5 @@ Style Proof \providecommand{\proofname}{Proof} \fi EndPreamble +# No LangPreamble or BabelPreamble, since babel knows \proofname already. End diff --git a/lib/layouts/theorems-proof-std.inc b/lib/layouts/theorems-proof-std.inc index 1e44f9e249..15cd7bf8d2 100644 --- a/lib/layouts/theorems-proof-std.inc +++ b/lib/layouts/theorems-proof-std.inc @@ -16,12 +16,8 @@ Style Proof }{% \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 -- 2.39.5