texlive[41732] Master/texmf-dist: sepfootnotes (19jul16)

commits+karl at tug.org commits+karl at tug.org
Wed Jul 20 00:26:36 CEST 2016


Revision: 41732
          http://tug.org/svn/texlive?view=revision&revision=41732
Author:   karl
Date:     2016-07-20 00:26:36 +0200 (Wed, 20 Jul 2016)
Log Message:
-----------
sepfootnotes (19jul16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/sepfootnotes/README
    trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf
    trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex
    trunk/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty

Modified: trunk/Master/texmf-dist/doc/latex/sepfootnotes/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sepfootnotes/README	2016-07-19 22:26:24 UTC (rev 41731)
+++ trunk/Master/texmf-dist/doc/latex/sepfootnotes/README	2016-07-19 22:26:36 UTC (rev 41732)
@@ -5,6 +5,9 @@
 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 @@
 *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

Modified: trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex	2016-07-19 22:26:24 UTC (rev 41731)
+++ trunk/Master/texmf-dist/doc/latex/sepfootnotes/sepfootnotes.tex	2016-07-19 22:26:36 UTC (rev 41732)
@@ -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 at phi.pro.br}}
 \maketitle
 
@@ -276,6 +276,7 @@
 \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}

Modified: trunk/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty	2016-07-19 22:26:24 UTC (rev 41731)
+++ trunk/Master/texmf-dist/tex/latex/sepfootnotes/sepfootnotes.sty	2016-07-19 22:26:36 UTC (rev 41732)
@@ -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,8 +10,8 @@
 %% 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 at packagename{sepfootnotes}
 
@@ -18,10 +18,12 @@
 \DeclareOption {quiet}             {\sep at opt@quiettrue}
 \DeclareOption {warn}              {\sep at opt@warntrue}
 \DeclareOption {error}             {\sep at opt@errortrue}
+\DeclareOption {global}            {\sep at opt@globaltrue}
 
 \newif \ifsep at opt@quiet
 \newif \ifsep at opt@warn
 \newif \ifsep at opt@error
+\newif \ifsep at opt@global
 
 \sep at opt@warntrue
 
@@ -131,7 +133,7 @@
 
 \newcommand\sep at namedef [3]
 {\@ifundefined{sepfootnotes at text@#1@#2}
- {\@namedef{sepfootnotes at text@#1@#2}{#3}}
+ {\ifsep at opt@global\global\fi\@namedef{sepfootnotes at text@#1@#2}{#3}}
  {\ifsep at opt@error
    \PackageError   {\sep at packagename} {`#2' is already in use}
                                       {`#2' is already in use.\MessageBreak
@@ -142,7 +144,7 @@
    \PackageWarning {\sep at packagename} {`#2' is already in use}
   \fi}}
 
-\newcommand\sep at namereplace  [3] {\@namedef{sepfootnotes at text@#1@#2}{#3}}
+\newcommand\sep at namereplace  [3] {\ifsep at opt@global\global\fi\@namedef{sepfootnotes at text@#1@#2}{#3}}
 
 % ---------------------------------- marks ------------------------------------
 



More information about the tex-live-commits mailing list