diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-29 23:29:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-29 23:29:37 +0000 |
commit | 7834a406e57884d81955bed3090cb531c06c4f5e (patch) | |
tree | c30a08eb4ae79f3e6234d7b663b65ebc927308ef /Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty | |
parent | 6710245505a37a2486131883cd5449dfde29a730 (diff) |
fixmetodonotes (29apr13)
git-svn-id: svn://tug.org/texlive/trunk@30168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty b/Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty index 8a7f8592a21..f8c832e8d9d 100644 --- a/Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty +++ b/Master/texmf-dist/tex/latex/fixmetodonotes/fixmetodonotes.sty @@ -20,7 +20,7 @@ %% for more details. %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fixmetodonotes}[2012/09/17 v0.2.1] +\ProvidesPackage{fixmetodonotes}[2013/04/28 v0.2.2] \newif\if@NOTES@enabled \@NOTES@enabledtrue @@ -43,11 +43,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} @@ -76,9 +74,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]{% |