summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-06-12 20:27:06 +0000
committerKarl Berry <karl@freefriends.org>2024-06-12 20:27:06 +0000
commit8fa9d0daff55c97beeb8ea53ffc78280b11dc57a (patch)
treeadae5e62f1ed2ac294a624807f06242c10095cc6
parentbc5b65ef5ca1b865ec4e48dce27b04608ca6e78d (diff)
parnotes (12jun24)
git-svn-id: svn://tug.org/texlive/trunk@71505 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/CHANGELOG-from-2016.md17
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/README.md21
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/changes.txt14
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/parnotes.pdfbin57719 -> 57764 bytes
-rw-r--r--Master/texmf-dist/doc/latex/parnotes/parnotes.tex8
-rw-r--r--Master/texmf-dist/tex/latex/parnotes/parnotes.sty27
6 files changed, 69 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/parnotes/CHANGELOG-from-2016.md b/Master/texmf-dist/doc/latex/parnotes/CHANGELOG-from-2016.md
new file mode 100644
index 00000000000..001252dd0c9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/parnotes/CHANGELOG-from-2016.md
@@ -0,0 +1,17 @@
+**Revision 3: Released on Aug 15 2016**
+ * Bug fix: Use `\protected@edef` to expand the parnote counter (fixes incompatibility with `BiocStyle`)
+
+**Revision 2: Released on Jul 26 2016**
+ * **Breaking change:** You can no longer redefine `\parnotemarkfmt`. Use `\theparnotemark` and `\parnotecusmarkfmt` instead. See the manual for details.
+ * Bug fix: `\parnotefmt` no longer changes the font to `\rmfamily` by default.
+ * `\parnote` now has an optional argument: a manually-specified parnote mark.
+ * `\parnote` now behaves more like `\footnote`:
+ * It respects `\spacefactor`
+ * It no longer inserts `\unskip`
+ * The parnote mark counter may be reset using standard LaTeX macros, e.g., `\setcounter{parnotemark}{5}`
+ * `\label` now works within parnote text; `\ref` returns the parnote label, `\pageref` returns the page where the note *text* is set, and `\parnoteref` returns the parnote label formatted as a mark.
+ * Implemented the system for separators between multiple footnotes from `footmisc` and `manyfoot` and added package option `nomultiple` to disable.
+ * Internal: The package now uses a single counter (`\c@parnotemark`) for marks.
+
+**Revision 1: Released on Jan 3 2012**
+ * Initial release
diff --git a/Master/texmf-dist/doc/latex/parnotes/README.md b/Master/texmf-dist/doc/latex/parnotes/README.md
index 6041f64a23f..d5391ca9003 100644
--- a/Master/texmf-dist/doc/latex/parnotes/README.md
+++ b/Master/texmf-dist/doc/latex/parnotes/README.md
@@ -1,6 +1,5 @@
parnotes
========
-rev.3b (see notes below)
The parnotes package adds a new note type, `\parnote`. Parnotes are set as normal, running paragraphs and may be placed two ways: (1) automatically, at the end of the paragraph, or (2) manually, using the `\parnotes` command.
@@ -18,7 +17,7 @@ For more details, read the project documentation in `parnotes.pdf`.
Contributing
------------
-The development repository and the bug tracker for this package are hosted [on GitHub](https://github.com/chelh/LaTeX-parnotes) but see notes below.
+The development repository and the bug tracker were originally hosted [on GitHub](https://github.com/chelh/LaTeX-parnotes) but no longer maintained there.
License
-------
@@ -36,15 +35,17 @@ Current Status
--------------
The package appears to to be unmainted, i.e. the above address exists
-but is not monitored and the original author is not reachable.
+but is not monitored and the original author is no longer reachable.
+There have been small changes and corrections by Frank Mittelbach, see
+changes.txt for details.
-Small extensions in 2019 by Frank Mittelbach:
-
- - option `reset` (alias for restart to match other packages)
- - option `alph` (for alph style notes instead of arabic)
- - option `symbol` (for fnsymbol style notes)
-
-The documentation has been changed use freely available fonts so that it
+The documentation has been changed to use freely available fonts so that it
can be typeset by everybody (the previsous release used commercial fonts).
+The current version is hosted at
+https://github.com/FrankMittelbach/fmitex-parnotes and while you can
+add issues there I'm not promising that I look at them in a timely
+manner, i.e., the package is still in search of a new maintainer and
+I'm just jumped in temporarily.
+
diff --git a/Master/texmf-dist/doc/latex/parnotes/changes.txt b/Master/texmf-dist/doc/latex/parnotes/changes.txt
new file mode 100644
index 00000000000..4944f60d823
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/parnotes/changes.txt
@@ -0,0 +1,14 @@
+2024-06-12 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
+
+ * parnotes.sty:
+ Do not predefine \theparnotemark unless we are in an older LaTeX
+ format, because this is done by \newcounter and would generate an
+ unnecessary warning.
+
+2019-07-23 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
+
+ * parnotes.sty:
+ - option `reset` (alias for restart to match other packages)
+ - option `alph` (for alph style notes instead of arabic)
+ - option `symbol` (for fnsymbol style notes)
+
diff --git a/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf b/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf
index 6a017d29640..bf105fad4a8 100644
--- a/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf
+++ b/Master/texmf-dist/doc/latex/parnotes/parnotes.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
index 662dc1aa628..f6d64dab55b 100644
--- a/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
+++ b/Master/texmf-dist/doc/latex/parnotes/parnotes.tex
@@ -53,9 +53,9 @@
\usepackage{booktabs}
\usepackage{microtype}
-\title{The \textsf{parnotes} package\parnote{This is rev.~3b, last modified 2019/07/23.}}
+\title{The \textsf{parnotes} package\parnote{This is rev.~3c, last modified 2024/06/12.}}
\author{Chelsea Hughes\parnote{See \texttt{parnotes.sty} for copyright details. The package has currently no maintainer.}}
-\date{July 23, 2019}
+\date{June 12, 2024}
\renewcommand{\parnotefmt}[1]{\centerline{\colorbox{black!10}{\parbox{0.82\textwidth}{\footnotesize\sffamily\noindent #1}}}}
@@ -205,6 +205,10 @@ instead, \verb+\narrower+ must be placed manually within the new definition for
\section{Changelog}
{\raggedright
+\noindent\textbf{Revision 3c, released on June 12, 2024 (Frank Mittelbach)}
+\begin{itemize}
+\item Avoid an unnecessary warning about \verb=\theparnotemark=
+\end{itemize}
\noindent\textbf{Revision 3b, released on July 23, 2019 (Frank Mittelbach)}
\begin{itemize}
\item Added options \texttt{reset}, \texttt{alph} and \texttt{symbol}.
diff --git a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty
index 65ed4704610..d3d7eb8c641 100644
--- a/Master/texmf-dist/tex/latex/parnotes/parnotes.sty
+++ b/Master/texmf-dist/tex/latex/parnotes/parnotes.sty
@@ -1,6 +1,7 @@
% The parnotes package
% Notes after every paragraph, or elsewhere
% Copyright (c) 2016 Chelsea Hughes
+% Copyright (c) 2019,2024 Frank Mittelbach
%
% This work is distributed under the LaTeX Project Public License,
% version 1.3 or later, available at
@@ -18,14 +19,18 @@
%
% The package is currently unmainted, i.e. the above address exists but is not monitored
%
-% Small extensions in 2019 by Frank Mittelbach:
+% Small extensions by Frank Mittelbach, see changes.txt for details
+%
+
+% You might file issues on my Github repo for the package, but I do
+% not actively maintain that package (unless I think something is a
+% very serious bug), so a new maintainer is welcome
+%
+% https://github.com/FrankMittelbach/fmitex-parnotes
%
-% option reset (alias for restart to match other packages)
-% option alph (for alph style notes instead of arabic)
-% option symbol (for fnsymbol style notes)
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{parnotes}[2019/07/23 rev. 3b Notes after every paragraph, or elsewhere]
+\ProvidesPackage{parnotes}[2024/06/12 rev. 3c Notes after every paragraph, or elsewhere]
%
% These are the user-modifiable format commands
@@ -34,12 +39,18 @@
% Format for parnotes - \PN@notes@shape is blank (\relax) by default
\providecommand{\parnotefmt}[1]{\footnotesize%
\PN@notes@shape\PN@narrower@optional\noindent #1}
+
% Number format (arabic, roman, etc.) for the parnote mark counter
-\providecommand{\theparnotemark}{\arabic{parnotemark}}
+%% FMi: will be set by \newcounter
+%\providecommand{\theparnotemark}{\arabic{parnotemark}}
+%% FMi -- end
+
% Minimum vertical space before and after parnotes
\providecommand{\parnotevskip}{\medskipamount}
+
% Full command used between parnotes
\providecommand{\parnoteintercmd}{\hspace{1em plus 0.3em minus 0.2em}}
+
% Basic formatting for parnote marks
\providecommand{\parnotecusmarkfmt}[1]{\textsuperscript{#1}}
@@ -52,6 +63,10 @@
\global\def\PN@text{}
% Counter for parnote marks
\newcounter{parnotemark}
+%% FMi: in case this package is used with an old LaTeX format
+\providecommand{\theparnotemark}{\arabic{parnotemark}}
+%% FMi -- end
+
% autopn environment name
\def\@PN@autopn{autopn}
% True if currently setting parnotes