summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/parnotes
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-06-13 03:02:38 +0000
committerNorbert Preining <norbert@preining.info>2024-06-13 03:02:38 +0000
commit9d6310511fbe14538d7683ae5f1cd06d25d0a01f (patch)
treebea7e4f1ba27a806ab4308b0244d26a7298bf3fc /macros/latex/contrib/parnotes
parentad5007dc1c1c124149a103c71c46d6cba5338455 (diff)
CTAN sync 202406130302
Diffstat (limited to 'macros/latex/contrib/parnotes')
-rw-r--r--macros/latex/contrib/parnotes/CHANGELOG-from-2016.md17
-rw-r--r--macros/latex/contrib/parnotes/README.md21
-rw-r--r--macros/latex/contrib/parnotes/changes.txt14
-rw-r--r--macros/latex/contrib/parnotes/parnotes.pdfbin57719 -> 57764 bytes
-rw-r--r--macros/latex/contrib/parnotes/parnotes.sty27
-rw-r--r--macros/latex/contrib/parnotes/parnotes.tex8
6 files changed, 69 insertions, 18 deletions
diff --git a/macros/latex/contrib/parnotes/CHANGELOG-from-2016.md b/macros/latex/contrib/parnotes/CHANGELOG-from-2016.md
new file mode 100644
index 0000000000..001252dd0c
--- /dev/null
+++ b/macros/latex/contrib/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/macros/latex/contrib/parnotes/README.md b/macros/latex/contrib/parnotes/README.md
index 6041f64a23..d5391ca900 100644
--- a/macros/latex/contrib/parnotes/README.md
+++ b/macros/latex/contrib/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/macros/latex/contrib/parnotes/changes.txt b/macros/latex/contrib/parnotes/changes.txt
new file mode 100644
index 0000000000..4944f60d82
--- /dev/null
+++ b/macros/latex/contrib/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/macros/latex/contrib/parnotes/parnotes.pdf b/macros/latex/contrib/parnotes/parnotes.pdf
index 6a017d2964..bf105fad4a 100644
--- a/macros/latex/contrib/parnotes/parnotes.pdf
+++ b/macros/latex/contrib/parnotes/parnotes.pdf
Binary files differ
diff --git a/macros/latex/contrib/parnotes/parnotes.sty b/macros/latex/contrib/parnotes/parnotes.sty
index 65ed470461..d3d7eb8c64 100644
--- a/macros/latex/contrib/parnotes/parnotes.sty
+++ b/macros/latex/contrib/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
diff --git a/macros/latex/contrib/parnotes/parnotes.tex b/macros/latex/contrib/parnotes/parnotes.tex
index 662dc1aa62..f6d64dab55 100644
--- a/macros/latex/contrib/parnotes/parnotes.tex
+++ b/macros/latex/contrib/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}.