X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/86f6a31e4b41acb71ba37f3838a9ce75f7743330..af8af7ebae9718c35b8661bfdef3b4e2af56144d:/mdwlist.dtx diff --git a/mdwlist.dtx b/mdwlist.dtx index f93ef07..3102560 100644 --- a/mdwlist.dtx +++ b/mdwlist.dtx @@ -1,27 +1,7 @@ -% \begin{meta-comment} -% -% $Id: mdwlist.dtx,v 1.1 2002/02/03 20:49:03 mdw Exp $ -% -% Various list-related things -% -% (c) 1996 Mark Wooding -% -%----- Revision history ----------------------------------------------------- -% -% $Log: mdwlist.dtx,v $ -% Revision 1.1 2002/02/03 20:49:03 mdw -% Checkin for new build system. -% -% Revision 1.1 1996/11/19 20:52:26 mdw -% Initial revision -% -% -% \end{meta-comment} -% % \begin{meta-comment} %% %% mdwlist package -- various list-related things -%% Copyright (c) 1996 Mark Wooding +%% Copyright (c) 1996, 2002, 2003 Mark Wooding %% %% This program is free software; you can redistribute it and/or modify %% it under the terms of the GNU General Public License as published by @@ -42,10 +22,10 @@ % \begin{meta-comment} %<+package>\NeedsTeXFormat{LaTeX2e} %<+package>\ProvidesPackage{mdwlist} -%<+package> [1996/05/02 1.1 Various list-related things] +%<+package> [2020/09/06 1.14.0 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 +542,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}