]> git.lyx.org Git - lyx.git/commitdiff
Last of the math translations.
authorRichard Heck <rgheck@comcast.net>
Wed, 6 Apr 2011 12:47:28 +0000 (12:47 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 6 Apr 2011 12:47:28 +0000 (12:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38292 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/theorems-named.module

index 52bcb77238552698c0b329ed0110ae3aa754f275..6dbdc899104c8386bd01e6d96493548b7ff5211a 100644 (file)
@@ -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}