diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx b/Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx index bd0942ec48a..b41a1b6e060 100644 --- a/Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx +++ b/Master/texmf-dist/source/latex/fixmetodonotes/fixmetodonotes.dtx @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fixmetodonotes}[2012/09/17 v0.2.1] +\ProvidesPackage{fixmetodonotes}[2013/04/28 v0.2.2] \newif\if@NOTES@enabled \@NOTES@enabledtrue @@ -24,11 +24,9 @@ \RequirePackage[titles]{tocloft} \newcommand{\listnotesname}{List of notes} -\newlistof{note}{notes}{\listnotesname} +\newlistof{NOTES@note}{notes}{\listnotesname} -\if@NOTES@enabled\else - \renewcommand{\listofnote}{} -\fi +\newcommand{\listofnotes}{\if@NOTES@enabled\listofNOTES@note\fi} \newcommand{\@HUGE}{\fontsize{100}{120}\selectfont} \newcommand{\@wmstyle}{\color{red}\transparent{0.1}\@HUGE} @@ -58,9 +56,9 @@ \newcommand{\NOTES@usemarker}[2]{\csname NOTES@#1marker\endcsname{#2}{red}} \newcommand{\NOTES@addtolist}[2]{% - \refstepcounter{note}% + \refstepcounter{NOTES@note}% \phantomsection% - \addcontentsline{notes}{note}{\protect\numberline{\thenote}{{#1}: {#2}}}% + \addcontentsline{notes}{NOTES@note}{\protect\numberline{\theNOTES@note}{{#1}: {#2}}}% } \newcommand{\NOTES@defnoteimpl}[4]{% |