From 93e82ea563c28fc1c4e088ba361e2f1158663042 Mon Sep 17 00:00:00 2001 From: mdw Date: Fri, 5 Sep 2003 16:13:44 +0000 Subject: [PATCH] Define `note' conditionally, to avoid clashes with `mdwthm' among others. --- mdwlist.dtx | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/mdwlist.dtx b/mdwlist.dtx index f93ef07..9fb252d 100644 --- a/mdwlist.dtx +++ b/mdwlist.dtx @@ -1,6 +1,6 @@ % \begin{meta-comment} % -% $Id: mdwlist.dtx,v 1.1 2002/02/03 20:49:03 mdw Exp $ +% $Id: mdwlist.dtx,v 1.2 2003/09/05 16:13:44 mdw Exp $ % % Various list-related things % @@ -9,6 +9,9 @@ %----- Revision history ----------------------------------------------------- % % $Log: mdwlist.dtx,v $ +% Revision 1.2 2003/09/05 16:13:44 mdw +% Define `note' conditionally, to avoid clashes with `mdwthm' among others. +% % Revision 1.1 2002/02/03 20:49:03 mdw % Checkin for new build system. % @@ -45,7 +48,7 @@ %<+package> [1996/05/02 1.1 Various list-related things] % \end{meta-comment} % -% \CheckSum{179} +% \CheckSum{183} %% \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 @@ -562,15 +565,17 @@ % \end{itemize} % % \begin{macrocode} -\def\note{\@ifnextchar[\note@i{\note@i[Note]}} -\def\note@i[#1]{% - \basedescript{% - \sbox\z@{\makelabel{#1}}% - \desclabelwidth{\wd\z@}% - }% - \item[\box\z@]% -} -\let\endnote\endbasedescript +\ifx\note\@@undefined + \def\note{\@ifnextchar[\note@i{\note@i[Note]}} + \def\note@i[#1]{% + \basedescript{% + \sbox\z@{\makelabel{#1}}% + \desclabelwidth{\wd\z@}% + }% + \item[\box\z@]% + } + \let\endnote\endbasedescript +\fi % \end{macrocode} % % \end{environment} -- 2.11.0