From 6c8117560625549a95d0a41985b2416e2c00cbb0 Mon Sep 17 00:00:00 2001 From: mdw Date: Sun, 24 Feb 2002 12:35:55 +0000 Subject: [PATCH] Fix handling of \chapter, in case some idiot has said `\csname chapter\endcsname'. --- mdwthm.dtx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/mdwthm.dtx b/mdwthm.dtx index f4a17d2..ccbcb73 100644 --- a/mdwthm.dtx +++ b/mdwthm.dtx @@ -1,6 +1,6 @@ % \begin{meta-comment} % -% $Id: mdwthm.dtx,v 1.1 2002/02/03 20:49:03 mdw Exp $ +% $Id: mdwthm.dtx,v 1.2 2002/02/24 12:35:55 mdw Exp $ % % Standard theorem typesetting % @@ -9,6 +9,10 @@ %----- Revision history ----------------------------------------------------- % % $Log: mdwthm.dtx,v $ +% Revision 1.2 2002/02/24 12:35:55 mdw +% Fix handling of \chapter, in case some idiot has said `\csname +% chapter\endcsname'. +% % Revision 1.1 2002/02/03 20:49:03 mdw % Checkin for new build system. % @@ -43,7 +47,7 @@ %<+thmstyle> [2001/09/16 1.0 numbers-in-the-margin theorem style] % \end{meta-comment} % -% \CheckSum{140} +% \CheckSum{145} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -135,6 +139,7 @@ \@tempswatrue% \ifx\if@article\iftrue\@tempswafalse\fi \ifx\chapter\@@undefined\@tempswafalse\fi +\ifx\chapter\relax\@tempswafalse\fi \if@tempswa\toks@\expandafter{\the\toks@[chapter]}\fi \the\toks@ \newtheorem*{theorem*}{Theorem} -- 2.11.0