diff options
author | Karl Berry <karl@freefriends.org> | 2016-07-19 22:26:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-07-19 22:26:36 +0000 |
commit | a7b0fb2a644294f319814d2646e4b80d810dc979 (patch) | |
tree | c9e51cdcbf81cf5d6d0e4d3790e0b3d8e4689597 /Master/texmf-dist/tex/latex/sepfootnotes | |
parent | 7d8dd653ee56f462798fe27df3eea8321846fb27 (diff) |
sepfootnotes (19jul16)
git-svn-id: svn://tug.org/texlive/trunk@41732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sepfootnotes')
-rw-r--r-- | Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty b/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty index 1463db5c9a9..d953d300226 100644 --- a/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty +++ b/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty @@ -1,4 +1,4 @@ -%% Copyright (C) 2013, 2014 Eduardo C. Lourenço de Lima +%% Copyright (C) 2013-2016 Eduardo C. Lourenço de Lima %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -10,18 +10,20 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% -\NeedsTeXFormat{LaTeX2e}[1996/06/01] -\ProvidesPackage{sepfootnotes}[2014/07/22 v0.3b Footnotes in separate file] +\NeedsTeXFormat {LaTeX2e} [1996/06/01] +\ProvidesPackage {sepfootnotes} [2016/07/18 v0.3c Footnotes in separate file] \newcommand\sep@packagename{sepfootnotes} \DeclareOption {quiet} {\sep@opt@quiettrue} \DeclareOption {warn} {\sep@opt@warntrue} \DeclareOption {error} {\sep@opt@errortrue} +\DeclareOption {global} {\sep@opt@globaltrue} \newif \ifsep@opt@quiet \newif \ifsep@opt@warn \newif \ifsep@opt@error +\newif \ifsep@opt@global \sep@opt@warntrue @@ -131,7 +133,7 @@ \newcommand\sep@namedef [3] {\@ifundefined{sepfootnotes@text@#1@#2} - {\@namedef{sepfootnotes@text@#1@#2}{#3}} + {\ifsep@opt@global\global\fi\@namedef{sepfootnotes@text@#1@#2}{#3}} {\ifsep@opt@error \PackageError {\sep@packagename} {`#2' is already in use} {`#2' is already in use.\MessageBreak @@ -142,7 +144,7 @@ \PackageWarning {\sep@packagename} {`#2' is already in use} \fi}} -\newcommand\sep@namereplace [3] {\@namedef{sepfootnotes@text@#1@#2}{#3}} +\newcommand\sep@namereplace [3] {\ifsep@opt@global\global\fi\@namedef{sepfootnotes@text@#1@#2}{#3}} % ---------------------------------- marks ------------------------------------ |