summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-19 22:26:36 +0000
committerKarl Berry <karl@freefriends.org>2016-07-19 22:26:36 +0000
commita7b0fb2a644294f319814d2646e4b80d810dc979 (patch)
treec9e51cdcbf81cf5d6d0e4d3790e0b3d8e4689597 /Master/texmf-dist
parent7d8dd653ee56f462798fe27df3eea8321846fb27 (diff)
sepfootnotes (19jul16)
git-svn-id: svn://tug.org/texlive/trunk@41732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/sepfootnotes/README5
-rw-r--r--Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdfbin217556 -> 218406 bytes
-rw-r--r--Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex9
-rw-r--r--Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty12
4 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/sepfootnotes/README b/Master/texmf-dist/doc/latex/sepfootnotes/README
index c34af5dfa99..e0f9ac9aacc 100644
--- a/Master/texmf-dist/doc/latex/sepfootnotes/README
+++ b/Master/texmf-dist/doc/latex/sepfootnotes/README
@@ -5,6 +5,9 @@ This package supports footnotes and endnotes from separate files. This is
achieved with commands \sepfootnotecontent and \sepfootnote; the former defines
the content of a note, while the latter typesets that note.
+2016/07/18 v0.3c
+ * Package options Note definitions may take global scope
+
2014/07/22 v0.3b
* Documentation Minor formatting changes to page 4
@@ -38,7 +41,7 @@ Usage:
*See sepfootnotes.pdf
--------------------------------------------------------------------------------
-Copyright (C) 2013, 2014 Eduardo C. Lourenço de Lima
+Copyright (C) 2013-2016 Eduardo C. Lourenço de Lima
This material is subject to the LaTeX Project Public License. See
http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
diff --git a/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf b/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf
index 2f566238d65..0cb449cb218 100644
--- a/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf
+++ b/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex b/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex
index 414058c91bd..4000f00fad0 100644
--- a/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex
+++ b/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex
@@ -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
@@ -44,11 +44,11 @@
{\begin{center}\begin{minipage}[t]{0.5\linewidth}}
{\end{minipage}\end{center}}
\newcommand\TODO{\texttt{Todo:}}
-\newcommand\fileversion{0.3b}
-\newcommand\filedate{July 22, 2014}
+\newcommand\fileversion{0.3c}
+\newcommand\filedate{July 18, 2016}
\begin{document}
\title{The \textsf{\color{myblue} sepfootnotes} package,\thanks{This document corresponds to \textsf{sepfootnotes}~\fileversion, dated~\filedate.
-I am grateful to Michael Sellhoff and Sam Foster for their valuable feedback on \texttt{sepfootnotes}, and to Dan Luecking for the basic idea implemented in this package.}\\{or a footnote to Plato}}
+I am grateful to Michael Sellhoff, Sam Foster, Mats, and David Carlisle for their valuable feedback on \texttt{sepfootnotes} and to Dan Luecking for the basic idea implemented in this package.}\\{or a footnote to Plato}}
\author{Eduardo C. Louren\c{c}o de Lima \\ \texttt{elourenco@phi.pro.br}}
\maketitle
@@ -276,6 +276,7 @@ Default:\footnote{Adapted from the \texttt{endnotes} package.}
\item[|warn|] Print warning messages. (Default.)
\item[|error|] Print warning messages, halt, and wait for user input.
\item[|quiet|] Suppress warning and error messages.
+\item[|global|] Notes defined within environments and groups take global scope and become available throughout, as if they were defined in the preamble.
\end{list}
\section{Examples}
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 ------------------------------------