From: Richard Heck Date: Wed, 6 Apr 2011 12:47:28 +0000 (+0000) Subject: Last of the math translations. X-Git-Tag: 2.0.0~201 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=62b33b369e686bc9d1d7e961f6de8844e3e5f1ce;p=features.git Last of the math translations. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38292 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/theorems-named.module b/lib/layouts/theorems-named.module index 52bcb77238..6dbdc89910 100644 --- a/lib/layouts/theorems-named.module +++ b/lib/layouts/theorems-named.module @@ -17,7 +17,7 @@ Style "Named Theorem" \newcommand\thmsname{Theorem} \newcommand\nm@thmtype{theorem} \theoremstyle{plain} - \newtheorem*{namedtheorem}{\thmsname} + \newtheorem*{namedtheorem}{\protect\theoremname} \newenvironment{namedthm}[1][Undefined Theorem Name]{ \ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*} \else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}